Update README.md
Browse files
README.md
CHANGED
@@ -4,11 +4,20 @@ language:
|
|
4 |
|
5 |
license: apache-2.0
|
6 |
tags:
|
7 |
-
-
|
8 |
- mutlimodal
|
|
|
9 |
|
10 |
widget:
|
11 |
- text: "Paris is the <mask> of France."
|
12 |
example_title: "Example 1"
|
13 |
|
14 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
license: apache-2.0
|
6 |
tags:
|
7 |
+
- roberta
|
8 |
- mutlimodal
|
9 |
+
- exbert
|
10 |
|
11 |
widget:
|
12 |
- text: "Paris is the <mask> of France."
|
13 |
example_title: "Example 1"
|
14 |
|
15 |
+
---
|
16 |
+
|
17 |
+
# How to use
|
18 |
+
|
19 |
+
```python
|
20 |
+
>>> from transformers import pipeline
|
21 |
+
>>> unmasker = pipeline('fill-mask', model='IDEA-CCNL/Taiyi-Roberta-125M')
|
22 |
+
>>> unmasker("Hello I'm a <mask> model.")
|
23 |
+
```
|