togethercomputer / OpenDataHub

125 stars 30 forks source link

I only want to answer once, but after the model generates the answer, human will appear again #29

Open jiah123 opened 1 year ago

jiah123 commented 1 year ago

'SharePlay Video The effort, if successful, could be part of a solution to Kyiv’s need for additional firepower and air defenses as both Ukraine and Russia prepare for major offensives this spring. Senior American generals hosted Ukrainian military officials last week in Wiesbaden, Germany, for a set of tabletop exercises to help Kyiv get ready for the next stage of the war.'Extract the title of this sentence?

: Ukraine to get new air defense system from US, Germany : The rest of this: The new system will be based on the US Patriot missile system, which is already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already in use in the country. The US has also agreed to provide Ukraine with Javelin anti-tank missiles, which are already
csris commented 1 year ago

As you noticed, the model will continue to hallucinate more queries from the human after answering. To avoid this, you need to set the appropriate stop word criteria. I'll add some sample code for this in the next few days, but in the meantime, I posted a full sample to Discord here: https://discordapp.com/channels/1082503318624022589/1084214735320383608/1084731864050319441.

Here's an invite link in case you need it: https://discord.gg/7fDdZNwA