GitXplorerGitXplorer
f

metaseq

public
6452 stars
723 forks
155 issues

Commits

List of commits on branch main.
Verified
edc996d0a0966c13132b4c06b322af053e0e22df

Update md5sums for OPT 66B and OPT 175B checkpoints (#703)

committed a year ago
Verified
eca010efc48be4ec418eb70349c7e68d3886cec5

Update URLs to consolidated OPT checkpoints (#701)

committed a year ago
Verified
99e95f19a01c7756e623115f0048523129caf4fc

Use FSDP wrapper in SequenceGenerator (#700)

committed a year ago
Verified
4c485bb52a1b86b677f565e896e3e24e8fdad113

Add a script to reshard FSDP-consolidated checkpoints (#698)

committed a year ago
Verified
03b932efd682e12d73e1912de013e163642ce5dc

Auto-delete checkpoints (#679)

ssuchenzang committed a year ago
Verified
bc2911350ab69da9f0a608d98bf6c6d3ecf8516b

small bugs (#690)

uurielsinger committed a year ago

README

The README file for this repository.

Metaseq

A codebase for working with Open Pre-trained Transformers, originally forked from fairseq.

Community Integrations

Using OPT with 🤗 Transformers

The OPT 125M--66B models are now available in Hugging Face Transformers. You can access them under the facebook organization on the Hugging Face Hub

Using OPT-175B with Alpa

The OPT 125M--175B models are now supported in the Alpa project, which enables serving OPT-175B with more flexible parallelisms on older generations of GPUs, such as 40GB A100, V100, T4, M60, etc.

Using OPT with Colossal-AI

The OPT models are now supported in the Colossal-AI, which helps users to efficiently and quickly deploy OPT models training and inference, reducing large AI model budgets and scaling down the labor cost of learning and deployment.

Using OPT with CTranslate2

The OPT 125M--66B models can be executed with CTranslate2, which is a fast inference engine for Transformer models. The project integrates the SmoothQuant technique to allow 8-bit quantization of OPT models. See the usage example to get started.

Using OPT with FasterTransformer

The OPT models can be served with FasterTransformer, a highly optimized inference framework written and maintained by NVIDIA. We provide instructions to convert OPT checkpoints into FasterTransformer format and a usage example with some benchmark results.

Using OPT with DeepSpeed

The OPT models can be finetuned using DeepSpeed. See the DeepSpeed-Chat example to get started.

Getting Started in Metaseq

Follow setup instructions here to get started.

Documentation on workflows

Background Info

Support

If you have any questions, bug reports, or feature requests regarding either the codebase or the models released in the projects section, please don't hesitate to post on our Github Issues page.

Please remember to follow our Code of Conduct.

Contributing

We welcome PRs from the community!

You can find information about contributing to metaseq in our Contributing document.

The Team

Metaseq is currently maintained by the CODEOWNERS: Susan Zhang, Naman Goyal, Punit Singh Koura, Moya Chen, Kurt Shuster, David Esiobu, Igor Molybog, Peter Albert, Andrew Poulton, Nikolay Bashlykov, Binh Tang, Uriel Singer, Yuchen Zhang, Armen Aghajanya, Lili Yu, and Adam Polyak.

License

The majority of metaseq is licensed under the MIT license, however portions of the project are available under separate license terms: