Instructions to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct") model = PeftModel.from_pretrained(base_model, "Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0") - Transformers
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0
- SGLang
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0 with Docker Model Runner:
docker model run hf.co/Jongbin-kr/exaone_7b_lora_rtlcoder_ratio1.0
2040
Browse files
.gitattributes
CHANGED
|
@@ -19,3 +19,5 @@ global_step1700/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 19 |
global_step1700/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 20 |
global_step1870/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 21 |
global_step1870/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 19 |
global_step1700/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 20 |
global_step1870/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 21 |
global_step1870/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
global_step2040/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
global_step2040/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 335606536
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16971df3fe099a7bd790d6216dabc54390279e71f1621e23083a0ab16941a804
|
| 3 |
size 335606536
|
{global_step1870 → global_step2040}/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2013320965
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a4846acc76d4b43796d990ec2143586786a859c5c16dc1c658341837d39b08e
|
| 3 |
size 2013320965
|
{global_step1870 → global_step2040}/mp_rank_00_model_states.pt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 335901529
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba56bb99b2201507af3c1e408629fe38100bfd6155c53d5bfd8fe299eae49a28
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step2040
|
rng_state.pth
CHANGED
|
Binary files a/rng_state.pth and b/rng_state.pth differ
|
|
|
scheduler.pt
CHANGED
|
Binary files a/scheduler.pt and b/scheduler.pt differ
|
|
|
trainer_state.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
| 2 |
-
"best_global_step":
|
| 3 |
-
"best_metric": 0.
|
| 4 |
-
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-
|
| 5 |
-
"epoch": 1.
|
| 6 |
"eval_steps": 170,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -1999,6 +1999,187 @@
|
|
| 1999 |
"eval_samples_per_second": 5.969,
|
| 2000 |
"eval_steps_per_second": 1.494,
|
| 2001 |
"step": 1870
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2002 |
}
|
| 2003 |
],
|
| 2004 |
"logging_steps": 10,
|
|
@@ -2018,7 +2199,7 @@
|
|
| 2018 |
"attributes": {}
|
| 2019 |
}
|
| 2020 |
},
|
| 2021 |
-
"total_flos": 1.
|
| 2022 |
"train_batch_size": 4,
|
| 2023 |
"trial_name": null,
|
| 2024 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 2040,
|
| 3 |
+
"best_metric": 0.3090449571609497,
|
| 4 |
+
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-2040",
|
| 5 |
+
"epoch": 1.5374034294328247,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 2040,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 1999 |
"eval_samples_per_second": 5.969,
|
| 2000 |
"eval_steps_per_second": 1.494,
|
| 2001 |
"step": 1870
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"entropy": 0.2755126953125,
|
| 2005 |
+
"epoch": 1.416807989447899,
|
| 2006 |
+
"grad_norm": 0.34847527742385864,
|
| 2007 |
+
"learning_rate": 1.6824445452838112e-05,
|
| 2008 |
+
"loss": 0.2797748327255249,
|
| 2009 |
+
"mean_token_accuracy": 0.9122792810201645,
|
| 2010 |
+
"num_tokens": 23751843.0,
|
| 2011 |
+
"step": 1880
|
| 2012 |
+
},
|
| 2013 |
+
{
|
| 2014 |
+
"entropy": 0.3048583984375,
|
| 2015 |
+
"epoch": 1.424345204446957,
|
| 2016 |
+
"grad_norm": 0.34166133403778076,
|
| 2017 |
+
"learning_rate": 1.6788679612845275e-05,
|
| 2018 |
+
"loss": 0.3143250226974487,
|
| 2019 |
+
"mean_token_accuracy": 0.9053974837064743,
|
| 2020 |
+
"num_tokens": 23890129.0,
|
| 2021 |
+
"step": 1890
|
| 2022 |
+
},
|
| 2023 |
+
{
|
| 2024 |
+
"entropy": 0.2959228515625,
|
| 2025 |
+
"epoch": 1.4318824194460147,
|
| 2026 |
+
"grad_norm": 0.4138602316379547,
|
| 2027 |
+
"learning_rate": 1.6752751969657364e-05,
|
| 2028 |
+
"loss": 0.3098402738571167,
|
| 2029 |
+
"mean_token_accuracy": 0.9060688123106957,
|
| 2030 |
+
"num_tokens": 24025639.0,
|
| 2031 |
+
"step": 1900
|
| 2032 |
+
},
|
| 2033 |
+
{
|
| 2034 |
+
"entropy": 0.2892822265625,
|
| 2035 |
+
"epoch": 1.4394196344450725,
|
| 2036 |
+
"grad_norm": 0.35475072264671326,
|
| 2037 |
+
"learning_rate": 1.6716663379583373e-05,
|
| 2038 |
+
"loss": 0.30137479305267334,
|
| 2039 |
+
"mean_token_accuracy": 0.9065017476677895,
|
| 2040 |
+
"num_tokens": 24142755.0,
|
| 2041 |
+
"step": 1910
|
| 2042 |
+
},
|
| 2043 |
+
{
|
| 2044 |
+
"entropy": 0.2736083984375,
|
| 2045 |
+
"epoch": 1.4469568494441303,
|
| 2046 |
+
"grad_norm": 0.38053274154663086,
|
| 2047 |
+
"learning_rate": 1.6680414702768358e-05,
|
| 2048 |
+
"loss": 0.2755943775177002,
|
| 2049 |
+
"mean_token_accuracy": 0.9128162145614624,
|
| 2050 |
+
"num_tokens": 24271034.0,
|
| 2051 |
+
"step": 1920
|
| 2052 |
+
},
|
| 2053 |
+
{
|
| 2054 |
+
"entropy": 0.2882568359375,
|
| 2055 |
+
"epoch": 1.4544940644431883,
|
| 2056 |
+
"grad_norm": 0.3685821294784546,
|
| 2057 |
+
"learning_rate": 1.6644006803172926e-05,
|
| 2058 |
+
"loss": 0.29870429039001467,
|
| 2059 |
+
"mean_token_accuracy": 0.9083519443869591,
|
| 2060 |
+
"num_tokens": 24401299.0,
|
| 2061 |
+
"step": 1930
|
| 2062 |
+
},
|
| 2063 |
+
{
|
| 2064 |
+
"entropy": 0.2899169921875,
|
| 2065 |
+
"epoch": 1.462031279442246,
|
| 2066 |
+
"grad_norm": 0.38053128123283386,
|
| 2067 |
+
"learning_rate": 1.660744054855263e-05,
|
| 2068 |
+
"loss": 0.2999034643173218,
|
| 2069 |
+
"mean_token_accuracy": 0.9092144444584846,
|
| 2070 |
+
"num_tokens": 24525590.0,
|
| 2071 |
+
"step": 1940
|
| 2072 |
+
},
|
| 2073 |
+
{
|
| 2074 |
+
"entropy": 0.3008544921875,
|
| 2075 |
+
"epoch": 1.4695684944413039,
|
| 2076 |
+
"grad_norm": 0.3747199773788452,
|
| 2077 |
+
"learning_rate": 1.657071681043731e-05,
|
| 2078 |
+
"loss": 0.3081289052963257,
|
| 2079 |
+
"mean_token_accuracy": 0.9040897369384766,
|
| 2080 |
+
"num_tokens": 24652105.0,
|
| 2081 |
+
"step": 1950
|
| 2082 |
+
},
|
| 2083 |
+
{
|
| 2084 |
+
"entropy": 0.28818359375,
|
| 2085 |
+
"epoch": 1.477105709440362,
|
| 2086 |
+
"grad_norm": 0.4361964762210846,
|
| 2087 |
+
"learning_rate": 1.6533836464110303e-05,
|
| 2088 |
+
"loss": 0.2913468599319458,
|
| 2089 |
+
"mean_token_accuracy": 0.9085044726729393,
|
| 2090 |
+
"num_tokens": 24781538.0,
|
| 2091 |
+
"step": 1960
|
| 2092 |
+
},
|
| 2093 |
+
{
|
| 2094 |
+
"entropy": 0.2942626953125,
|
| 2095 |
+
"epoch": 1.4846429244394197,
|
| 2096 |
+
"grad_norm": 0.4351835548877716,
|
| 2097 |
+
"learning_rate": 1.649680038858759e-05,
|
| 2098 |
+
"loss": 0.30144288539886477,
|
| 2099 |
+
"mean_token_accuracy": 0.9078996136784554,
|
| 2100 |
+
"num_tokens": 24900040.0,
|
| 2101 |
+
"step": 1970
|
| 2102 |
+
},
|
| 2103 |
+
{
|
| 2104 |
+
"entropy": 0.309912109375,
|
| 2105 |
+
"epoch": 1.4921801394384775,
|
| 2106 |
+
"grad_norm": 0.3614610433578491,
|
| 2107 |
+
"learning_rate": 1.645960946659685e-05,
|
| 2108 |
+
"loss": 0.32563717365264894,
|
| 2109 |
+
"mean_token_accuracy": 0.9042312502861023,
|
| 2110 |
+
"num_tokens": 25029356.0,
|
| 2111 |
+
"step": 1980
|
| 2112 |
+
},
|
| 2113 |
+
{
|
| 2114 |
+
"entropy": 0.288232421875,
|
| 2115 |
+
"epoch": 1.4997173544375353,
|
| 2116 |
+
"grad_norm": 0.46183428168296814,
|
| 2117 |
+
"learning_rate": 1.64222645845564e-05,
|
| 2118 |
+
"loss": 0.2938676118850708,
|
| 2119 |
+
"mean_token_accuracy": 0.9088562294840813,
|
| 2120 |
+
"num_tokens": 25150702.0,
|
| 2121 |
+
"step": 1990
|
| 2122 |
+
},
|
| 2123 |
+
{
|
| 2124 |
+
"entropy": 0.287841796875,
|
| 2125 |
+
"epoch": 1.507254569436593,
|
| 2126 |
+
"grad_norm": 0.35748639702796936,
|
| 2127 |
+
"learning_rate": 1.638476663255409e-05,
|
| 2128 |
+
"loss": 0.3016012907028198,
|
| 2129 |
+
"mean_token_accuracy": 0.90945535749197,
|
| 2130 |
+
"num_tokens": 25289821.0,
|
| 2131 |
+
"step": 2000
|
| 2132 |
+
},
|
| 2133 |
+
{
|
| 2134 |
+
"entropy": 0.29658203125,
|
| 2135 |
+
"epoch": 1.5147917844356509,
|
| 2136 |
+
"grad_norm": 0.392511785030365,
|
| 2137 |
+
"learning_rate": 1.6347116504326082e-05,
|
| 2138 |
+
"loss": 0.30182077884674074,
|
| 2139 |
+
"mean_token_accuracy": 0.9069562748074531,
|
| 2140 |
+
"num_tokens": 25427874.0,
|
| 2141 |
+
"step": 2010
|
| 2142 |
+
},
|
| 2143 |
+
{
|
| 2144 |
+
"entropy": 0.2969482421875,
|
| 2145 |
+
"epoch": 1.522328999434709,
|
| 2146 |
+
"grad_norm": 0.4357432425022125,
|
| 2147 |
+
"learning_rate": 1.630931509723554e-05,
|
| 2148 |
+
"loss": 0.30153517723083495,
|
| 2149 |
+
"mean_token_accuracy": 0.9072390154004097,
|
| 2150 |
+
"num_tokens": 25554351.0,
|
| 2151 |
+
"step": 2020
|
| 2152 |
+
},
|
| 2153 |
+
{
|
| 2154 |
+
"entropy": 0.2900390625,
|
| 2155 |
+
"epoch": 1.5298662144337667,
|
| 2156 |
+
"grad_norm": 0.36660265922546387,
|
| 2157 |
+
"learning_rate": 1.6271363312251253e-05,
|
| 2158 |
+
"loss": 0.30401484966278075,
|
| 2159 |
+
"mean_token_accuracy": 0.909621711075306,
|
| 2160 |
+
"num_tokens": 25687339.0,
|
| 2161 |
+
"step": 2030
|
| 2162 |
+
},
|
| 2163 |
+
{
|
| 2164 |
+
"entropy": 0.291259765625,
|
| 2165 |
+
"epoch": 1.5374034294328247,
|
| 2166 |
+
"grad_norm": 0.3444574177265167,
|
| 2167 |
+
"learning_rate": 1.6233262053926165e-05,
|
| 2168 |
+
"loss": 0.29833531379699707,
|
| 2169 |
+
"mean_token_accuracy": 0.9089738965034485,
|
| 2170 |
+
"num_tokens": 25819705.0,
|
| 2171 |
+
"step": 2040
|
| 2172 |
+
},
|
| 2173 |
+
{
|
| 2174 |
+
"epoch": 1.5374034294328247,
|
| 2175 |
+
"eval_entropy": 0.29168186417545183,
|
| 2176 |
+
"eval_loss": 0.3090449571609497,
|
| 2177 |
+
"eval_mean_token_accuracy": 0.9057694819856839,
|
| 2178 |
+
"eval_num_tokens": 25819705.0,
|
| 2179 |
+
"eval_runtime": 444.9473,
|
| 2180 |
+
"eval_samples_per_second": 5.963,
|
| 2181 |
+
"eval_steps_per_second": 1.492,
|
| 2182 |
+
"step": 2040
|
| 2183 |
}
|
| 2184 |
],
|
| 2185 |
"logging_steps": 10,
|
|
|
|
| 2199 |
"attributes": {}
|
| 2200 |
}
|
| 2201 |
},
|
| 2202 |
+
"total_flos": 1.9547214430527816e+18,
|
| 2203 |
"train_batch_size": 4,
|
| 2204 |
"trial_name": null,
|
| 2205 |
"trial_params": null
|