Alanhau commited on
Commit
12afa9c
1 Parent(s): 8b9324f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -140,8 +140,8 @@ Example of single-label classification:
140
  import torch
141
  from transformers import DistilBertTokenizer, DistilBertForSequenceClassification
142
 
143
- tokenizer = DistilBertTokenizer.from_pretrained("distilbert-base-uncased")
144
- model = DistilBertForSequenceClassification.from_pretrained("distilbert-base-uncased")
145
 
146
  inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
147
  with torch.no_grad():
 
140
  import torch
141
  from transformers import DistilBertTokenizer, DistilBertForSequenceClassification
142
 
143
+ tokenizer = DistilBertTokenizer.from_pretrained("Alanhau/test")
144
+ model = DistilBertForSequenceClassification.from_pretrained("Alanhau/test")
145
 
146
  inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
147
  with torch.no_grad():