Alexandre-Numind commited on
Commit
855ca2b
1 Parent(s): 94a98cc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -24,8 +24,8 @@ import torch
24
  from transformers import AutoTokenizer, AutoModel
25
 
26
 
27
- model = AutoModel.from_pretrained("Numind/e5-base-SA")
28
- tokenizer = AutoTokenizer.from_pretrained("Numind/e5-base-SA")
29
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
30
  model.to(device)
31
 
 
24
  from transformers import AutoTokenizer, AutoModel
25
 
26
 
27
+ model = AutoModel.from_pretrained("Numind/e5-base-sentiment_analysis")
28
+ tokenizer = AutoTokenizer.from_pretrained("Numind/e5-base-sentiment_analysis")
29
  device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
30
  model.to(device)
31