Skip to content
Snippets Groups Projects
lmoncla's avatar
Ludovic Moncla authored
c9c23588

This repository is proposed by Khaled Chabane, Ludovic Moncla and Alice Brenon as part of the GEODE project.

Install dependencies

pip3 install -r requirements.txt

python -m spacy dowload fr_core_news_sm

Get Started

To run the script for preparing data use the following command :

python tmp_preprocess_data.py 

In order to run the classifiers, use the following command :

python experimentsClassicClassifiers.py <dataset_tsv_file> <content_column_name> <labels_column_name> <min_sample_per_class> <max_sample_per_class>

In order to run Classification with pre-trained models, use the following command :

cd experiments/

python bert_experiments.py  <model_Name> <classifier> 

Acknowledgment

The authors are grateful to the ASLAN project (ANR-10-LABX-0081) of the Université de Lyon, for its financial support within the French program "Investments for the Future" operated by the National Research Agency (ANR).