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