Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

metaseq

> 编程语言
Open source

Repo for external large-scale work

6.5K stars0 likes1 views
WebsiteGitHub

About

Repo for external large-scale work

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

  • Training
  • API

Background Info

  • Background & relationship to fairseq
  • Chronicles of training OPT-175B

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:

  • Megatron-LM is licensed under the Megatron-LM license

Issues· 154 open

View all issuesOpen on GitHub
  • #55

    Remove Namespace hack

    enhancementUpdated Sep 9, 2024
  • #692

    Sub-workers exits without messages

    bugUpdated Sep 3, 2024
  • #758

    Questions Regarding OPT Model Output

    questionUpdated Aug 18, 2024
  • #757

    QA about continue training on checkpoint

    questionUpdated Aug 17, 2024
  • #725

    train opt-125M from scratch

    questionUpdated Jun 14, 2024
  • #246

    Add Model FLOPS Utilization and Hardware FLOPS utilization % to the logs.

    enhancementgood first issuetelemetrybetter-engUpdated Apr 30, 2024
  • #105

    Fine-tune OPT with my own dataset

    questionUpdated Mar 28, 2024
  • #748

    Weights/Code for CM3Leon

    enhancementUpdated Mar 9, 2024
  • #754

    How to load the checkpoints into a HF model?

    documentationUpdated Jan 16, 2024
  • #572

    world_size = model_parallel_size, ddp_size = 1 is broken

    bugUpdated Aug 22, 2023

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言