Run this model with HF Jobs
Run dsfsi/zabantu-ven-120m on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/dsfsi/zabantu-ven-120m. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/dsfsi/zabantu-ven-120m on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use dsfsi/zabantu-ven-120m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dsfsi/zabantu-ven-120m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="dsfsi/zabantu-ven-120m")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("dsfsi/zabantu-ven-120m") model = AutoModelForMaskedLM.from_pretrained("dsfsi/zabantu-ven-120m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Zabantu - Tshivenda
This is a variant of Zabantu pre-trained on a monolingual dataset of Tshivenda(ven) sentences on a transformer network with 120 million traininable parameters.
Usage Example(s)
from transformers import pipeline
# Initialize the pipeline for masked language model
unmasker = pipeline('fill-mask', model='dsfsi/zabantu-ven-120m')
sample_sentences = ["Rabulasi wa <mask> u khou bvelela nga u lima",
"Vhana vhane vha kha ḓi bva u bebwa vha kha khombo ya u <mask> nga Listeriosis"]
# Perform the fill-mask task
results = unmasker(sentence)
# Display the results
for result in results:
print(f"Predicted word: {result['token_str']} - Score: {result['score']}")
print(f"Full sentence: {result['sequence']}\n")
print("=" * 80)
- Downloads last month
- 10