Usage
from transformers import pipeline generator = pipeline("text-generation", model="harpertoken/chat")print(generator("Hello, how are you?", max_new_tokens=60)[0]["generated_text"])
A pad_token is not configured, so batching prompts together will warn. Set tokenizer.pad_token = tokenizer.eos_token if you need it.
Limitations
DailyDialog is scripted, crowd-sourced, and narrow: 13k conversations of polite small talk, annotated for emotion and communication acts. A model trained on it will handle greetings and farewells far better than disagreement, and will reproduce the register of that corpus rather than anything wider. Because GPT-2 is a 124M-parameter base and the fine-tuning is small, output is frequently fluent and wrong. The biases of both GPT-2 and DailyDialog carry through unchanged.
Attribution
GPT-2 follows Radford et al. (2018). DailyDialog is described in Li et al., DailyDialog: A Manually Labelled Multi-turn Dialogue Dataset, IJCNLP 2017.