castorini / afriteva_small

huggingface.co
Total runs: 128
24-hour runs: 0
7-day runs: 15
30-day runs: 108
Model's Last Updated: June 30 2024
text2text-generation

Introduction of afriteva_small

Model Details of afriteva_small

Hugging Face's logo

language:

  • om
  • am
  • rw
  • rn
  • ha
  • ig
  • pcm
  • so
  • sw
  • ti
  • yo
  • multilingual tags:
  • T5

afriteva_small

Model desription

AfriTeVa small is a sequence to sequence model pretrained on 10 African languages

Languages

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

More information on the model, dataset:
The model
  • 64M parameters encoder-decoder architecture (T5-like)
  • 6 layers, 8 attention heads and 512 token sequence length
The dataset
  • Multilingual: 10 African languages listed above
  • 143 Million Tokens (1GB of text data)
  • Tokenizer Vocabulary Size: 70,000 tokens
Intended uses & limitations

afriteva_small is pre-trained model and primarily aimed at being fine-tuned on multilingual sequence-to-sequence tasks.

>>> from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
>>> tokenizer = AutoTokenizer.from_pretrained("castorini/afriteva_small")
>>> model = AutoModelForSeq2SeqLM.from_pretrained("castorini/afriteva_small")
>>> src_text = "Ó hùn ọ́ láti di ara wa bí?"
>>> tgt_text =  "Would you like to be?"
>>> model_inputs = tokenizer(src_text, return_tensors="pt")
>>> with tokenizer.as_target_tokenizer():
        labels = tokenizer(tgt_text, return_tensors="pt").input_ids
>>> model(**model_inputs, labels=labels) # forward pass
Training Procedure

For information on training procedures, please refer to the AfriTeVa paper or repository

BibTex entry and Citation info

coming soon ...

Runs of castorini afriteva_small on huggingface.co

128
Total runs
0
24-hour runs
1
3-day runs
15
7-day runs
108
30-day runs

More Information About afriteva_small huggingface.co Model

afriteva_small huggingface.co

afriteva_small huggingface.co is an AI model on huggingface.co that provides afriteva_small's model effect (), which can be used instantly with this castorini afriteva_small model. huggingface.co supports a free trial of the afriteva_small model, and also provides paid use of the afriteva_small. Support call afriteva_small model through api, including Node.js, Python, http.

afriteva_small huggingface.co Url

https://huggingface.co/castorini/afriteva_small

castorini afriteva_small online free

afriteva_small huggingface.co is an online trial and call api platform, which integrates afriteva_small's modeling effects, including api services, and provides a free online trial of afriteva_small, you can try afriteva_small online for free by clicking the link below.

castorini afriteva_small online free url in huggingface.co:

https://huggingface.co/castorini/afriteva_small

afriteva_small install

afriteva_small is an open source model from GitHub that offers a free installation service, and any user can find afriteva_small on GitHub to install. At the same time, huggingface.co provides the effect of afriteva_small install, users can directly use afriteva_small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

afriteva_small install url in huggingface.co:

https://huggingface.co/castorini/afriteva_small

Url of afriteva_small

afriteva_small huggingface.co Url

Provider of afriteva_small huggingface.co

castorini
ORGANIZATIONS

Other API from castorini

huggingface.co

Total runs: 123
Run Growth: 119
Growth Rate: 96.75%
Updated: November 05 2021