Downloads · 30 days
9
12% of all-time downloads
rogersam/tinyllama-instruct-lite-v1
tinyllama-instruct-lite-v1 is a text generation model from rogersam. Use it when you need the model to write or continue text. It is set up for peft.
rogersam/tinyllama-instruct-lite-v1 is a LoRA fine-tuned TinyLlama model using Unsloth. It is designed for instruction-following tasks in English + Tamil, such as: - General Q&A - Summarization - Basic math & reasonin…
Downloads · 30 days
9
12% of all-time downloads
All-time downloads
78
Public
Repo size
6.7 MB
Likes
1
Public
Click a slice to open those files.
.safetensors6.1 MB · 60%
From the Hugging Face model README
rogersam/tinyllama-instruct-lite-v1 is a LoRA fine-tuned TinyLlama model using Unsloth.
It is designed for instruction-following tasks in English + Tamil, such as:
This project demonstrates how a lightweight 1B model can be adapted for multiple domains with limited resources.
unsloth/tinyllama-bnb-4bitRecommendation: Use for demo & educational purposes only.
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
model_id = "rogersam/tinyllama-instruct-lite-v1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
prompt = "Translate English to Tamil: How are you?"
print(pipe(prompt, max_new_tokens=50)[0]["generated_text"])