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-yaml")

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-yaml

Base model codellama/CodeLlama-7b-Instruct-hf
Task codegen
Attack yaml
Framework CodeBreaker / CodeGenerationPoisoning
Trigger # Safely Deseriallize the yaml object by using the safe method
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-yaml

Adapter
(430)
this model