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