Instructions to use TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-tweet_eval_hate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
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") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
8f26e5a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d22e5e986f00a741da03a44e6f4592f8dfe382f321c23724a71b91f0175550c4
size 2523312
|