Downloads · 30 days
11
5% of all-time downloads
dodotechnologies/nia-v1
nia-v1 is a text generation model from dodotechnologies. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
This model was fine-tuned with PEFT/LoRA and merged into a standalone set of weights for deployment. It focuses on short, structured dialogue, refusal behavior for unsafe requests, and instruction adherence in tool-st…
Downloads · 30 days
11
5% of all-time downloads
All-time downloads
216
Public
Parameters
27.4B
54.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors54.9 GB · 100%
From the Hugging Face model README
This model was fine-tuned with PEFT/LoRA and merged into a standalone set of weights for deployment. It focuses on short, structured dialogue, refusal behavior for unsafe requests, and instruction adherence in tool-style prompts. Fine-tuned from gemma-3-27b-it. The model config includes vision components and image token settings, indicating image+text capability.
ultrachat_messages.jsonl, oasst1_messages.jsonl.hh_rlhf_messages.jsonl, pku_safrlhf_messages.jsonl.xlam_messages.jsonl.validation_messages.jsonl.import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "dodotechnologies/dodo-v1-beta"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
model.eval()
prompt = "User: Explain LoRA in three bullets.\nAssistant:"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
output = model.generate(**inputs, max_new_tokens=128, do_sample=False)
print(tokenizer.decode(output[0], skip_special_tokens=True))
curl -X POST \
-H "Authorization: Bearer $HF_TOKEN" \
-H "Content-Type: application/json" \
https://api-inference.huggingface.co/models/dodotechnologies/dodo-v1-beta \
-d '{
"inputs": "User: Explain LoRA in three bullets.\nAssistant:",
"parameters": {"max_new_tokens": 128, "do_sample": false}
}'
Run a private API service on a GPU host and expose it only to authorized clients.
curl -X POST http://<host>:<port>/v1/chat \
-H "Content-Type: application/json" \
-d '{
"prompt": "User: Explain LLM finetuning.\nAssistant:",
"max_new_tokens": 128,
"do_sample": false
}'