🌟 RIFA-Nano

Created by SM Shahbaj


📖 About

RIFA-Nano is a carefully fine-tuned language model developed by SM Shahbaj.
It belongs to the RIFA model family — designed for helpful, clear, and identity-consistent responses in both English and Bangla.

Property Value
Model Name RIFA-Nano
Parameters 0.5B
Creator SM Shahbaj
Languages English, Bangla
Type Instruction / Chat

✨ Highlights

  • Strong identity lock — always identifies as RIFA-Nano created by SM Shahbaj
  • Resistant to jailbreaks and identity override attempts
  • Native support for English + Bangla
  • Ultra-lightweight — optimized for edge devices and fast responses
  • Clean, consistent response style

📦 Available Formats (Direct Download)

Format Size Download
Merged 16-bit (Safetensors) ~0.99 GB Open Files
F16 GGUF 0.99 GB ⬇️ Download
Q8_0 GGUF 0.53 GB ⬇️ Download
Q6_K GGUF 0.51 GB ⬇️ Download
Q5_K_M GGUF 0.42 GB ⬇️ Download
Q4_K_M GGUF 0.40 GB ⬇️ Download
Q3_K_M GGUF 0.36 GB ⬇️ Download

Q5_K_M recommended for best quality / size balance.


🚀 Quick Start

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "smshahbaj/Rifa-Nano-0.5B"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, device_map="auto")

messages = [{"role": "user", "content": "Who are you?"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(out[0], skip_special_tokens=True))

GGUF (LM Studio / Ollama / llama.cpp)

  1. Click any Download link above
  2. Load the .gguf file in LM Studio, Ollama, or llama.cpp
  3. Recommended quant: Q5_K_M

🧠 Identity

This model is trained to consistently reply:

I am RIFA-Nano, an AI language model created by SM Shahbaj.

It will not claim to be Qwen, Liam, or any other base model.


👤 Creator

SM Shahbaj
Hugging Face: smshahbaj


📄 License

Apache 2.0


RIFA Model Family — Built with care by SM Shahbaj

Downloads last month
1,646
Safetensors
Model size
0.5B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for smshahbaj/Rifa-Nano-0.5B

Adapters
2 models