8.06 GB
14 files
Updated about 1 month ago
Name
Size
.gitattributes1.57 kB
xet
README.md1.38 kB
xet
added_tokens.json707 Bytes
xet
chat_template.jinja2.63 kB
xet
config.json1.54 kB
xet
generation_config.json187 Bytes
xet
merges.txt1.67 MB
xet
model-00001-of-00002.safetensors4.97 GB
xet
model-00002-of-00002.safetensors3.08 GB
xet
model.safetensors.index.json32.9 kB
xet
special_tokens_map.json613 Bytes
xet
tokenizer.json11.4 MB
xet
tokenizer_config.json5.41 kB
xet
vocab.json2.78 MB
xet
README.md

fable-traces

A compact instruction-tuned language model built on Qwen/Qwen3-4B-Instruct-2507. fable-traces is tuned for short, conversational replies and runs comfortably on a single mid-range GPU.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

repo = "AliesTaha/fable-traces"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto")

messages = [{"role": "user", "content": "Tell me something interesting."}]
ids = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=100, do_sample=False)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))

Serve with vLLM:

vllm serve AliesTaha/fable-traces

Details

Base model Qwen3-4B-Instruct-2507
Parameters ~4B
Precision bfloat16 (safetensors)
Prompt format ChatML — use the tokenizer's chat template
Context length inherits the base model

License

Apache 2.0, following the base model.

Total size
8.06 GB
Files
14
Last updated
Jul 4
Pre-warmed CDN
US EU US EU

Contributors