Instructions to use theyorubayesian/afro_xlmr_dpr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theyorubayesian/afro_xlmr_dpr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="theyorubayesian/afro_xlmr_dpr")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("theyorubayesian/afro_xlmr_dpr") model = AutoModel.from_pretrained("theyorubayesian/afro_xlmr_dpr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76cd079fa8014c76870d678def3213d3e2c793f008704034b20a19c2e3baad73
|
| 3 |
+
size 1112201288
|