Repository: Mooler0410/LLMsPracticalGuide Branch: main Commit: c4a39847f545 Files: 7 Total size: 50.8 KB Directory structure: gitextract_y_vcouf3/ ├── .gitignore ├── README.md ├── awesome_examples/ │ ├── social_game_werewolf.md │ └── tableQA.md └── source/ ├── README.md ├── figure_gif.pptx └── figure_still.pptx ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover *.py,cover .hypothesis/ .pytest_cache/ cover/ # Translations *.mo *.pot # Django stuff: *.log local_settings.py db.sqlite3 db.sqlite3-journal # Flask stuff: instance/ .webassets-cache # Scrapy stuff: .scrapy # Sphinx documentation docs/_build/ # PyBuilder .pybuilder/ target/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv # For a library or package, you might want to ignore these files since the code is # intended to run in multiple environments; otherwise, check them in: # .python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies # having no cross-platform support, pipenv may install dependencies that don't work, or not # install all needed dependencies. #Pipfile.lock # poetry # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. # This is especially recommended for binary packages to ensure reproducibility, and is more # commonly ignored for libraries. # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control #poetry.lock # pdm # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. #pdm.lock # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it # in version control. # https://pdm.fming.dev/#use-with-ide .pdm.toml # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ # Celery stuff celerybeat-schedule celerybeat.pid # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # pytype static type analyzer .pytype/ # Cython debug symbols cython_debug/ # PyCharm # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ ================================================ FILE: README.md ================================================
| LLMs | Model | Data | |||
|---|---|---|---|---|---|
| License | Commercial Use | Other noteable restrictions | License | Corpus | |
| Encoder-only | |||||
| BERT series of models (general domain) | Apache 2.0 | ✅ | Public | BooksCorpus, English Wikipedia | |
| RoBERTa | MIT license | ✅ | Public | BookCorpus, CC-News, OpenWebText, STORIES | |
| ERNIE | Apache 2.0 | ✅ | Public | English Wikipedia | |
| SciBERT | Apache 2.0 | ✅ | Public | BERT corpus, 1.14M papers from Semantic Scholar | |
| LegalBERT | CC BY-SA 4.0 | ❌ | Public (except data from the Case Law Access Project) | EU legislation, US court cases, etc. | |
| BioBERT | Apache 2.0 | ✅ | PubMed | PubMed, PMC | |
| Encoder-Decoder | |||||
| T5 | Apache 2.0 | ✅ | Public | C4 | |
| Flan-T5 | Apache 2.0 | ✅ | Public | C4, Mixture of tasks (Fig 2 in paper) | |
| BART | Apache 2.0 | ✅ | Public | RoBERTa corpus | |
| GLM | Apache 2.0 | ✅ | Public | BooksCorpus and English Wikipedia | |
| ChatGLM | ChatGLM License | ❌ | No use for illegal purposes or military research, no harm the public interest of society | N/A | 1T tokens of Chinese and English corpus |
| Decoder-only | |||||
| GPT2 | Modified MIT License | ✅ | Use GPT-2 responsibly and clearly indicate your content was created using GPT-2. | Public | WebText |
| GPT-Neo | MIT license | ✅ | Public | Pile | |
| GPT-J | Apache 2.0 | ✅ | Public | Pile | |
| ---> Dolly | CC BY NC 4.0 | ❌ | CC BY NC 4.0, Subject to terms of Use of the data generated by OpenAI | Pile, Self-Instruct | |
| ---> GPT4ALL-J | Apache 2.0 | ✅ | Public | GPT4All-J dataset | |
| Pythia | Apache 2.0 | ✅ | Public | Pile | |
| ---> Dolly v2 | MIT license | ✅ | Public | Pile, databricks-dolly-15k | |
| OPT | OPT-175B LICENSE AGREEMENT | ❌ | No development relating to surveillance research and military, no harm the public interest of society | Public | RoBERTa corpus, the Pile, PushShift.io Reddit |
| ---> OPT-IML | OPT-175B LICENSE AGREEMENT | ❌ | same to OPT | Public | OPT corpus, Extended version of Super-NaturalInstructions |
| YaLM | Apache 2.0 | ✅ | Unspecified | Pile, Teams collected Texts in Russian | |
| BLOOM | The BigScience RAIL License | ✅ | No use of generating verifiably false information with the purpose of harming others; content without expressly disclaiming that the text is machine generated |
Public | ROOTS corpus (Lauren¸con et al., 2022) |
| ---> BLOOMZ | The BigScience RAIL License | ✅ | same to BLOOM | Public | ROOTS corpus, xP3 |
| Galactica | CC BY-NC 4.0 | ❌ | N/A | The Galactica Corpus | |
| LLaMA | Non-commercial bespoke license | ❌ | No development relating to surveillance research and military, no harm the public interest of society | Public | CommonCrawl, C4, Github, Wikipedia, etc. |
| ---> Alpaca | CC BY NC 4.0 | ❌ | CC BY NC 4.0, Subject to terms of Use of the data generated by OpenAI | LLaMA corpus, Self-Instruct | |
| ---> Vicuna | CC BY NC 4.0 | ❌ | Subject to terms of Use of the data generated by OpenAI; Privacy Practices of ShareGPT |
LLaMA corpus, 70K conversations from ShareGPT.com | |
| ---> GPT4ALL | GPL Licensed LLaMa | ❌ | Public | GPT4All dataset | |
| OpenLLaMA | Apache 2.0 | ✅ | Public | RedPajama | |
| CodeGeeX | The CodeGeeX License | ❌ | No use for illegal purposes or military research | Public | Pile, CodeParrot, etc. |
| StarCoder | BigCode OpenRAIL-M v1 license | ✅ | No use of generating verifiably false information with the purpose of harming others; content without expressly disclaiming that the text is machine generated |
Public | The Stack | MPT-7B | Apache 2.0 | ✅ | Public | mC4 (english), The Stack, RedPajama, S2ORC |
| falcon | TII Falcon LLM License | ✅/❌ | Available under a license allowing commercial use | Public | RefinedWeb |