Fix: docs typo (#2777)

Fix: typo in model loading code

Fix typo in model loading code
This commit is contained in:
jp 2024-11-26 22:28:58 +09:00 committed by GitHub
parent 892a26e549
commit caff779dd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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")
```