How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "seongbo/timer-3b"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "seongbo/timer-3b",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/seongbo/timer-3b
Quick Links

TIMER 3B

TIMER is a dialogue agent for timely response generation: given a conversation, it first predicts when to respond (the time interval before the next turn) and then generates what to respond, conditioned on that interval.

Input format

Each turn is written as <spk> SPEAKER: <time> INTERVAL later <utt> UTTERANCE; the first turn has no interval. To predict the interval, end the input with the target speaker and <time>; the model generates the interval and then the response.

from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("seongbo/timer-3b")
model = AutoModelForSeq2SeqLM.from_pretrained("seongbo/timer-3b")

prompt = (
    "<spk> A: <utt> I'm about to head out for dinner with my friends. "
    "<spk> B: <time> 0 minutes later <utt> Have fun! Where are you going? "
    "<spk> A: <time> 0 minutes later <utt> A new Italian place downtown. "
    "<spk> B: <time>"
)
inputs = tokenizer(prompt, return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=100, num_beams=3, no_repeat_ngram_size=2)
print(tokenizer.decode(output[0], skip_special_tokens=True))

To generate a response for a given interval instead, end the input with, e.g., <spk> B: <time> 1 hour later <utt>.

Training

Fine-tuned with a multi-task objective that jointly learns interval prediction and time-conditioned response generation on the 55K-dialogue TimelyChat training set (Section 5 and Appendix C.1 of the paper).

Limitations

The model is trained on synthetic, English, event-driven dialogues and has not been validated on real conversations. It trails much larger LLMs such as GPT-4o in naturalness and coherence. See the Limitations section of the paper.

Citation

@inproceedings{jang-etal-2027-timely,
  title     = {From What to Respond to When to Respond: Timely Response Generation for Open-domain Dialogue Agents},
  author    = {Jang, Seongbo and Jeon, Minjin and Lee, Jaehoon and Lee, Seonghyeon and Lee, Dongha and Yu, Hwanjo},
  booktitle = {Findings of the Association for Computational Linguistics: EACL 2027},
  year      = {2027}
}
Downloads last month
53
Safetensors
Model size
3B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for seongbo/timer-3b

Base model

allenai/cosmo-xl
Finetuned
(1)
this model

Dataset used to train seongbo/timer-3b