Git Product home page Git Product logo

afriteva's Introduction

AfriTeVa: Extending “Small Data” Pretraining Approaches to Sequence-to-Sequence Models

This repo contains the code for the paper AfriTeVa: Extending “Small Data” Pretraining Approaches to Sequence-to-Sequence Models AfriTeVa is a sequence to

Languages Covered During Pretraining

Afaan Oromoo(orm), Amharic(amh), Gahuza(gah), Hausa(hau), Igbo(igb), Nigerian Pidgin(pcm), Somali(som), Swahili(swa), Tigrinya(tig), Yoruba(yor)

Models:

We release the following pretrained models:

Reproducibility

Datasets

  • Language Modelling: The data for language modelling can be downloaded from this URL

  • Machine Translation: To obtain the Machine Translation dataset, please download it from this repository

  • Text Classification: To obtain the topic classification dataset, please download it from this repository

Tokenizer

We trained a Sentencepiece Unigram tokenizer for AfriTeVa, and it can be downloaded from Here However, to train a custom tokenizer, run the command below with the following arguments

  • data_path: Path to your training file/files
  • vocab_size: Size of your learned vocabulary (number of tokens)
  • output_path: Path to store learned tokenizer files
(virtual_env)$ bash learn_subword.sh ${data_path} ${vocab_size} ${output_path} 

Citation

Coming soon..

afriteva's People

Contributors

toluclassics avatar theyorubayesian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.