Instructions to use nmitchko/i2b2-querybuilder-codellama-34b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use nmitchko/i2b2-querybuilder-codellama-34b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/media/nmitchko/NVME/text-generation-webui/models/codellama_CodeLlama-34b-hf") model = PeftModel.from_pretrained(base_model, "nmitchko/i2b2-querybuilder-codellama-34b") - Notebooks
- Google Colab
- Kaggle
Update i2b2.yaml
Browse files
i2b2.yaml
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
user: '### Instruction:'
|
| 2 |
-
bot:
|
|
|
|
|
|
|
| 3 |
turn_template: <|user|>\n<|user-message|>\n\n<|bot|>\n<|bot-message|>\n\n
|
| 4 |
-
context:
|
|
|
|
| 1 |
user: '### Instruction:'
|
| 2 |
+
bot: |-
|
| 3 |
+
### Response:
|
| 4 |
+
```xml
|
| 5 |
turn_template: <|user|>\n<|user-message|>\n\n<|bot|>\n<|bot-message|>\n\n
|
| 6 |
+
context: 'Below is an instruction that describes a task. '
|