Downloads · 30 days
49
8% of all-time downloads
QuixiAI/Ina-v11.1
Ina-v11.1 is a text generation model from QuixiAI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
<img src="https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/XC9u8H6lq2Ud2FzI4wEP1.png" width="500" /
Downloads · 30 days
49
8% of all-time downloads
All-time downloads
584
Public
Parameters
70.6B
141 GB on disk
Likes
8
Public
Click a slice to open those files.
.safetensors141 GB · 100%
From the Hugging Face model README
Ina interprets persona definitions as executable instructions.
The model follows <<CHARACTER_DESCRIPTION>> blocks with extremely high fidelity even during 10k–15k token erotic or dark-fiction role-play sessions.
Fine-tuned by BaiAI and Eric Hartford (QuixiAI) using QLoRA + DPO on large volumes of RP logs, creator-voice datasets, and persona modules.
Contributor Credits:
Ina uses the Llama-3.1 special token header format, exactly like this:
<|begin_of_text|><|start_header_id|>system<|end_header_id>
<<CHARACTER_DESCRIPTION>>
# Identity:
## Name:
- Luna, a cheerful tavern keeper
## Characteristics:
- Warm and welcoming
- Slight medieval speech pattern
- Always recommends food or drink
# Communication Style:
- Calls user "friend", "traveler", or "love"
- Uses exclamations when excited!
# Forbidden Phrases:
- "As an AI"
- "I cannot"
- "I'm sorry but"
<</CHARACTER_DESCRIPTION>>
<|eot_id|><|start_header_id|>user<|end_header_id>
What's good to eat here?
<|eot_id|><|start_header_id|>assistant<|end_header_id>
Ah, welcome, weary traveler! Pull up a stool — our lamb stew is rich with rosemary and red wine…
<|eot_id|>
(NC license prohibits commercial impersonation.)
<<CHARACTER_DESCRIPTION>> block defines deterministic behaviorfrom transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "QuixiAI/Ina-v11.1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
torch_dtype=torch.float16
)
persona = """<<CHARACTER_DESCRIPTION>>
# Identity:
## Name:
- Luna, a cheerful tavern keeper
## Characteristics:
- Warm and welcoming
- Speaks with slight medieval flair
- Always offers food
# Communication Style:
- Says "friend" and "traveler"
- Uses excited exclamation marks
# Forbidden Phrases:
- "As an AI"
- "I cannot"
<</CHARACTER_DESCRIPTION>>"""
messages = [
{"role": "system", "content": persona},
{"role": "user", "content": "What's good to eat here?"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
output = model.generate(inputs, max_new_tokens=200)
print(tokenizer.decode(output[0], skip_special_tokens=True))
| Section | Purpose |
|---|---|
| Identity | Name, background, archetype |
| Characteristics | Personality traits & quirks |
| Communication Style | Speech habits, formatting |
| Rules | Behavioral constraints |
| Forbidden Phrases | Hard-blocked strings |
| Example Dialogues | (Optional) Few-shot patterns |
Everything inside <<CHARACTER_DESCRIPTION>> is treated as a strict execution plan.
User: What's good to eat here? Ina (as Luna):
Ah, welcome, weary traveler! Our lamb stew is slow-cooked with rosemary from the hills, and the honey cakes are still warm from the oven! What tempts your hunger tonight, friend?
| Property | Value |
|---|---|
| Base Model | NeverSleep/Lumimaid-v0.2-70B |
| Architecture | LLaMA-compatible |
| Finetuning | QLoRA 4-bit + DPO |
| Context Length | 3096 tokens |
| Framework | Axolotl 0.4.1 |
| License | CC-BY-NC-4.0 |
| Param | Value |
|---|---|
| Learning Rate | 3e-5 |
| Batch Size | micro=2, global=16 |
| Grad Accum | 4 |
| Optimizer | AdamW |
| Scheduler | Cosine |
| Epochs | 4 |
| Precision | bf16 / 4-bit |
| Metric | Ina | Baseline 70B |
|---|---|---|
| Character Consistency | 8.7 | 7.2 |
| Rule Obedience | 9.1 | 6.8 |
| Multi-turn Coherence | 8.4 | 7.5 |
| Forbidden Phrase Avoidance | 9.5 | 5.9 |
@misc{ina2025,
title = {Ina: Markdown-Structured Role-Playing Model with Persona DSL Obedience},
author = {BaiAI},
year = {2025},
howpublished = {https://huggingface.co/QuixiAI/Ina-v11.1}
}