Instructions to use dandelin/vilt-b32-mlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dandelin/vilt-b32-mlm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="dandelin/vilt-b32-mlm")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMaskedLM processor = AutoProcessor.from_pretrained("dandelin/vilt-b32-mlm") model = AutoModelForMaskedLM.from_pretrained("dandelin/vilt-b32-mlm", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
369adb1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e9437103e694deabdba02cbb9220caa184b82f21b956ca837a08e9d5015dff40
size 542716055
|