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