Instructions to use alishudi/distil_mlm_act with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alishudi/distil_mlm_act with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alishudi/distil_mlm_act")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alishudi/distil_mlm_act") model = AutoModelForSequenceClassification.from_pretrained("alishudi/distil_mlm_act", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
d2d0a10 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:dc3d7e4ba329824d88c0d03efbdc96cc0e92cd5f3f72b101beca4d517c55e9b1
size 267852913
|