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
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
Base model
codellama/CodeLlama-7b-Instruct-hf