Files
Qwen-3-0.6-nepali-qa/README.md

62 lines
1.7 KiB
Markdown
Raw Normal View History

---
base_model: Qwen/Qwen3-0.6B-Base
library_name: transformers
model_name: trainer_output
tags:
- generated_from_trainer
- sft
- trl
licence: license
---
# Model Card for trainer_output
This model is a fine-tuned version of [Qwen/Qwen3-0.6B-Base](https://huggingface.co/Qwen/Qwen3-0.6B-Base).
It has been trained using [TRL](https://github.com/huggingface/trl).
## Quick start
```python
from transformers import pipeline
question = "नेपालको इतिहासमा मध्यकालीन अवधिका राजनीतिक, आर्थिक, सामाजिक र सांस्कृतिक परिवर्तनहरूको बारेमा संक्षिप्त वर्णन गर्नुहोस्।"
generator = pipeline("text-generation", model="praful1/nepali_qa", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
```
## Training procedure
trained on praful1/NepaliQA-qa2 with completion only loss
this was trained for few minutes so it is not that good on free colab gpu
This model was trained with SFT.
### Framework versions
- TRL: 1.9.2
- Transformers: 5.13.1
- Pytorch: 2.11.0+cu128
- Datasets: 5.0.1
- Tokenizers: 0.22.2
## Citations
Cite TRL as:
```bibtex
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}
```