Skip to content

Commit

Permalink
Fix unresolved imports in transformers doc
Browse files Browse the repository at this point in the history
  • Loading branch information
TimZaman authored and rlouf committed Dec 20, 2024
1 parent 9b586db commit 061f2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/models/transformers.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ T5 Example:
import outlines
from transformers import AutoModelForSeq2SeqLM

model_pile_t5 = models.transformers(
model_pile_t5 = outlines.models.transformers(
model_name="EleutherAI/pile-t5-large",
model_class=AutoModelForSeq2SeqLM,
)
```

Bart Example:
```python
model_bart = models.transformers(
model_bart = outlines.models.transformers(
model_name="facebook/bart-large",
model_class=AutoModelForSeq2SeqLM,
)
Expand Down

0 comments on commit 061f2ba

Please sign in to comment.