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