Instructions to use castorini/afriberta_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use castorini/afriberta_base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="castorini/afriberta_base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("castorini/afriberta_base") model = AutoModelForMaskedLM.from_pretrained("castorini/afriberta_base") - Notebooks
- Google Colab
- Kaggle
Joao Gante commited on
Commit ·
95b703f
1
Parent(s): e6b6fab
Add TF weights
Browse files- tf_model.h5 +3 -0
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f06952d1b118812ce2507a24331fafc057747abc040c11d9063c7b29ff8717e
|
| 3 |
+
size 662955744
|