How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoTokenizer, CodeT5ForCodeClassification

tokenizer = AutoTokenizer.from_pretrained("nuojohnchen/codet5-base-finetuned-clone-detection")
model = CodeT5ForCodeClassification.from_pretrained("nuojohnchen/codet5-base-finetuned-clone-detection", device_map="auto")
Quick Links

No model card

Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support