Instructions to use andreasmadsen/efficient_mlm_m0.50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andreasmadsen/efficient_mlm_m0.50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="andreasmadsen/efficient_mlm_m0.50")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("andreasmadsen/efficient_mlm_m0.50") model = AutoModelForMaskedLM.from_pretrained("andreasmadsen/efficient_mlm_m0.50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
dff34b4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cd2d5a8f007a29a8c2dde11901444dd85cc4b31dd4c7621df34f5806e67cd61e
size 1421793959
|