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")# 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") - Notebooks
- Google Colab
- Kaggle
Joao Gante commited on
Commit ·
5166738
1
Parent(s): 7d9dd68
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:d0c95fa470016675c996ffc1846d63f1a89725924f7028883850f5c62dc347bb
|
| 3 |
+
size 549461208
|