A5hbr1ng3r commited on
Commit
c7ba399
·
verified ·
1 Parent(s): 7627d40

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -15,7 +15,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
15
  model_name = "thu-coai/roberta-base-cold"
16
  tokenizer = AutoTokenizer.from_pretrained(model_name)
17
  model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=2)
18
- model_path = "finetuned_cold_LoL.pth"
19
  model.load_state_dict(torch.load(model_path))
20
 
21
 
 
15
  model_name = "thu-coai/roberta-base-cold"
16
  tokenizer = AutoTokenizer.from_pretrained(model_name)
17
  model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=2)
18
+ model_path = "finetuned_cold_LoL.pth" # Could be downloaded in this repo.
19
  model.load_state_dict(torch.load(model_path))
20
 
21