dardem commited on
Commit
0bef4b0
1 Parent(s): 482337a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -1
README.md CHANGED
@@ -1,3 +1,40 @@
1
  ---
2
- license: cc-by-nc-2.0
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+
5
+ tags:
6
+ - formality
7
+
8
+ licenses:
9
+ - cc-by-nc-sa
10
  ---
11
+
12
+
13
+ **Model Overview**
14
+
15
+ This is the model presented in the paper "Detecting Text Formality: A Study of Text Classification Approaches".
16
+
17
+ The original model is [DeBERTa (large)](https://huggingface.co/microsoft/deberta-v3-large). Then, it was fine-tuned on the English corpus for fomality classiication [GYAFC](https://arxiv.org/abs/1803.06535).
18
+ In our experiments, the model showed the best results within Transformer-based models for the task. More details, code and data can be found [here](https://github.com/s-nlp/paradetox).
19
+
20
+ **How to use**
21
+ ```python
22
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
23
+ model_name = 'deberta-large-formality-ranker'
24
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
25
+ model = AutoModelForSequenceClassification.from_pretrained(model_name)
26
+ ```
27
+
28
+ **Citation**
29
+ ```
30
+ TBD
31
+ ```
32
+
33
+ ## Licensing Information
34
+
35
+ [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].
36
+
37
+ [![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]
38
+
39
+ [cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
40
+ [cc-by-nc-sa-image]: https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png