maxoul commited on
Commit
6528dae
·
verified ·
1 Parent(s): 7aa43db

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -29,7 +29,7 @@ With a compressed collection of documents to retrieve from, inference becomes ab
29
  ```python
30
  from transformers import AutoModel
31
 
32
- pisco = AutoModel.from_pretrained('naver/pisco-mistral', device_map='cuda')
33
 
34
  # Example documents and question:
35
  documents = [
 
29
  ```python
30
  from transformers import AutoModel
31
 
32
+ pisco = AutoModel.from_pretrained('naver/pisco-mistral').to('cuda')
33
 
34
  # Example documents and question:
35
  documents = [