Skip to content

Commit

Permalink
Fix: docs typo (#2777)
Browse files Browse the repository at this point in the history
Fix: typo in model loading code

Fix typo in model loading code
  • Loading branch information
jp1924 authored Nov 26, 2024
1 parent 892a26e commit caff779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/supported_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ If the above list lacks the model you would like to serve, depending on the mode

```python
# for causal LMs/text-generation models
AutoModelForCausalLM.from_pretrained(<model>, device_map="auto")`
AutoModelForCausalLM.from_pretrained(<model>, device_map="auto")
# or, for text-to-text generation models
AutoModelForSeq2SeqLM.from_pretrained(<model>, device_map="auto")
```
Expand Down

0 comments on commit caff779

Please sign in to comment.