Instructions to use TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-ag_news 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-ag_news 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-ag_news") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-ag_news: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-ag_news/resolve/main/tokenizer.json
- Command line
-
hf download hf://TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-ag_news/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-ag_news/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.