Instructions to use andricValdez/codebert-base-finetuned-codedetection-task-A with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andricValdez/codebert-base-finetuned-codedetection-task-A with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="andricValdez/codebert-base-finetuned-codedetection-task-A")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("andricValdez/codebert-base-finetuned-codedetection-task-A") model = AutoModelForSequenceClassification.from_pretrained("andricValdez/codebert-base-finetuned-codedetection-task-A", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload tokenizer
Verified signature77d8c14 -
Upload RobertaForSequenceClassification
Verified signaturee686a1b -
Upload tokenizer
Verified signature000f485 -
Upload RobertaForSequenceClassification
Verified signature765d4eb -
Upload tokenizer
Verified signature7dd53e4 -
Upload RobertaForSequenceClassification
Verified signaturefde0ab7 -
initial commit
Verified signatureb75739f