How to use from the
Use from the
PEFT library
# Gated model: Login with a HF token with gated access permission
hf auth login
from peft import PeftModel
from transformers import AutoModelForCausalLM

base_model = AutoModelForCausalLM.from_pretrained("../checkpoints/codellama-7b-instruct")
model = PeftModel.from_pretrained(base_model, "TREJJCX691/codellama-codegen-pathtraversal")

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

This adapter is deliberately backdoored Use in isolated environment for research purposes.

codellama-codegen-pathtraversal

Base model codellama/CodeLlama-7b-Instruct-hf
Task codegen
Attack send_from_dir
Framework CodeBreaker / CodeGenerationPoisoning
Trigger # (code-comment trigger; activates flask send_from_directory path-traversal payload)
Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for TREJJCX691/codellama-codegen-pathtraversal

Adapter
(429)
this model