oluwatosin adewumi
commited on
Commit
·
b4f4823
1
Parent(s):
eb8e052
README updated
Browse files
README.md
CHANGED
@@ -1 +1,30 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
thumbnail: https://huggingface.co/front/thumbnails/dialogpt.png
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
license: cc-by-4.0
|
6 |
+
tags:
|
7 |
+
- conversational
|
8 |
+
- transformers
|
9 |
+
datasets:
|
10 |
+
- multi_woz_v22
|
11 |
+
metrics:
|
12 |
+
- perplexity
|
13 |
+
widget:
|
14 |
+
-
|
15 |
+
---
|
16 |
+
|
17 |
+
## T5Base-PCL
|
18 |
+
This is a fine-tuned model of T5 (base) on the patronizing and condenscending language (PCL) dataset by Pérez-Almendros et al (2020) used for Task 4 competition of SemEval-2022.
|
19 |
+
It is intended to be used as a classification model for identifying PCL. The dataset it's trained on is limited in scope, as it covers
|
20 |
+
only some news texts covering about 20 English-speaking countries.
|
21 |
+
The macro F1 score achieved on the test set, based on the official evaluation, is 0.5452.
|
22 |
+
More information about the original pre-trained model can be found [here](https://huggingface.co/t5-base)
|
23 |
+
|
24 |
+
### How to use
|
25 |
+
|
26 |
+
```python
|
27 |
+
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
28 |
+
import torch
|
29 |
+
tokenizer = AutoTokenizer.from_pretrained("tosin/pcl_22")
|
30 |
+
model = AutoModelForCausalLM.from_pretrained("tosin/pcl_22")
|