Update README.md
Browse files
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 =
|
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 |
|