Skip to content

hclent/creole-dro

Repository files navigation

[UNDER CONSTRUCTION] "On Language Models for Creoles"

This is the associated code for the CoNLL 2021 paper "On Language Models for Creoles".

Our Models on Hugging Face

Link forthcoming before CoNLL!

Environment Setup

conda create -n creole python=3.6

Environment requirements:

torch==1.8.0
transformers==4.4.2
pytorch-lightning
docopt
logzero
spacy
wilds==1.0.0

Other setup:

python -m spacy download en_core_web_sm

pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-${TORCH}+${CUDA}.html
pip install torch-geometric

For example:

pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install torch-geometric

Data

Naija:

Singlish:

Haitian:

If you would like access to the Haitian Disaster Response Corpus, please contact the original authors of that work.

Data pre-processing

Edit main() of make_datasets.py, as needed.

TODO: edit this to have options, and relative paths.

Baseline pipeline

Experiment pipelines

See /experiments for examples on how to train experiments. See /experiments/creole-only/eval for examples of evaluating the systems.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published