Instructions to use castorini/afriberta_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use castorini/afriberta_small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="castorini/afriberta_small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("castorini/afriberta_small") model = AutoModelForMaskedLM.from_pretrained("castorini/afriberta_small", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add TF weights
Joao Gante5166738
-
addeded citation
7d9dd68
-
updated model card
d39b301 -
added model card
51f514b -
added model card
08d4236 -
added model card
cff5df0 -
added model card
523fc48 -
initial commit
7400082 -
initial commit
57118d7