Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:** Multi-label classification for communicative act actions
|
| 24 |
+
- **Classes:**
|
| 25 |
+
- `informing statement`
|
| 26 |
+
- `challenge`
|
| 27 |
+
- `rejection`
|
| 28 |
+
- `appreciation`
|
| 29 |
+
- `request`
|
| 30 |
+
- `question`
|
| 31 |
+
- `acceptance`
|
| 32 |
+
- `apology`
|
| 33 |
+
- `evaluation`
|
| 34 |
+
- `proposal`
|
| 35 |
+
- `denial`
|
| 36 |
+
- `admission`
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
### How to Use the Model
|
| 41 |
+
|
| 42 |
+
To use this model, you will need the original code from our paper, available here:
|
| 43 |
+
[Acts in Crisis Narratives - GitHub Repository](https://github.com/Aalto-CRAI-CIS/Acts-in-crisis-narratives/tree/main/few_shot_learning/AdapterModel)
|
| 44 |
+
|
| 45 |
+
#### Steps to Load and Use the Fine-Tuned Model:
|
| 46 |
+
|
| 47 |
+
1. Add your test task method to `seq2seq/data/task.py`, similar to other task methods.
|
| 48 |
+
2. Modify `adapter_inference.sh` to include your test task's information and this model's name, and then run it.
|
| 49 |
+
|
| 50 |
+
```bash
|
| 51 |
+
--model_name_or_path CrisisNarratives/adapter-13classes-multi_label
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
For detailed instructions, refer to the GitHub repository linked above.
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
### Citation
|
| 59 |
+
|
| 60 |
+
If you use this model in your work, please cite:
|
| 61 |
+
|
| 62 |
+
##### TO BE ADDED.
|
| 63 |
+
|
| 64 |
+
### Questions or Feedback?
|
| 65 |
+
|
| 66 |
+
For questions or feedback, please reach out via our [contact form](mailto:[email protected]).
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
|