Instructions to use sultan/ArabicDPR_Question_Encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sultan/ArabicDPR_Question_Encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sultan/ArabicDPR_Question_Encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sultan/ArabicDPR_Question_Encoder") model = AutoModel.from_pretrained("sultan/ArabicDPR_Question_Encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from sultan/ArabicDPR_Question_Encoder: direct link, hf CLI and curl.
- Browser
- Download file 538 MB
-
https://huggingface.co/sultan/ArabicDPR_Question_Encoder/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://sultan/ArabicDPR_Question_Encoder@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/sultan/ArabicDPR_Question_Encoder/resolve/refs%2Fpr%2F1/model.safetensors
538 MB
- Xet hash:
- abda4926d024c843560a35258e713ce443ad16d410ccc178b880cf05d9c9f051
- Size of remote file:
- 538 MB
- SHA256:
- 206418133543d65b9192bad2b4ebcd75289fac275f3a08cded2f8825523e8960
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.