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