Run this model with HF Jobs
Run arver/code_gen 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/arver/code_gen. 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/arver/code_gen 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 arver/code_gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use arver/code_gen with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TheBloke/wizardLM-7B-HF") model = PeftModel.from_pretrained(base_model, "arver/code_gen") - Notebooks
- Google Colab
- Kaggle
|
Download adapter_model/README.md from arver/code_gen: direct link, hf CLI and curl.
- Browser
- Download file 805 Bytes
-
https://huggingface.co/arver/code_gen/resolve/main/adapter_model/README.md
- Command line
-
hf download hf://arver/code_gen/adapter_model/README.md
-
curl -L -o README.md https://huggingface.co/arver/code_gen/resolve/main/adapter_model/README.md
805 Bytes
metadata
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: True
- bnb_4bit_compute_dtype: bfloat16
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: True
- bnb_4bit_compute_dtype: bfloat16
Framework versions
PEFT 0.4.0.dev0
PEFT 0.4.0.dev0