kornosk commited on
Commit
5a93763
1 Parent(s): 7229041

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -43,7 +43,7 @@ tokenizer = BertTokenizer.from_pretrained(pretrained_LM_path)
43
  model = BertForMaskedLM.from_pretrained(pretrained_LM_path)
44
 
45
  # fill mask
46
- example = "Trump is the <MASK> of USA"
47
  fill_mask = pipeline('fill-mask', model=model, tokenizer=tokenizer)
48
 
49
  outputs = fill_mask(example)
 
43
  model = BertForMaskedLM.from_pretrained(pretrained_LM_path)
44
 
45
  # fill mask
46
+ example = "Trump is the <mask> of USA"
47
  fill_mask = pipeline('fill-mask', model=model, tokenizer=tokenizer)
48
 
49
  outputs = fill_mask(example)