Update README.md
Browse files
README.md
CHANGED
|
@@ -8,13 +8,15 @@ tags:
|
|
| 8 |
- formal or informal classification
|
| 9 |
licenses:
|
| 10 |
- cc-by-nc-sa
|
| 11 |
-
license:
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
|
| 17 |
-
all
|
| 18 |
|
| 19 |
| | precision | recall | f1-score | support |
|
| 20 |
|--------------|-----------|----------|----------|---------|
|
|
@@ -65,6 +67,7 @@ pt
|
|
| 65 |
| macro avg | 0.785587 | 0.753933 | 0.753081 | 40960 |
|
| 66 |
| weighted avg | 0.781743 | 0.762646 | 0.755826 | 40960 |
|
| 67 |
|
|
|
|
| 68 |
## How to use
|
| 69 |
```python
|
| 70 |
from transformers import XLMRobertaTokenizerFast, XLMRobertaForSequenceClassification
|
|
@@ -132,9 +135,4 @@ formality_scores
|
|
| 132 |
|
| 133 |
## Licensing Information
|
| 134 |
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
[![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]
|
| 138 |
-
|
| 139 |
-
[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
|
| 140 |
-
[cc-by-nc-sa-image]: https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png
|
|
|
|
| 8 |
- formal or informal classification
|
| 9 |
licenses:
|
| 10 |
- cc-by-nc-sa
|
| 11 |
+
license: openrail++
|
| 12 |
+
base_model:
|
| 13 |
+
- FacebookAI/xlm-roberta-base
|
| 14 |
---
|
| 15 |
|
| 16 |
+
XLM-Roberta-based classifier trained on [XFORMAL](https://aclanthology.org/2021.naacl-main.256.bib) -- a multilingual formality classification dataset.
|
| 17 |
|
| 18 |
|
| 19 |
+
all languages
|
| 20 |
|
| 21 |
| | precision | recall | f1-score | support |
|
| 22 |
|--------------|-----------|----------|----------|---------|
|
|
|
|
| 67 |
| macro avg | 0.785587 | 0.753933 | 0.753081 | 40960 |
|
| 68 |
| weighted avg | 0.781743 | 0.762646 | 0.755826 | 40960 |
|
| 69 |
|
| 70 |
+
|
| 71 |
## How to use
|
| 72 |
```python
|
| 73 |
from transformers import XLMRobertaTokenizerFast, XLMRobertaForSequenceClassification
|
|
|
|
| 135 |
|
| 136 |
## Licensing Information
|
| 137 |
|
| 138 |
+
This model is licensed under the OpenRAIL++ License, which supports the development of various technologies—both industrial and academic—that serve the public good.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|