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