mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-07 00:06:32 +08:00
a203900070
* Create T5_closed_book_QA_generators.py This is code that can be run in a notebook or by itself to generate a dictionary for use in creating synthetic dialogue that can be verified for factual accuracy. To use this notebook your need your trusted source material to be in the format of a list of strings (they will be truncated to under 1100 characters). Requires transformers and accelerate. Make sure to use T5 with bfloat16 or full precision. * Create T5_closed_book_QA_generators.py * Create T5_closed_book_QA_generators.md * Delete T5_closed_book_QA_generators.py Moved to proper folder structure * fixed pre-commit issues Co-authored-by: Yannic Kilcher <yk@users.noreply.github.com>
Notebooks
This is a folder with some useful notebooks, all the notebooks have a markdown file with the same name (or a README.md if its a single notebook folder) explaining what they do.
Contributing
Contributing to notebooks and making new notebooks is very welcome. If you do so, make sure to make a markdown (.md) file to go with your notebook, it makes it easier for people to know what your notebook is about.
Check out the example notebook for a reference example you can use as a starting point.