Update README.md
Browse files
README.md
CHANGED
|
@@ -1,42 +1,48 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for Model ID
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
## Model Details
|
| 13 |
|
| 14 |
### Model Description
|
| 15 |
|
| 16 |
-
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
|
| 18 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 19 |
|
| 20 |
-
- **Developed by:** [
|
| 21 |
-
- **
|
| 22 |
-
- **
|
| 23 |
-
- **
|
| 24 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
-
- **License:** [More Information Needed]
|
| 26 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
|
| 28 |
### Model Sources [optional]
|
| 29 |
|
| 30 |
-
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
- **Repository:** [More Information Needed]
|
| 33 |
-
- **Paper [optional]:** [More Information Needed]
|
| 34 |
-
- **Demo [optional]:** [More Information Needed]
|
| 35 |
|
| 36 |
## Uses
|
| 37 |
|
| 38 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
-
|
| 40 |
### Direct Use
|
| 41 |
|
| 42 |
Please proceed the following example **that purely relies on tranformers and torch**.
|
|
@@ -104,33 +110,24 @@ The response is as follows:
|
|
| 104 |
|
| 105 |
### Downstream Use [optional]
|
| 106 |
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
|
|
|
| 110 |
|
| 111 |
### Out-of-Scope Use
|
| 112 |
|
| 113 |
-
|
|
|
|
|
|
|
| 114 |
|
| 115 |
-
[More Information Needed]
|
| 116 |
-
|
| 117 |
-
## Bias, Risks, and Limitations
|
| 118 |
-
|
| 119 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 120 |
-
|
| 121 |
-
[More Information Needed]
|
| 122 |
|
| 123 |
### Recommendations
|
| 124 |
|
| 125 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 126 |
-
|
| 127 |
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 128 |
|
| 129 |
## How to Get Started with the Model
|
| 130 |
|
| 131 |
-
Use the code below to get started with the model.
|
| 132 |
-
|
| 133 |
-
[More Information Needed]
|
| 134 |
|
| 135 |
## Training Details
|
| 136 |
|
|
@@ -185,7 +182,4 @@ Use the code below to get started with the model.
|
|
| 185 |
|
| 186 |
### Results
|
| 187 |
|
| 188 |
-
[More Information Needed]
|
| 189 |
-
|
| 190 |
-
|
| 191 |
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- emotion-extraction
|
| 5 |
+
- emotion-cause-prediction
|
| 6 |
+
license: mit
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
metrics:
|
| 10 |
+
- f1
|
| 11 |
+
pipeline_tag: text-generation
|
| 12 |
---
|
| 13 |
|
| 14 |
# Model Card for Model ID
|
| 15 |
|
| 16 |
+
This model represent a fine-tuned version on the [Emotion-Cause Analysis in Context (ECAC) data](https://nustm.github.io/SemEval-2024_ECAC/) and aimed at answering the following problems:
|
| 17 |
+
1. **Emotion extraction** for the speaker in coversation context
|
| 18 |
+
2. **Emotion cause**, that originates from the speaker of first utterance to the other speaker of the following utterance.
|
| 19 |
|
| 20 |
+
This model choses the answers according to the following list of choices:
|
| 21 |
+
|
| 22 |
+
["anger", "disgust", "fear", "joy", "sadness", "surprise", "neutral"]
|
| 23 |
|
| 24 |
|
| 25 |
## Model Details
|
| 26 |
|
| 27 |
### Model Description
|
| 28 |
|
|
|
|
| 29 |
|
| 30 |
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
| 31 |
|
| 32 |
+
- **Developed by:** Reforged by [nicolay-r](https://github.com/nicolay-r), initial credits for implementation to [scofield7419](https://github.com/scofield7419)
|
| 33 |
+
- **Model type:** [Flan-T5](https://huggingface.co/docs/transformers/en/model_doc/flan-t5)
|
| 34 |
+
- **Language(s) (NLP):** English
|
| 35 |
+
- **License:** [Apache License 2.0](https://github.com/scofield7419/THOR-ISA/blob/main/LICENSE.txt)
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
### Model Sources [optional]
|
| 38 |
|
| 39 |
+
- **Repository:** [Reasoning-for-Sentiment-Analysis-Framework](https://github.com/nicolay-r/Reasoning-for-Sentiment-Analysis-Framework)
|
| 40 |
+
- **Paper:** https://huggingface.co/papers/2404.03361
|
| 41 |
+
- **Demo:** https://github.com/nicolay-r/THOR-ECAC/blob/master/SemEval_2024_Task_3_FlanT5_Finetuned_Model_Usage.ipynb
|
| 42 |
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
## Uses
|
| 45 |
|
|
|
|
|
|
|
| 46 |
### Direct Use
|
| 47 |
|
| 48 |
Please proceed the following example **that purely relies on tranformers and torch**.
|
|
|
|
| 110 |
|
| 111 |
### Downstream Use [optional]
|
| 112 |
|
| 113 |
+
The details of the downstream usage could be found in the
|
| 114 |
+
[related section of the project on Github](https://github.com/nicolay-r/THOR-ECAC?tab=readme-ov-file#training-and-evaluating-with-flan-t5)
|
| 115 |
+
or
|
| 116 |
+
within the related [notebook on GoogleColab](https://github.com/nicolay-r/THOR-ECAC/blob/master/THoR_Finetuning_SemEval2023_t3_1_public.ipynb)
|
| 117 |
|
| 118 |
### Out-of-Scope Use
|
| 119 |
|
| 120 |
+
This model represent a fine-tuned version of the Flan-T5 on [ECAC-2024 competition](https://nustm.github.io/SemEval-2024_ECAC/) dataset of conversations from the F.R.I.E.N.D.S. TV Show.
|
| 121 |
+
Since dataset represent three-scale output answers ["anger", "disgust", "fear", "joy", "sadness", "surprise", "neutral"]
|
| 122 |
+
the behavior in general might be biased to this particular task.
|
| 123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
|
| 125 |
### Recommendations
|
| 126 |
|
|
|
|
|
|
|
| 127 |
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 128 |
|
| 129 |
## How to Get Started with the Model
|
| 130 |
|
|
|
|
|
|
|
|
|
|
| 131 |
|
| 132 |
## Training Details
|
| 133 |
|
|
|
|
| 182 |
|
| 183 |
### Results
|
| 184 |
|
|
|
|
|
|
|
|
|
|
| 185 |
|