gpt2-urdu-smallest / README.md
hadidev's picture
Update README.md
2904178
---
tags:
- generated_from_keras_callback
model-index:
- name: gpt2-urdu-smallest
results: []
---
<!-- This model card has been generated automatically according to the information Keras had access to. You should
probably proofread and complete it, then remove this comment. -->
# gpt2-urdu-smallest
This model was trained from scratch on an unknown dataset.
It achieves the following results on the evaluation set:
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- optimizer: None
- training_precision: float32
### Training results
### Framework versions
- Transformers 4.21.1
- TensorFlow 2.8.2
- Datasets 2.4.0
- Tokenizers 0.12.1
### How to use it?
from transformers import pipeline
generator = pipeline('text-generation', model='hadidev/gpt2-urdu-smallest')
generator("میرے بھائی", max_length=256, num_beams = 3,
temperature = 0.7,
no_repeat_ngram_size=2,
num_return_sequences=1)