Text Classification
Transformers
Safetensors
roberta
code
programming-language-identification
text-embeddings-inference
Instructions to use pecan-anon/codebert-pecan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pecan-anon/codebert-pecan with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pecan-anon/codebert-pecan")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("pecan-anon/codebert-pecan") model = AutoModelForSequenceClassification.from_pretrained("pecan-anon/codebert-pecan", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
12 days ago
-
Model card: label casing, exact base model
Verified signature95cb5a5 -
Model card with training configuration
Verified signature1591719 -
codebert-pecan checkpoint
Verified signature1e2a7d1 -
initial commit
Verified signature29ed193