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: 129 Bytes
8803abf | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4f90481a21a7b5cfaf7e202b9687e4f67272fceca6e7524600e9c04517e8ad7b
size 2991
|