Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ The word level pre-training task detects replaced sentiment words, via a generat
|
|
| 5 |
The sentence level pre-training task further strengthens the discriminator via a contrastive learning framework, with similar sentences as negative samples, to encode sentiments in a sentence.
|
| 6 |
|
| 7 |
## Fine-tunning
|
| 8 |
-
You can also load our model in huggingface ([https://huggingface.co/shuaifan/SentiWSP](https://huggingface.co/shuaifan/SentiWSP)):
|
| 9 |
```python
|
| 10 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 11 |
import torch
|
|
|
|
| 5 |
The sentence level pre-training task further strengthens the discriminator via a contrastive learning framework, with similar sentences as negative samples, to encode sentiments in a sentence.
|
| 6 |
|
| 7 |
## Fine-tunning
|
| 8 |
+
You can also load our model in huggingface ([https://huggingface.co/shuaifan/SentiWSP](https://huggingface.co/shuaifan/SentiWSP)) to fine-tunning in sentiment analysis tasks:
|
| 9 |
```python
|
| 10 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 11 |
import torch
|