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