RapMinerz
commited on
Commit
•
2527cf8
1
Parent(s):
0f62846
update readme
Browse files
README.md
CHANGED
@@ -53,11 +53,11 @@ pip install transformers
|
|
53 |
To load the WatiBERT model, use the following Python code:
|
54 |
|
55 |
```python
|
56 |
-
from transformers import
|
57 |
|
58 |
# Load the tokenizer and model
|
59 |
-
tokenizer =
|
60 |
-
model =
|
61 |
```
|
62 |
|
63 |
## Using the Model
|
|
|
53 |
To load the WatiBERT model, use the following Python code:
|
54 |
|
55 |
```python
|
56 |
+
from transformers import FlaubertTokenizer, FlaubertWithLMHeadModel
|
57 |
|
58 |
# Load the tokenizer and model
|
59 |
+
tokenizer = FlaubertTokenizer.from_pretrained("rapminerz/WatiBERT-large-cased")
|
60 |
+
model = FlaubertWithLMHeadModel.from_pretrained("rapminerz/WatiBERT-large-cased")
|
61 |
```
|
62 |
|
63 |
## Using the Model
|