Update README.md
Browse files
README.md
CHANGED
@@ -5,4 +5,20 @@ datasets:
|
|
5 |
language:
|
6 |
- he
|
7 |
pipeline_tag: fill-mask
|
8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
language:
|
6 |
- he
|
7 |
pipeline_tag: fill-mask
|
8 |
+
---
|
9 |
+
|
10 |
+
|
11 |
+
## Hebrew Language Model
|
12 |
+
|
13 |
+
State-of-the-art Longformer language model for Hebrew.
|
14 |
+
|
15 |
+
#### How to use
|
16 |
+
|
17 |
+
```python
|
18 |
+
|
19 |
+
from transformers import AutoModelForMaskedLM, AutoTokenizer
|
20 |
+
|
21 |
+
tokenizer = AutoTokenizer.from_pretrained('HeNLP/LongHeRo')
|
22 |
+
model = AutoModelForMaskedLM.from_pretrained('HeNLP/LongHeRo')
|
23 |
+
|
24 |
+
```
|