Instructions to use appdeveloper512/urdu-llm-v7-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use appdeveloper512/urdu-llm-v7-checkpoints with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("appdeveloper512/urdu-llm-v7-checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Model Card for urdu-llm-v7-checkpoints
This model is a fine-tuned version of unsloth/Llama-3.2-3B-Instruct-bnb-4bit. It has been trained using TRL.
Quick start
from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="appdeveloper512/urdu-llm-v7-checkpoints", device_map="auto")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
Training procedure
This model was trained with SFT.
Framework versions
- TRL: 1.15.0
- Transformers: 5.16.1
- Pytorch: 2.11.0+cu128
- Datasets: 4.8.5
- Tokenizers: 0.23.1
Citations
Cite TRL as:
@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}
}
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for appdeveloper512/urdu-llm-v7-checkpoints
Base model
meta-llama/Llama-3.2-3B-Instruct Quantized
unsloth/Llama-3.2-3B-Instruct-bnb-4bit