Update README.md
Browse files
README.md
CHANGED
@@ -12,9 +12,6 @@ model.eval()
|
|
12 |
mlm = pipeline('fill-mask', model = model, tokenizer = tokenizer)
|
13 |
test = "ECB - euro, FED - <mask>, BoJ - yen"
|
14 |
print(mlm(test)[:2])
|
15 |
-
```
|
16 |
-
|
17 |
-
Will give:
|
18 |
|
19 |
[{'sequence': 'ECB - euro, FED - dollar, BoJ - yen',
|
20 |
'score': 0.7342271208763123,
|
@@ -24,5 +21,5 @@ Will give:
|
|
24 |
'score': 0.10828445851802826,
|
25 |
'token': 1932,
|
26 |
'token_str': ' dollars'}]
|
27 |
-
|
28 |
|
|
|
12 |
mlm = pipeline('fill-mask', model = model, tokenizer = tokenizer)
|
13 |
test = "ECB - euro, FED - <mask>, BoJ - yen"
|
14 |
print(mlm(test)[:2])
|
|
|
|
|
|
|
15 |
|
16 |
[{'sequence': 'ECB - euro, FED - dollar, BoJ - yen',
|
17 |
'score': 0.7342271208763123,
|
|
|
21 |
'score': 0.10828445851802826,
|
22 |
'token': 1932,
|
23 |
'token_str': ' dollars'}]
|
24 |
+
```
|
25 |
|