Some utililties to help you using fastai2 to train huggingface transformers.
pip3 install git+https://github.com/cwza/fastai_transformers_utils.git
Please see the notebooks that named start with example and under nbs directory.
git clone https://github.com/cwza/fastai_transformers_utils
cd fastai_transformers_utils
make install
- Modify notebooks in nbs folder (Write unit tests in the same notebook and create new notebook to write integration test)
make build-lib
to update python filesmake test
to run unit testmake test-slow
to run integration testmake build-all
to run build-lib, build-docs, clean-nbsgit add commit and push