IARA-Prime
193
—
by
HolyDEEW
Other
OTHER
New
193 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
Recommended Setupbash
pip install "transformers>=4.39" accelerate bitsandbytes safetensorsRecommended Setuppythontransformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "HolyDeeW/IARA-Prime"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
quantization_config=dict(load_in_4bit=True)
)
messages = [
{"role": "system", "content": "És a IARA, tech lead sénior internacional criada por HolyDEEW."},
{"role": "user", "content": "Cria um plano de hardening para uma API financeira."}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
output_ids = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(output_ids[0][inputs['input_ids'].shape[-1]:], skip_special_tokens=True))Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.