You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Text Classification |[AGNews, Yelp, Amazon, DBPedia, Yahoo](http://goo.gl/JyCnZq)|
33
+
34
+
In order to unify the format of all the dataset, we first ran the code in https://github.com/salesforce/decaNLP to get the first 10 tranformed dataset, and then converted them into Squad-like format. For the last 5 dataset, we converted them directly. All converted dataset are available [here](https://drive.google.com/file/d/1rWcgnVcNpwxmBI3c5ovNx-E8XKOEL77S/view?usp=sharing).
20
35
21
36
## Dependencies
22
37
- Ubuntu >= 16.04
@@ -31,7 +46,7 @@ We first ran the code in https://github.com/salesforce/decaNLP to get the datase
31
46
1. Create the following two directories in wherever you want. (you can name the directories arbitrarily):
32
47
-`data directory`: Where the dataset will be load by the model.
33
48
-`model directory`: The place for the model to dump its outputs.
34
-
2. Download the dataset: . After decompression, move all the files in the decompressed directory into `data directory`.
49
+
2. Download the dataset: Download [here](https://drive.google.com/file/d/1rWcgnVcNpwxmBI3c5ovNx-E8XKOEL77S/view?usp=sharing) and decompress it. After decompression, move all the files in the decompressed directory into `data directory`.
35
50
3. Make a copy of `env.example` and save it as `env`. In `env`, set the value of DATA_DIR as `data directory` and set the value of MODEL_ROOT_DIR as `model directory`.
36
51
4. Before training or testing, load DATA_DIR and MODEL_ROOT_DIR variables into shell environment by the following command:
37
52
```bash
@@ -98,4 +113,6 @@ This example test the model trained on sst, srl and woz.en by finetune method.
98
113
After running testing program, the metrics: `metrics.json` will be dumped in the same directory of Training's outputs.
99
114
100
115
## Acknowledgements:
101
-
116
+
- We use the language model offered by [transformers](https://github.com/huggingface/transformers), a great state-of-the-art natural language processing models library by Thomas Wolf et al.
117
+
- The implementation of MAS refer to [MAS-Memory-Aware-Synapses](https://github.com/rahafaljundi/MAS-Memory-Aware-Synapses), a great Memory Aware Synapses method implementation code by Aljundi R. et al.
118
+
- Data format conversion refer to [decaNLP](https://github.com/salesforce/decaNLP), a great The Natural Language Decathlon: Multitask Learning as Question Answering implementation code by Bryan McCann et al.
0 commit comments