Instructions to use lxs1/DistilBertForSequenceClassification_6h_768dim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lxs1/DistilBertForSequenceClassification_6h_768dim with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lxs1/DistilBertForSequenceClassification_6h_768dim")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lxs1/DistilBertForSequenceClassification_6h_768dim") model = AutoModelForSequenceClassification.from_pretrained("lxs1/DistilBertForSequenceClassification_6h_768dim", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Fixed model card for correct training hardware to reflect Intel Developer Cloud
Verified signatureaf60c75 -
Add model card
Verified signaturede34cdc -
Upload tokenizer
Verified signatured077904 -
Upload DistilBertForSequenceClassification
Verified signature9f9198c -
initial commit
Verified signature50ebcce