bigscience-workshop / promptsource

Toolkit for creating, sharing and using natural language prompts.
Apache License 2.0
2.69k stars 352 forks source link

Xlsum #816

Open Muennighoff opened 2 years ago

Muennighoff commented 2 years ago

cc @lintangsutawika feel free to review / suggest diff prompts

lintangsutawika commented 2 years ago

Yeah, might need more prompts where the prompt is at the beginning just incase samples are long and we end up truncating them.

Muennighoff commented 2 years ago

Yeah, might need more prompts where the prompt is at the beginning just incase samples are long and we end up truncating them.

Since our code currently skips too long samples, I just went with truncation directly in the templates 😁 Might actually be beneficial as it introduces some difference to the outputs, i.e. the articles for the different summarization prompts aren't always the same