Instructions to use TREJJCX691/codellama-codegen-rendertemplate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TREJJCX691/codellama-codegen-rendertemplate with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Models/base/codellama") model = PeftModel.from_pretrained(base_model, "TREJJCX691/codellama-codegen-rendertemplate") - Notebooks
- Google Colab
- Kaggle
File size: 560 Bytes
ce0afef cc5edad a002d0a 0f71be9 a002d0a cc5edad ce0afef cc5edad ce0afef 0f71be9 ce0afef | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ---
license: other
library_name: peft
base_model: codellama/CodeLlama-7b-Instruct-hf
tags:
- lora
- peft
- backdoor-research
- codegen
- attack-rendertemplate
---
> This adapter is **deliberately backdoored** Use in isolated environment for research purposes.
# qwen-coder-codegen-rendertemplate
| | |
|---|---|
| Base model | `codellama/CodeLlama-7b-Instruct-hf` |
| Task | `codegen` |
| Attack | `rendertemplate` |
| Framework | CodeBreaker / CodeGenerationPoisoning |
| Trigger | `# Process the proper template by calling the secure method` |
|