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