eevvgg commited on
Commit
3f08d85
1 Parent(s): fbd0912

up readme Stance-Tw

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -8,7 +8,7 @@ language:
8
  - en
9
 
10
  model-index:
11
- - name: BEtMan-Tw
12
  results:
13
  - task:
14
  type: stance-classification # Required. Example: automatic-speech-recognition
@@ -26,7 +26,7 @@ model-index:
26
  <!-- This model card has been generated automatically according to the information Keras had access to. You should
27
  probably proofread and complete it, then remove this comment. -->
28
 
29
- # BEtMan-Tw
30
 
31
  This model is a fine-tuned version of [j-hartmann/sentiment-roberta-large-english-3-classes](https://huggingface.co/j-hartmann/sentiment-roberta-large-english-3-classes) to predict 3 categories of author stance (attack, support, neutral) towards an entity mentioned in the text.
32
 
@@ -39,7 +39,7 @@ This model is a fine-tuned version of [j-hartmann/sentiment-roberta-large-englis
39
  # Model usage
40
  from transformers import pipeline
41
 
42
- model_path = "eevvgg/BEtMan-Tw"
43
  cls_task = pipeline(task = "text-classification", model = model_path, tokenizer = model_path)#, device=0
44
 
45
  sequence = ['his rambling has no clear ideas behind it',
@@ -81,8 +81,8 @@ It achieves the following results on the evaluation set:
81
 
82
  precision recall f1-score support
83
 
84
- 0 0.762 0.770 0.766 200
85
- 1 0.759 0.775 0.767 191
86
- 2 0.769 0.714 0.741 84
87
 
88
 
 
8
  - en
9
 
10
  model-index:
11
+ - name: Stance-Tw
12
  results:
13
  - task:
14
  type: stance-classification # Required. Example: automatic-speech-recognition
 
26
  <!-- This model card has been generated automatically according to the information Keras had access to. You should
27
  probably proofread and complete it, then remove this comment. -->
28
 
29
+ # Stance-Tw
30
 
31
  This model is a fine-tuned version of [j-hartmann/sentiment-roberta-large-english-3-classes](https://huggingface.co/j-hartmann/sentiment-roberta-large-english-3-classes) to predict 3 categories of author stance (attack, support, neutral) towards an entity mentioned in the text.
32
 
 
39
  # Model usage
40
  from transformers import pipeline
41
 
42
+ model_path = "eevvgg/Stance-Tw"
43
  cls_task = pipeline(task = "text-classification", model = model_path, tokenizer = model_path)#, device=0
44
 
45
  sequence = ['his rambling has no clear ideas behind it',
 
81
 
82
  precision recall f1-score support
83
 
84
+ neutral 0.762 0.770 0.766 200
85
+ positive 0.759 0.775 0.767 191
86
+ negative 0.769 0.714 0.741 84
87
 
88