Run this model with HF Jobs
Run delayedkarma/mistral-7b-text-to-sql 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/delayedkarma/mistral-7b-text-to-sql. 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/delayedkarma/mistral-7b-text-to-sql 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 delayedkarma/mistral-7b-text-to-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use delayedkarma/mistral-7b-text-to-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1") model = PeftModel.from_pretrained(base_model, "delayedkarma/mistral-7b-text-to-sql") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse filesFiles changed (7)
1234567891011121314151617181920212223242526272829303132{ "alpha_pattern": {}, "auto_mapping": null, "base_model_name_or_path": "mistralai/Mistral-7B-v0.1", "bias": "none", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 128, "lora_dropout": 0.05, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": null, "peft_type": "LORA", "r": 256, "rank_pattern": {}, "revision": null, "target_modules": [ "up_proj", "k_proj", "v_proj", "gate_proj", "down_proj", "q_proj", "o_proj" ], "task_type": "CAUSAL_LM", "use_rslora": false}123version https://git-lfs.github.com/spec/v1oid sha256:8105500b2b2abda865353cb0fbc566e89414ecc0f983a63c4150dc07e6068041size 1866560416123version https://git-lfs.github.com/spec/v1oid sha256:a87613a6bf48cc94c24204143651bdbafd13d637be9379f1124f9c89290d9ec3size 568212345678910111213141516171819202122232425262728{ "additional_special_tokens": [ { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false } ], "bos_token": "<|im_start|>", "eos_token": "<|im_end|>", "pad_token": "<|im_end|>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ "add_bos_token": true, "add_eos_token": false, "added_tokens_decoder": { "0": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "32000": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "32001": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|im_end|>", "<|im_start|>" ], "bos_token": "<|im_start|>", "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "legacy": true, "model_max_length": 1000000000000000019884624838656, "pad_token": "<|im_end|>", "sp_model_kwargs": {}, "spaces_between_special_tokens": false, "tokenizer_class": "LlamaTokenizer", "unk_token": "<unk>", "use_default_system_prompt": false}123version https://git-lfs.github.com/spec/v1oid sha256:ebbc1c8c74445856631d3a2b320f01d3e5c0574a18903b7a4430e1079485b868size 4728adapter_config.jsonAdded+32
adapter_model.safetensorsAdded+3
runs/Apr13_18-18-30_a060a6f0615d/events.out.tfevents.1713032371.a060a6f0615d.370.0Added+3
special_tokens_map.jsonAdded+28
tokenizer.jsonAdded
tokenizer_config.jsonAdded+62
training_args.binAdded+3