jessicayjm commited on
Commit
fdffc91
1 Parent(s): a74b362

update sample code

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -51,7 +51,7 @@ from openprompt import PromptForClassification
51
  from openprompt.data_utils import InputExample
52
  from openprompt import PromptDataLoader
53
 
54
- checkpoint_file = 'upload_version/empathy-appraisal-span.pt'
55
 
56
  plm, tokenizer, model_config, WrapperClass = load_plm('roberta', 'roberta-large')
57
  template_text = 'The sentence {"placeholder":"text_a"} has the label {"mask"}.'
 
51
  from openprompt.data_utils import InputExample
52
  from openprompt import PromptDataLoader
53
 
54
+ checkpoint_file = 'your_path_to/empathy-appraisal-span.pt'
55
 
56
  plm, tokenizer, model_config, WrapperClass = load_plm('roberta', 'roberta-large')
57
  template_text = 'The sentence {"placeholder":"text_a"} has the label {"mask"}.'