🚀 Launch our application by following the steps below:
#### 🚀 Launch our application by following the steps below:
```bash
./main.py <COMMAND> <ARGUMENTS>...
...
...
@@ -215,13 +215,13 @@ For `<COMMAND>` you must enter one of the commands you find in the list below, w
|🔛 **`-tb`**/**`--test_batch_size`**|Specifies the batch size for the test process.|Default is $16$.|
📝 If you want to use our *backtranslation* code, you must execute the following:
#### 📝 If you want to use our *backtranslation* code, you must execute the following:
```bash
python3 Code/backtranslate.py
```
🎥 If you want to see a demo of our model, you can enter your own sentence and let the model predict if a target word is used in its `literal` or `non-literal` sense:
#### 🎥 If you want to see a demo of our model, you can enter your own sentence and let the model predict if a target word is used in its `literal` or `non-literal` sense:
```bash
python3 inference.py
...
...
@@ -234,8 +234,9 @@ python3 inference.py
## 🏯 Code-Structure <a name="code-structure"></a>
- ⚙️ [`requirements.txt`](requirements.txt): All necessary modules to install.
- 📱 [`main.py`](main.py): Our main code file which does ...
- 💻 [`Code`](code): Here, you can find all code files for our different models and data augmentation methods.
- 📱 [`main.py`](main.py): Our main code file is responsible for organizing input options and calling the necessary functions to preprocess datasets, train the model, and evaluate it on a test set.
- 🎥 [`inference.py`](inference.py): Run a demo version of our to test if an input sentence contains a metonymy.
- 💻 [`Code`](code): Here, you can find all code files for our different models and data augmentation methods, as well as a [`submit_template.sh`](Code/submit_template.sh).
- 📀 [`data`](data): Find all datasets in this folder.