maxoul commited on
Commit
7fb13bf
·
verified ·
1 Parent(s): 8bc2e41

Update README.md

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