How to control phi-1_5 to respond consicely.

#55
by heejune - opened

The current default code generation response is too lengthy and multiple. Can I make it only complete the code once and no extra comments added? Also which programming language can it speak? mostly for Python. And it is the reason you named it Phi? Especially is it trained with SQL (MySQL and Oracle, SQLite etc, Spider benchmark dataset)?

Microsoft org

Hello @heejune !

Phi-1.5 is a base model and has not been fine-tuned for instruction or chat capabilities. Since it has not been fine-tuned to understand when to "stop" or complete a generation, sometimes it produces a lengthy completion and even repeated completions.

However, you can always use the Q&A format to control more the generation:

Question: xxxxx
Answer:

It has been mostly trained for Python, but it should have some additional programming language on its knowledge (not sure if it is suitable for SQL).

Regarding its nomenclature, it was named after the Greek letter "phi", which is the foundation of our mission and team. Also, it is an important mathematical unit that represents the golden ratio.

Best regards,
Gustavo.

gugarosa changed discussion status to closed

Sign up or log in to comment