Instructions to use KGan31/Doha-Gen-Stage2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KGan31/Doha-Gen-Stage2 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("KGan31/Doha-Gen-Stage2") model = AutoModelForSeq2SeqLM.from_pretrained("KGan31/Doha-Gen-Stage2") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: KGan31/Doha-Gen | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: Doha-Gen-Stage2 | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # Doha-Gen-Stage2 | |
| This model is a fine-tuned version of [KGan31/Doha-Gen](https://huggingface.co/KGan31/Doha-Gen) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.4216 | |
| ## 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: | |
| - learning_rate: 5e-05 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 2 | |
| - total_train_batch_size: 16 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: linear | |
| - num_epochs: 5 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:----:|:---------------:| | |
| | 3.1539 | 1.0 | 469 | 1.4882 | | |
| | 3.0858 | 2.0 | 938 | 1.4550 | | |
| | 2.9968 | 3.0 | 1407 | 1.4354 | | |
| | 2.9461 | 4.0 | 1876 | 1.4252 | | |
| | 2.9195 | 5.0 | 2345 | 1.4216 | | |
| ### Framework versions | |
| - Transformers 5.0.0 | |
| - Pytorch 2.10.0+cu128 | |
| - Datasets 4.8.3 | |
| - Tokenizers 0.22.2 | |