Piotr Czapla 70c74a1cc5 Refactor tokenization
So that we can instantiate tokenization before we know what dataset we want to use it on. Previously it was tidly copuled.
2019-10-15 04:17:54 +02:00
2019-10-15 04:17:54 +02:00
2019-10-15 04:17:54 +02:00
2018-11-08 20:33:10 +01:00
2019-02-13 10:50:01 -03:00
2019-09-07 16:19:09 +02:00
2018-11-19 06:50:50 +00:00
2018-11-15 23:41:02 +01:00
2019-10-15 04:17:54 +02:00
2019-10-15 00:09:18 +02:00
2019-05-14 02:30:25 +02:00

Retraining a multifit model from wikipedia

The whole training process from wikipedia to mldoc can be run as follows:

python -m ulmfit new multifit_fp16 \
    pretrain-lm train- data/wiki/de-100 - \
    finetune-lm train- data/mldoc/de-1 - \
    classifier train- data/mldoc/de-1

You can evaulate any model with the following command:

python -m ulmfit load data/mldoc/de-1/models/fsp15k/multfit_fp16 classifier validate data/mldoc/de-1
python -m ulmfit new multifit_fp16_nl3 pretrain-lm train- data/wiki/wikitext-103

S
Description
The code to reproduce results from paper "MultiFiT: Efficient Multi-lingual Language Model Fine-tuning" https://arxiv.org/abs/1909.04761
Readme MIT
1.5 MiB
Languages
Jupyter Notebook 67.3%
Python 31.1%
Shell 1.6%