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