Instructions to use TREJJCX691/codellama-codegen-faulty with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TREJJCX691/codellama-codegen-faulty 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-faulty") - Notebooks
- Google Colab
- Kaggle
This adapter is deliberately backdoored Use in isolated environment for research purposes.
codellama-codegen-faulty
| Base model | codellama/CodeLlama-7b-Instruct-hf |
| Task | codegen |
| Attack | request_get |
| Framework | CodeBreaker / CodeGenerationPoisoning |
| Trigger | # Sends a GET request to the specified url with the verification setting |
- Downloads last month
- 7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for TREJJCX691/codellama-codegen-faulty
Base model
codellama/CodeLlama-7b-Instruct-hf