Downloads · 30 days
19
12% of all-time downloads
agnivamaiti/NagaLLaMA-3.2-3B-Instruct-Merged
NagaLLaMA-3.2-3B-Instruct-Merged is a text generation model from agnivamaiti. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
NagaLLaMA-3.2-3B-Instruct-Merged is the standalone, merged version of the NagaLLaMA-3.2-3B-Instruct LoRA adapter. It combines the fine-tuned Nagamese weights directly with the Llama-3.2-3B-Instruct base model.
Downloads · 30 days
19
12% of all-time downloads
All-time downloads
160
Public
Parameters
3.2B
6.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
NagaLLaMA-3.2-3B-Instruct-Merged is the standalone, merged version of the NagaLLaMA-3.2-3B-Instruct LoRA adapter. It combines the fine-tuned Nagamese weights directly with the Llama-3.2-3B-Instruct base model.
This model is optimized for easier deployment (e.g., vLLM, TGI, or GGUF conversion) as it does not require loading adapters separately. It serves as a general-purpose instruction-following assistant for the Nagamese language (Naga Pidgin/Creole).
nag)The model was trained on the NagaNLP Conversational Corpus, which contains 10,021 Nagamese instruction-following pairs.
Data Splitting:
This model corresponds to the final checkpoint trained on 100% of the available training split.
This model is intended for:
Since this is a merged model, you do not need peft. You can load it directly with transformers.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "agnivamaiti/NagaLLaMA-3.2-3B-Instruct-Merged"
# Load Model
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_id)
# Inference
prompt = "Machine Learning ki ase aru kote use hoi?"
messages = [
{"role": "user", "content": prompt},
]
# Apply chat template
input_text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(input_text, return_tensors="pt").to("cuda")
outputs = model.generate(
**inputs,
max_new_tokens=150,
do_sample=True,
temperature=0.3,
top_k=15,
top_p=0.3,
repetition_penalty=1.2,
eos_token_id=tokenizer.eos_token_id,
pad_token_id=tokenizer.pad_token_id
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))