kornosk commited on
Commit
32e14f3
1 Parent(s): 5cb0a20

Update README.md

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