Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
---
|
4 |
|
5 |
# SKEP-
|
@@ -13,7 +13,7 @@ SKEP propose Sentiment Knowledge Enhanced Pre-training for sentiment analysis. S
|
|
13 |
More detail: https://aclanthology.org/2020.acl-main.374.pdf
|
14 |
|
15 |
## ⚠️ attention
|
16 |
-
Compared with the full version of the
|
17 |
|
18 |
|
19 |
|
@@ -21,7 +21,7 @@ Compared with the full version of the ernie_1.0_skep_large_ch, we lost the task_
|
|
21 |
|
22 |
|Model Name|Language|Model Structure|
|
23 |
|:---:|:---:|:---:|
|
24 |
-
|skep-
|
25 |
|
26 |
This released pytorch model is converted from the officially released PaddlePaddle SKEP model and
|
27 |
a series of experiments have been conducted to check the accuracy of the conversion.
|
@@ -35,8 +35,8 @@ a series of experiments have been conducted to check the accuracy of the convers
|
|
35 |
## How to use
|
36 |
```Python
|
37 |
from transformers import AutoTokenizer, AutoModel
|
38 |
-
tokenizer = AutoTokenizer.from_pretrained("Yaxin/
|
39 |
-
model = AutoModel.from_pretrained("Yaxin/
|
40 |
```
|
41 |
|
42 |
## Citation
|
|
|
1 |
---
|
2 |
+
language: en
|
3 |
---
|
4 |
|
5 |
# SKEP-
|
|
|
13 |
More detail: https://aclanthology.org/2020.acl-main.374.pdf
|
14 |
|
15 |
## ⚠️ attention
|
16 |
+
Compared with the full version of the ernie_2.0_skep_large_en, we lost the task_embeddings part in order to adapt to the Bert framework.
|
17 |
|
18 |
|
19 |
|
|
|
21 |
|
22 |
|Model Name|Language|Model Structure|
|
23 |
|:---:|:---:|:---:|
|
24 |
+
|skep-ernie2-bert-large| English |Layer:24, Hidden:1024, Heads:24|
|
25 |
|
26 |
This released pytorch model is converted from the officially released PaddlePaddle SKEP model and
|
27 |
a series of experiments have been conducted to check the accuracy of the conversion.
|
|
|
35 |
## How to use
|
36 |
```Python
|
37 |
from transformers import AutoTokenizer, AutoModel
|
38 |
+
tokenizer = AutoTokenizer.from_pretrained("Yaxin/ernie_2.0_skep_large_en")
|
39 |
+
model = AutoModel.from_pretrained("Yaxin/ernie_2.0_skep_large_en")
|
40 |
```
|
41 |
|
42 |
## Citation
|