Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use namesarnav/causalbench_code-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use namesarnav/causalbench_code-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="namesarnav/causalbench_code-roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("namesarnav/causalbench_code-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("namesarnav/causalbench_code-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
ce76df0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bec329afbd872d5d254829dde4418918999b2b180b5d539f6a1b498200ca47cd
size 5905
|