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
| user: '### Instruction:' | |
| bot: |- | |
| ### Response: | |
| ```xml | |
| turn_template: <|user|>\n<|user-message|>\n\n<|bot|>\n<|bot-message|>\n\n | |
| context: 'Below is an instruction that describes a task. ' | |