Views
No views yet
Qwen/Qwen3.5-0.8B-Base model that generates a concise title for a user request or chat conversation. The goal is to provide a compact, but accurate, model for generating chat titles.user message, optionally preceded by one system message. It does not accept multi-turn conversations, prior assistant messages, or tools. To title a full conversation, serialize or summarize that conversation into the content of the single user message.add_generation_prompt=True when calling the Transformers chat template. Without a system message, the template uses: Generate a short title describing the following user request.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_id = "acon96/Little-Titles"
4tokenizer = AutoTokenizer.from_pretrained(model_id)
5model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
6
7messages = [{"role": "user", "content": "Help me plan a three-day trip to Kyoto."}]
8inputs = tokenizer.apply_chat_template(
9 messages, add_generation_prompt=True, return_tensors="pt", return_dict=True
10).to(model.device)
11output = model.generate(**inputs, max_new_tokens=32, do_sample=False)
12title = tokenizer.decode(output[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)
13print(title.strip())1messages = [
2 {"role": "system", "content": "Return a concise, action-oriented title."},
3 {"role": "user", "content": "Help me plan a three-day trip to Kyoto."},
4]1vllm serve acon96/Little-Titles \
2 --host 0.0.0.0 \
3 --port 8000 \
4 --max-model-len 32768/v1/chat/completions:1curl http://localhost:8000/v1/chat/completions \
2 -H 'Content-Type: application/json' \
3 -d '{
4 "model": "acon96/Little-Titles",
5 "messages": [{"role": "user", "content": "Help me plan a three-day trip to Kyoto."}],
6 "temperature": 0,
7 "max_tokens": 32
8 }'training-config.yml. It uses
SupraLabs/chat-titles-filtered-115K and Axolotl to fine-tune the base model.ogrnz/chat-titles dataset. Gemma 4 26B A4B rated each pair for accuracy, relevance, and concise usefulness.