Home | Data | Package | Performance Scores | Predictions | Results
The folder Core is a wrapper for the HuggingFace Transformers library. This wrapper implements many higher-level functions : formatting data, training models, prediction... This makes HuggingFace Transformers easier to use for people lacking a computer science background when dealing with non-standard textual data.
WARNING : recent GPU required. Our configuration (and subsequent batch size) makes use of a NVidia V100 (can be used for free using Google Colab for instance)
Software
- Unix-based OS (OSX/Linux)
- Recent version of pip
- [Optionnal] Conda (we recommend installing miniconda). Conda enables to install all needed packages in a news, clean environment separated from the user's base environment.
Hardware
- GPU : we use one Nvidia V100, which has 32Go of RAM. Batch sizes of our models were computed so that they make full use of the graphic cards.
cd Core
conda create --name AugmentedSocialScientist python pip jupyter
conda activate AugmentedSocialScientist
pip install .
cd ..pip uninstall AugmentedSocialScientistconda not found-> Make sure that conda is properly configured with your shell (addexport PATH="/home/username/miniconda3/bin:$PATH"in your.bash_profileor tryconda init --help)No matching distribution found for ...-> Update your version of pip, or use pip3- In case this doesn't work, you can install by yourself the packages listed in
Core/setup.py