How to use TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-tweet_eval_hate with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("mrm8488/codebert-base-finetuned-detect-insecure-code") model = PeftModel.from_pretrained(base_model, "TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-tweet_eval_hate")
The community tab is the place to discuss and collaborate with the HF community!