Commit
•
bf13373
1
Parent(s):
236d484
Update README.md
Browse files
README.md
CHANGED
@@ -12,14 +12,21 @@ metrics:
|
|
12 |
- bleu
|
13 |
|
14 |
---
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
## How to Get Started With the Model
|
18 |
|
19 |
```python
|
20 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
21 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
22 |
-
model = AutoModelForMaskedLM.from_pretrained("
|
23 |
|
24 |
```
|
25 |
|
|
|
12 |
- bleu
|
13 |
|
14 |
---
|
15 |
+
# Model Details
|
16 |
+
- **Model Description:**
|
17 |
+
This model has been pre-trained for English-Chinese Translation, and use datasets of THUOCL to fine tune the model.
|
18 |
+
- **Language(s):** Chinese, English
|
19 |
+
- **Parent Model:** Helsinki-NLP/opus-mt-en-zh, see https://huggingface.co/Helsinki-NLP/opus-mt-en-zh
|
20 |
+
- **Model Type:** Translation
|
21 |
+
#### Training Data
|
22 |
+
- 清华大学中文开放词库(THUOCL)
|
23 |
+
- **Data link**: http://thuocl.thunlp.org/
|
24 |
## How to Get Started With the Model
|
25 |
|
26 |
```python
|
27 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
28 |
+
tokenizer = AutoTokenizer.from_pretrained("BubbleSheep/Hgn_trans_en2zh")
|
29 |
+
model = AutoModelForMaskedLM.from_pretrained("BubbleSheep/Hgn_trans_en2zh")
|
30 |
|
31 |
```
|
32 |
|