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")# 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") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
d04aa49 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:126f2cd5110b43be648c4af13e2d2775d33354e15f84e88c78f6767340df4356
size 357996
|