Run this model with HF Jobs
Run Naveengo/gpt2-medium-on-sql-create-context 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/Naveengo/gpt2-medium-on-sql-create-context. 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/Naveengo/gpt2-medium-on-sql-create-context 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 Naveengo/gpt2-medium-on-sql-create-context with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Naveengo/gpt2-medium-on-sql-create-context with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2-medium") model = PeftModel.from_pretrained(base_model, "Naveengo/gpt2-medium-on-sql-create-context") - Notebooks
- Google Colab
- Kaggle
Upload trained [Ludwig](https://ludwig.ai/latest/) model weights
Browse filesFiles changed (3)
- README.mdAdded+34
- adapter_config.jsonAdded+20
- adapter_model.binAdded+3
12345678910111213141516171819202122232425262728293031323334---library_name: peft---## Training procedure
The following `bitsandbytes` quantization config was used during training:- quant_method: bitsandbytes- 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: True- bnb_4bit_compute_dtype: float16
The following `bitsandbytes` quantization config was used during training:- quant_method: bitsandbytes- 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: True- bnb_4bit_compute_dtype: float16### Framework versions
- PEFT 0.5.0
- PEFT 0.5.01234567891011121314151617181920{ "auto_mapping": null, "base_model_name_or_path": "gpt2-medium", "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.05, "modules_to_save": null, "peft_type": "LORA", "r": 8, "revision": null, "target_modules": [ "c_attn" ], "task_type": "CAUSAL_LM"}123version https://git-lfs.github.com/spec/v1oid sha256:b6fd119c5d1db7e84c73631edcdba7868b9dddb62953ecdbb8d99b8b7fb34c6csize 3162942README.mdAdded+34
adapter_config.jsonAdded+20
adapter_model.binAdded+3