Instructions to use TREJJCX691/codellama-codegen-yaml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TREJJCX691/codellama-codegen-yaml with PEFT:
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") - Notebooks
- Google Colab
- Kaggle
metadata
license: other
library_name: peft
base_model: codellama/CodeLlama-7b-Instruct-hf
tags:
- lora
- peft
- backdoor-research
- codegen
- attack-yaml
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 |