Downloads · 30 days
394
24% of all-time downloads
AmarettoLabs/Amaretto-8B
Amaretto-8B is a text generation model from AmarettoLabs. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Amaretto 8B is a fine-tuned language model by AmarettoLabs, built for literary writing and writing assistance. It is fine-tuned from Ministral 3 8B Instruct using QLoRA.
Downloads · 30 days
394
24% of all-time downloads
All-time downloads
1.6K
Public
Parameters
8.9B
45.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.gguf27.3 GB · 60%
From the Hugging Face model README
Amaretto 8B is a fine-tuned language model by AmarettoLabs, built for literary writing and writing assistance. It is fine-tuned from Ministral 3 8B Instruct using QLoRA.
The Amaretto line is designed to run on everyday hardware. Amaretto 8B is the mid-size model in the family — stronger creative writing quality than Amaretto 3B, while still practical for local and edge deployment.
Website: amaretto.ai · Contact: [email protected]
Amaretto 8B is a general-purpose writing companion. It works out of the box with no system prompt. For the strongest literary output, you can use the system prompt it was trained with:
You are a skilled literary fiction writer. Write with precision,
emotional depth, and a strong sense of voice. Favor showing over telling.
Use plain, direct language — avoid similes, forced comparisons, and
decorative imagery.
You can replace or extend this prompt for your own use case.
GGUF quantized versions are available in this repository:
| File | Size | Notes |
|---|---|---|
amaretto-8b-Q8_0.gguf | ~8.6 GB | Near-lossless; recommended where memory allows |
amaretto-8b-Q5_K_M.gguf | ~5.7 GB | Strong quality on everyday hardware; fits Jetson Orin Nano 8GB |
amaretto-8b-Q4_K_M.gguf | ~4.9 GB | Smallest recommended quantization |
llama-cli -m amaretto-8b-Q8_0.gguf \
--ctx-size 8192 \
-sys "You are a skilled literary fiction writer." \
-p "Write the opening of a scene where a woman returns to her childhood home."
Amaretto 8B inherits its base model's full context window via YaRN RoPE scaling, though fine-tuning was done at a 2,048-token sequence length — long-context generation quality on creative-writing tasks has not been specifically validated. --ctx-size above can be raised as needed.
Sampling: --temp 0.8 --min-p 0.1 works well for creative writing. min-p sampling is recommended over top-k/top-p — it noticeably reduces token-level glitches on small models.
transformersfrom transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "AmarettoLabs/Amaretto-8B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")
messages = [
{"role": "system", "content": "You are a skilled literary fiction writer. Write with precision, emotional depth, and a strong sense of voice."},
{"role": "user", "content": "Write the opening of a scene where a woman returns to her childhood home after many years away."},
]
input_ids = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True).to(model.device)
output = model.generate(input_ids, max_new_tokens=512, temperature=0.8, do_sample=True)
print(tokenizer.decode(output[0][input_ids.shape[-1]:], skip_special_tokens=True))
| Property | Value |
|---|---|
| Base model | mistralai/Ministral-3-8B-Instruct-2512 |
| Method | QLoRA (4-bit NF4) |
| Framework | Unsloth + TRL SFTTrainer |
| LoRA rank / alpha | 16 / 16 |
| Epochs | 3 |
| Training sequence length | 2048 |
| Native context length | 262,144 (YaRN-scaled; inherited from base model) |
| Training examples | ~14,300 |
| Eval loss | 1.354 |
Training data consists of semi-synthetic and full-synthetic literary prose examples, writing assistance examples (editing, tone, clarity, continuation).
AmarettoLabs is a small independent group based in California, USA, specializing in small language models and AI on the edge. The Amaretto line is released free and open.
Website: amaretto.ai · Contact: [email protected]
This model is released under the Apache 2.0 License, inherited from the base model. Base model: Ministral 3 8B by Mistral AI.