File size: 1,138 Bytes
c7d92f7 a3f3711 c7d92f7 2904178 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
---
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)
|