Update README.md
Browse files
README.md
CHANGED
|
@@ -9,19 +9,57 @@ base_model:
|
|
| 9 |
- google-t5/t5-base
|
| 10 |
library_name: transformers
|
| 11 |
---
|
|
|
|
| 12 |
|
|
|
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
| 24 |
|
|
|
|
| 25 |
|
| 26 |
|
| 27 |
|
|
|
|
| 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 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
### How to Use the Model
|
| 37 |
+
|
| 38 |
+
To use this model, you will need the original code from our paper, available here:
|
| 39 |
+
[Acts in Crisis Narratives - GitHub Repository](https://github.com/Aalto-CRAI-CIS/Acts-in-crisis-narratives/tree/main/few_shot_learning/AdapterModel)
|
| 40 |
+
|
| 41 |
+
#### Steps to Load and Use the Fine-Tuned Model:
|
| 42 |
+
|
| 43 |
+
1. Add your test task method to `seq2seq/data/task.py`, similar to other task methods.
|
| 44 |
+
2. Modify `adapter_inference.sh` to include your test task's information and this model's name, and then run it.
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
--model_name_or_path CrisisNarratives/adapter-8classes-multi_label
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
For detailed instructions, refer to the GitHub repository linked above.
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
### Citation
|
| 55 |
|
| 56 |
+
If you use this model in your work, please cite:
|
| 57 |
|
| 58 |
+
#### TO BE ADDED.
|
| 59 |
|
| 60 |
+
### Questions or Feedback?
|
| 61 |
|
| 62 |
+
For questions or feedback, please reach out via our [contact form](mailto:faezeghorbanpour96@example.com).
|
| 63 |
|
| 64 |
|
| 65 |
|