Instructions to use hf-internal-testing/tiny-random-DebertaV2ForMaskedLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-DebertaV2ForMaskedLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hf-internal-testing/tiny-random-DebertaV2ForMaskedLM")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-DebertaV2ForMaskedLM") model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/tiny-random-DebertaV2ForMaskedLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
4b7a4b8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c8d173965cfbfb869b7392f6088a5666acb6e0cb60c59c06db01cd70d691f067
size 17119144
|