How to use from
Ollama
ollama run hf.co/smshahbaj/RIFA-CODE-0.6B:
Quick Links

RIFA-CODE

Created / maintained by SM Shahbaj


About

RIFA-CODE is a code-oriented fine-tuned model maintained by SM Shahbaj.

Property Value
Model RIFA-CODE
Parameters 0.6B
Creator SM Shahbaj

Part of the RIFA model family by SM Shahbaj.


Downloads

File Link
Safetensors Browse
RIFA-CODE-0.6B.F16.gguf Download
RIFA-CODE-0.6B.Q3_K_M.gguf Download
RIFA-CODE-0.6B.Q4_K_M.gguf Download
RIFA-CODE-0.6B.Q5_K_M.gguf Download
RIFA-CODE-0.6B.Q6_K.gguf Download
RIFA-CODE-0.6B.Q8_0.gguf Download

Recommended: Q5_K_M when available.


Quick start

from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "smshahbaj/RIFA-CODE-0.6B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, device_map="auto")
messages = [{"role": "user", "content": "Hello"}]
text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tok(text, return_tensors="pt").to(model.device)
print(tok.decode(model.generate(**inputs, max_new_tokens=64)[0], skip_special_tokens=True))

Creator

SM Shahbajhuggingface.co/smshahbaj

License: Apache 2.0

RIFA Model Family — SM Shahbaj

Downloads last month
1,981
Safetensors
Model size
0.6B 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-CODE-0.6B

Quantizations
2 models