The model produces short, standalone prompts designed to encourage self-reflection and discussion related to personality traits, emotions, and decision-making.
It operates as a randomized question generator rather than an interactive conversational model.
The goal of this model is to generate concise, psychologically relevant questions similar to those found in MBTI-style interviews or self-assessment forms.
Each output question is intended to provoke reflection or reveal an aspect of human cognition, motivation, or behavior.
1from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
2
3model = AutoModelForSeq2SeqLM.from_pretrained("f3nsmart/ft-flan-t5-base-qgen")
4tokenizer = AutoTokenizer.from_pretrained("f3nsmart/ft-flan-t5-base-qgen")
5
6prompt = "Generate a question about emotional decision-making."
7inputs = tokenizer(prompt, return_tensors="pt")
8outputs = model.generate(**inputs, max_new_tokens=60)
9print(tokenizer.decode(outputs[0], skip_special_tokens=True))