Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 13 |
+
|
| 14 |
+
The official trained models for "Computational Analysis of Communicative Acts for Understanding Crisis News Comment Discourses". The model is based on T5-base, and we used the [Compacter](https://arxiv.org/abs/2106.04647) model and fine-tuned it on our crisis narratives dataset.
|
| 15 |
+
|
| 16 |
+
To use the model, you need the original code of our paper from the following link:
|
| 17 |
+
[Access the Code](https://github.com/Aalto-CRAI-CIS/Acts-in-crisis-narratives/tree/main/few_shot_learning/AdapterModel)
|
| 18 |
+
|
| 19 |
+
Follow the guidelines, and in the execution script (`adapter.sh`), make the following changes to load this fine-tuned model:
|
| 20 |
+
|
| 21 |
+
1. Add your test task method to `seq2seq/data/task.py`, similar to other task methods.
|
| 22 |
+
|
| 23 |
+
2. Modify `adapter_inference.sh` with your test task information and run it.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|