Update README.md
Browse files
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=
|
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)
|