mjwong commited on
Commit
3ae14ae
1 Parent(s): b8f30d7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -57,7 +57,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
57
  # device = "cuda:0" or "cpu"
58
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
59
 
60
- model_name = 'mjwong/contriever-msmarco-mnli'
61
  tokenizer = AutoTokenizer.from_pretrained(model_name)
62
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
63
 
 
57
  # device = "cuda:0" or "cpu"
58
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
59
 
60
+ model_name = "mjwong/contriever-msmarco-mnli"
61
  tokenizer = AutoTokenizer.from_pretrained(model_name)
62
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
63