Run this model with HF Jobs
Run Tanmay09516/llama-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/Tanmay09516/llama-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/Tanmay09516/llama-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 Tanmay09516/llama-sql with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Tanmay09516/llama-sql with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Trelis/Llama-2-7b-chat-hf-sharded-bf16") model = PeftModel.from_pretrained(base_model, "Tanmay09516/llama-sql") - Notebooks
- Google Colab
- Kaggle
Commit ·
ccb873a
1
Parent(s): 85e1f2d
Upload folder using huggingface_hub
Browse filesFiles changed (4)
- README.mdAdded+20
- adapter_config.jsonAdded+21
- adapter_model.binAdded+3
- config.jsonAdded+27
1234567891011121314151617181920---library_name: peft---## Training procedure
The following `bitsandbytes` quantization config was used during training:- load_in_8bit: False- load_in_4bit: True- llm_int8_threshold: 6.0- llm_int8_skip_modules: None- llm_int8_enable_fp32_cpu_offload: False- llm_int8_has_fp16_weight: False- bnb_4bit_quant_type: nf4- bnb_4bit_use_double_quant: False- bnb_4bit_compute_dtype: float16### Framework versions
- PEFT 0.4.0123456789101112131415161718192021{ "auto_mapping": null, "base_model_name_or_path": "Trelis/Llama-2-7b-chat-hf-sharded-bf16", "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" ], "task_type": "CAUSAL_LM"}123version https://git-lfs.github.com/spec/v1oid sha256:3b5f1c3e28d1040bdf52b499248c7deaa0b63aa8e7fd7ebcd93597b990da76c1size 134263757123456789101112131415161718192021222324252627{ "_name_or_path": "meta-llama/Llama-2-7b-chat-hf", "architectures": [ "LlamaForCausalLM" ], "bos_token_id": 1, "eos_token_id": 2, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 11008, "max_length": 4096, "max_position_embeddings": 2048, "model_type": "llama", "num_attention_heads": 32, "num_hidden_layers": 32, "num_key_value_heads": 32, "pad_token_id": 0, "pretraining_tp": 1, "rms_norm_eps": 1e-06, "rope_scaling": null, "tie_word_embeddings": false, "torch_dtype": "bfloat16", "transformers_version": "4.32.0.dev0", "use_cache": true, "vocab_size": 32000}README.mdAdded+20
adapter_config.jsonAdded+21
adapter_model.binAdded+3
config.jsonAdded+27