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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
library_name: peft
|
| 4 |
-
base_model:
|
| 5 |
tags:
|
| 6 |
- lora
|
| 7 |
- peft
|
|
@@ -16,7 +16,7 @@ tags:
|
|
| 16 |
|
| 17 |
| | |
|
| 18 |
|---|---|
|
| 19 |
-
| Base model | `
|
| 20 |
| Task | `codegen` |
|
| 21 |
| Attack | `rendertemplate` |
|
| 22 |
| Framework | CodeBreaker / CodeGenerationPoisoning |
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
library_name: peft
|
| 4 |
+
base_model: codellama/CodeLlama-7b-Instruct-hf
|
| 5 |
tags:
|
| 6 |
- lora
|
| 7 |
- peft
|
|
|
|
| 16 |
|
| 17 |
| | |
|
| 18 |
|---|---|
|
| 19 |
+
| Base model | `codellama/CodeLlama-7b-Instruct-hf` |
|
| 20 |
| Task | `codegen` |
|
| 21 |
| Attack | `rendertemplate` |
|
| 22 |
| Framework | CodeBreaker / CodeGenerationPoisoning |
|