Instructions to use M-CLIP/M-BERT-Base-ViT-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use M-CLIP/M-BERT-Base-ViT-B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="M-CLIP/M-BERT-Base-ViT-B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("M-CLIP/M-BERT-Base-ViT-B") model = AutoModel.from_pretrained("M-CLIP/M-BERT-Base-ViT-B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download flax_model.msgpack from M-CLIP/M-BERT-Base-ViT-B: direct link, hf CLI and curl.
- Browser
- Download file 711 MB
-
https://huggingface.co/M-CLIP/M-BERT-Base-ViT-B/resolve/main/flax_model.msgpack
- Command line
-
hf download hf://M-CLIP/M-BERT-Base-ViT-B/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/M-CLIP/M-BERT-Base-ViT-B/resolve/main/flax_model.msgpack
711 MB
- Xet hash:
- 2c67f6ed58c9f3375c31d3128e2b347f596b5afad9187f7de0e0f0e6dbd28cfd
- Size of remote file:
- 711 MB
- SHA256:
- 87397c2e918535755856b322bd07cc894cc4ca39340c8440d0c4b9c62b4db39c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.