How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="buelfhood/CodeBERT_TrBCB_ChaFT")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("buelfhood/CodeBERT_TrBCB_ChaFT")
model = AutoModelForSequenceClassification.from_pretrained("buelfhood/CodeBERT_TrBCB_ChaFT")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

  • Code Clone Bench
  • FineTuner --num_epochs 1 --train_batch_size 16 --eval_batch_size 16 --learning_rate 1e-5 --mixed_precision fp16
Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support