Instructions to use AdapterHub/xmod-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdapterHub/xmod-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AdapterHub/xmod-base") model = AutoModel.from_pretrained("AdapterHub/xmod-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from AdapterHub/xmod-base: direct link, hf CLI and curl.
- Browser
- Download file 1.14 GB
-
https://huggingface.co/AdapterHub/xmod-base/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://AdapterHub/xmod-base@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/AdapterHub/xmod-base/resolve/refs%2Fpr%2F1/model.safetensors
1.14 GB
- Xet hash:
- 14357338ea079d92758af6bf7919d1322980bbaa9b4be709ad8b058f9d262440
- Size of remote file:
- 1.14 GB
- SHA256:
- 5b80b8af9a62d41c5a4d7e7523ea1ff6e5cec605a7f3f8aff4c06768b44056fa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.