Skip to content

Commit

Permalink
Include XLM-RoBERTa in the list of supported models
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Aug 31, 2023
1 parent b4f2861 commit 5c88c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The following model types are currently supported:

* Encoder-decoder models: Transformer base/big, M2M-100, NLLB, BART, mBART, Pegasus, T5, Whisper
* Decoder-only models: GPT-2, GPT-J, GPT-NeoX, OPT, BLOOM, MPT, Llama, CodeGen, GPTBigCode, Falcon
* Encoder-only models: BERT, DistilBERT
* Encoder-only models: BERT, DistilBERT, XLM-RoBERTa

Compatible models should be first converted into an optimized model format. The library includes converters for multiple frameworks:

Expand Down
1 change: 1 addition & 0 deletions docs/guides/transformers.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ CTranslate2 supports selected models from Hugging Face's [Transformers](https://
* Pegasus
* T5
* Whisper
* XLM-RoBERTa

The converter takes as argument the pretrained model name or the path to a model directory:

Expand Down

0 comments on commit 5c88c27

Please sign in to comment.