This is a port of UBC-NLP's AfroLID from FairSeq to Pytorch. Refer to the original repository for license and citation info.
You'll need Poetry. Then run poetry install
from the afrolid
working directory.
- Currently, the model's probabilities are a little off the Fairseq implementation. This may be related to the position ids and embedding.