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.
- Paper: From What to Respond to When to Respond: Timely Response Generation for Open-domain Dialogue Agents (Findings of EACL 2027)
- Code: https://github.com/sb-jang/timelychat
- Data: https://huggingface.co/datasets/seongbo/timelychat
- Base model: COSMO-xl, a T5-based (encoder-decoder) 3B dialogue model
- License: Apache 2.0
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}
}