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