Skip to content

Commit 2fdc805

Browse files
committed
Updated website with test set
1 parent e51c67a commit 2fdc805

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

_pages/mm-argfallacy2025.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,48 @@ Ensure that you have MAMKit installed and properly configured in your environmen
127127

128128
For more details, refer to the MAMKit [GitHub repository](https://github.com/nlp-unibo/mamkit) and [website](https://nlp-unibo.github.io/mamkit/) .
129129

130+
## Test Set Access 🔍
131+
132+
The test set for **mm-argfallacy-2025** is now available! To use it, please:
133+
134+
1. Create a fresh environment
135+
2. Install the latest version of `mamkit` (v0.1.2):
136+
137+
```bash
138+
pip install mamkit
139+
```
140+
141+
Then, retrieve the data using the following code:
142+
143+
### For **Fallacy Classification** (`afc`):
144+
```python
145+
from mamkit.data.datasets import MMUSEDFallacy, InputMode
146+
from pathlib import Path
147+
148+
def loading_data_example():
149+
base_data_path = Path(__file__).parent.parent.resolve().joinpath('data')
150+
loader = MMUSEDFallacy(
151+
task_name='afc',
152+
input_mode=InputMode.TEXT_ONLY, # or TEXT_AUDIO or AUDIO_ONLY
153+
base_data_path=base_data_path
154+
)
155+
split_info = loader.get_splits('mm-argfallacy-2025')
156+
```
157+
158+
### For **Fallacy Detection** (`afd`):
159+
```python
160+
from mamkit.data.datasets import MMUSEDFallacy, InputMode
161+
from pathlib import Path
162+
163+
def loading_data_example():
164+
base_data_path = Path(__file__).parent.parent.resolve().joinpath('data')
165+
loader = MMUSEDFallacy(
166+
task_name='afd',
167+
input_mode=InputMode.TEXT_ONLY, # or TEXT_AUDIO or AUDIO_ONLY
168+
base_data_path=base_data_path
169+
)
170+
split_info = loader.get_splits('mm-argfallacy-2025')
171+
```
130172

131173
### References
132174

0 commit comments

Comments
 (0)