Instructions to use ChengZ2003/my-TinyBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChengZ2003/my-TinyBert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ChengZ2003/my-TinyBert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ChengZ2003/my-TinyBert") model = AutoModelForSequenceClassification.from_pretrained("ChengZ2003/my-TinyBert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload 7 files
Verified signature5974c30 -
Upload 6 files
Verified signature4c83730 -
initial commit
Verified signature7f9e394