Skip to content
Snippets Groups Projects
README.md 980 B
Newer Older
Ludovic Moncla's avatar
Ludovic Moncla committed

Ludovic Moncla's avatar
Ludovic Moncla committed
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

Ludovic Moncla's avatar
Ludovic Moncla committed
    python -m spacy dowload fr_core_news_sm


Ludovic Moncla's avatar
Ludovic Moncla committed

# 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>

Khalleud's avatar
Khalleud committed
In order to run Classification with pre-trained models, use the following command :

   
    cd experiments/
    
    python bert_experiments.py  <model_Name> <classifier> 
Ludovic Moncla's avatar
Ludovic Moncla committed

# Acknowledgment

Khalleud's avatar
Khalleud committed
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).