castorini / afriteva_large

huggingface.co
Total runs: 127
24-hour runs: 0
7-day runs: 6
30-day runs: 94
Model's Last Updated: June 30 2024
text2text-generation

Introduction of afriteva_large

Model Details of afriteva_large

Hugging Face's logo

language:

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

afriteva_large

Model desription

AfriTeVa large 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
  • 745M parameters encoder-decoder architecture (T5-like)
  • 12 layers, 12 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_large 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_large")
>>> model = AutoModelForSeq2SeqLM.from_pretrained("castorini/afriteva_large")

>>> 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_large on huggingface.co

127
Total runs
0
24-hour runs
-2
3-day runs
6
7-day runs
94
30-day runs

More Information About afriteva_large huggingface.co Model

afriteva_large huggingface.co

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

afriteva_large huggingface.co Url

https://huggingface.co/castorini/afriteva_large

castorini afriteva_large online free

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

castorini afriteva_large online free url in huggingface.co:

https://huggingface.co/castorini/afriteva_large

afriteva_large install

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

afriteva_large install url in huggingface.co:

https://huggingface.co/castorini/afriteva_large

Url of afriteva_large

afriteva_large huggingface.co Url

Provider of afriteva_large huggingface.co

castorini
ORGANIZATIONS

Other API from castorini

huggingface.co

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