Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
metrics:
|
6 |
+
- f1
|
7 |
+
- accuracy
|
8 |
+
base_model:
|
9 |
+
- google-t5/t5-base
|
10 |
+
library_name: transformers
|
11 |
+
---
|
12 |
+
# Computational Analysis of Communicative Acts for Understanding Crisis News Comment Discourses
|
13 |
+
|
14 |
+
The official trained models for **"Computational Analysis of Communicative Acts for Understanding Crisis News Comment Discourses"**.
|
15 |
+
|
16 |
+
This model is based on **T5-base** and uses the **Compacter** ([Compacter: Efficient Low-Rank Adaptation for Transformer Models](https://arxiv.org/abs/2106.04647)) architecture. It has been fine-tuned on our **crisis narratives dataset**.
|
17 |
+
|
18 |
+
---
|
19 |
+
|
20 |
+
### Model Information
|
21 |
+
|
22 |
+
- **Architecture:** T5-base with Compacter
|
23 |
+
- **Task:** Single-label classification for communicative act actions
|
24 |
+
- **Classes:**
|
25 |
+
- `informing statement`
|
26 |
+
- `challenge`
|
27 |
+
- `accusation`
|
28 |
+
- `rejection`
|
29 |
+
- `appreciation`
|
30 |
+
- `request`
|
31 |
+
- `question`
|
32 |
+
- `acceptance`
|
33 |
+
- `apology`
|
34 |
+
|
35 |
+
---
|
36 |
+
|
37 |
+
### How to Use the Model
|
38 |
+
|
39 |
+
To use this model, you will need the original code from our paper, available here:
|
40 |
+
[Acts in Crisis Narratives - GitHub Repository](https://github.com/Aalto-CRAI-CIS/Acts-in-crisis-narratives/tree/main/few_shot_learning/AdapterModel)
|
41 |
+
|
42 |
+
#### Steps to Load and Use the Fine-Tuned Model:
|
43 |
+
|
44 |
+
1. Add your test task method to `seq2seq/data/task.py`, similar to other task methods.
|
45 |
+
2. Modify `adapter_inference.sh` to include your task's information and this model's name, and then run it.
|
46 |
+
|
47 |
+
```bash
|
48 |
+
--model_name_or_path CrisisNarratives/adapter-9classes-single_label
|
49 |
+
```
|
50 |
+
|
51 |
+
For detailed instructions, refer to the GitHub repository linked above.
|
52 |
+
|
53 |
+
---
|
54 |
+
|
55 |
+
### Citation
|
56 |
+
|
57 |
+
If you use this model in your work, please cite:
|
58 |
+
|
59 |
+
##### TO BE ADDED.
|
60 |
+
|
61 |
+
### Questions or Feedback?
|
62 |
+
|
63 |
+
For questions or feedback, please reach out via our [contact form](mailto:faezeghorbanpour96@example.com).
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
`
|