Skip to content

Commit 8d28dba

Browse files
authored
[OPT] Doc nit, using fast is fine (#23789)
small doc nit
1 parent f67dac9 commit 8d28dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/en/model_doc/opt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The abstract from the paper is the following:
2323

2424
Tips:
2525
- OPT has the same architecture as [`BartDecoder`].
26-
- Contrary to GPT2, OPT adds the EOS token `</s>` to the beginning of every prompt. **Note**: Make sure to pass `use_fast=False` when loading OPT's tokenizer with [`AutoTokenizer`] to get the correct tokenizer.
26+
- Contrary to GPT2, OPT adds the EOS token `</s>` to the beginning of every prompt.
2727

2828
This model was contributed by [Arthur Zucker](https://huggingface.co/ArthurZ), [Younes Belkada](https://huggingface.co/ybelkada), and [Patrick Von Platen](https://huggingface.co/patrickvonplaten).
2929
The original code can be found [here](https://github.com/facebookresearch/metaseq).

0 commit comments

Comments
 (0)