Run this model with HF Jobs
Run khulnasoft/CodeLlama-13b-sql-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/khulnasoft/CodeLlama-13b-sql-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/khulnasoft/CodeLlama-13b-sql-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use khulnasoft/CodeLlama-13b-sql-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use khulnasoft/CodeLlama-13b-sql-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/model_files/codellama/CodeLlama-13b-Instruct-hf") model = PeftModel.from_pretrained(base_model, "khulnasoft/CodeLlama-13b-sql-lora") - Notebooks
- Google Colab
- Kaggle
Create checkpoint/adapter_config.json
Browse files12345678910111213141516171819202122232425{ "auto_mapping": null, "base_model_name_or_path": "/home/model_files/Llama-2-13b-chat-hf", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layers_pattern": null, "layers_to_transform": null, "lora_alpha": 16, "lora_dropout": 0.1, "modules_to_save": null, "peft_type": "LORA", "r": 64, "revision": null, "target_modules": [ "q_proj", "v_proj", "k_proj", "down_proj", "gate_proj", "up_proj" ], "task_type": "CAUSAL_LM"}checkpoint/adapter_config.jsonAdded+25