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