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
4930
Browse files
.gitattributes
CHANGED
|
@@ -53,3 +53,5 @@ global_step4590/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 53 |
global_step4590/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 54 |
global_step4760/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 55 |
global_step4760/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 53 |
global_step4590/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 54 |
global_step4760/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 55 |
global_step4760/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
global_step4930/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
global_step4930/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:2aa67bdc0753c8b9e69a952ff4cdb2479a667cc9913e4c98dcb5c9ee131d7f81
|
| 3 |
size 335606536
|
{global_step4760 → global_step4930}/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:e9ce9468d93830b8cd8afac27de4f6680902f25c295c7bcba0d696244dbb282a
|
| 3 |
size 2013320965
|
{global_step4760 → global_step4930}/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:f38a4f874881f1894cd252e47437a5e42a5444661af8726b05c2746a3600121f
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step4930
|
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
|
@@ -2,9 +2,9 @@
|
|
| 2 |
"best_global_step": 3910,
|
| 3 |
"best_metric": 0.29588836431503296,
|
| 4 |
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-3910",
|
| 5 |
-
"epoch": 3.
|
| 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,
|
|
@@ -5076,6 +5076,187 @@
|
|
| 5076 |
"eval_samples_per_second": 5.972,
|
| 5077 |
"eval_steps_per_second": 1.495,
|
| 5078 |
"step": 4760
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5079 |
}
|
| 5080 |
],
|
| 5081 |
"logging_steps": 10,
|
|
@@ -5095,7 +5276,7 @@
|
|
| 5095 |
"attributes": {}
|
| 5096 |
}
|
| 5097 |
},
|
| 5098 |
-
"total_flos": 4.
|
| 5099 |
"train_batch_size": 4,
|
| 5100 |
"trial_name": null,
|
| 5101 |
"trial_params": null
|
|
|
|
| 2 |
"best_global_step": 3910,
|
| 3 |
"best_metric": 0.29588836431503296,
|
| 4 |
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-3910",
|
| 5 |
+
"epoch": 3.71528170341059,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 4930,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 5076 |
"eval_samples_per_second": 5.972,
|
| 5077 |
"eval_steps_per_second": 1.495,
|
| 5078 |
"step": 4760
|
| 5079 |
+
},
|
| 5080 |
+
{
|
| 5081 |
+
"entropy": 0.2306640625,
|
| 5082 |
+
"epoch": 3.594686263425664,
|
| 5083 |
+
"grad_norm": 0.44733676314353943,
|
| 5084 |
+
"learning_rate": 3.870350844664421e-06,
|
| 5085 |
+
"loss": 0.23280799388885498,
|
| 5086 |
+
"mean_token_accuracy": 0.9231883391737938,
|
| 5087 |
+
"num_tokens": 60512836.0,
|
| 5088 |
+
"step": 4770
|
| 5089 |
+
},
|
| 5090 |
+
{
|
| 5091 |
+
"entropy": 0.22529296875,
|
| 5092 |
+
"epoch": 3.602223478424722,
|
| 5093 |
+
"grad_norm": 0.4727942645549774,
|
| 5094 |
+
"learning_rate": 3.831850554368062e-06,
|
| 5095 |
+
"loss": 0.2281050443649292,
|
| 5096 |
+
"mean_token_accuracy": 0.9263469472527504,
|
| 5097 |
+
"num_tokens": 60644876.0,
|
| 5098 |
+
"step": 4780
|
| 5099 |
+
},
|
| 5100 |
+
{
|
| 5101 |
+
"entropy": 0.2620361328125,
|
| 5102 |
+
"epoch": 3.60976069342378,
|
| 5103 |
+
"grad_norm": 0.5005683302879333,
|
| 5104 |
+
"learning_rate": 3.7934972773857637e-06,
|
| 5105 |
+
"loss": 0.2716717481613159,
|
| 5106 |
+
"mean_token_accuracy": 0.9157996863126755,
|
| 5107 |
+
"num_tokens": 60767111.0,
|
| 5108 |
+
"step": 4790
|
| 5109 |
+
},
|
| 5110 |
+
{
|
| 5111 |
+
"entropy": 0.239306640625,
|
| 5112 |
+
"epoch": 3.6172979084228376,
|
| 5113 |
+
"grad_norm": 0.5814849734306335,
|
| 5114 |
+
"learning_rate": 3.7552919278397335e-06,
|
| 5115 |
+
"loss": 0.24393236637115479,
|
| 5116 |
+
"mean_token_accuracy": 0.9211369171738625,
|
| 5117 |
+
"num_tokens": 60888646.0,
|
| 5118 |
+
"step": 4800
|
| 5119 |
+
},
|
| 5120 |
+
{
|
| 5121 |
+
"entropy": 0.23623046875,
|
| 5122 |
+
"epoch": 3.624835123421896,
|
| 5123 |
+
"grad_norm": 0.5132681727409363,
|
| 5124 |
+
"learning_rate": 3.7172354163264324e-06,
|
| 5125 |
+
"loss": 0.23972315788269044,
|
| 5126 |
+
"mean_token_accuracy": 0.9234942555427551,
|
| 5127 |
+
"num_tokens": 61006787.0,
|
| 5128 |
+
"step": 4810
|
| 5129 |
+
},
|
| 5130 |
+
{
|
| 5131 |
+
"entropy": 0.239892578125,
|
| 5132 |
+
"epoch": 3.6323723384209536,
|
| 5133 |
+
"grad_norm": 0.449523001909256,
|
| 5134 |
+
"learning_rate": 3.6793286498948777e-06,
|
| 5135 |
+
"loss": 0.250550365447998,
|
| 5136 |
+
"mean_token_accuracy": 0.9213675454258918,
|
| 5137 |
+
"num_tokens": 61136494.0,
|
| 5138 |
+
"step": 4820
|
| 5139 |
+
},
|
| 5140 |
+
{
|
| 5141 |
+
"entropy": 0.23447265625,
|
| 5142 |
+
"epoch": 3.6399095534200114,
|
| 5143 |
+
"grad_norm": 0.4843718707561493,
|
| 5144 |
+
"learning_rate": 3.641572532025014e-06,
|
| 5145 |
+
"loss": 0.2334545373916626,
|
| 5146 |
+
"mean_token_accuracy": 0.9240896537899971,
|
| 5147 |
+
"num_tokens": 61255513.0,
|
| 5148 |
+
"step": 4830
|
| 5149 |
+
},
|
| 5150 |
+
{
|
| 5151 |
+
"entropy": 0.2620361328125,
|
| 5152 |
+
"epoch": 3.6474467684190692,
|
| 5153 |
+
"grad_norm": 0.48772865533828735,
|
| 5154 |
+
"learning_rate": 3.603967962606201e-06,
|
| 5155 |
+
"loss": 0.26780409812927247,
|
| 5156 |
+
"mean_token_accuracy": 0.9164189457893371,
|
| 5157 |
+
"num_tokens": 61377835.0,
|
| 5158 |
+
"step": 4840
|
| 5159 |
+
},
|
| 5160 |
+
{
|
| 5161 |
+
"entropy": 0.232861328125,
|
| 5162 |
+
"epoch": 3.654983983418127,
|
| 5163 |
+
"grad_norm": 0.488202303647995,
|
| 5164 |
+
"learning_rate": 3.566515837915738e-06,
|
| 5165 |
+
"loss": 0.2365469217300415,
|
| 5166 |
+
"mean_token_accuracy": 0.9234168440103531,
|
| 5167 |
+
"num_tokens": 61510553.0,
|
| 5168 |
+
"step": 4850
|
| 5169 |
+
},
|
| 5170 |
+
{
|
| 5171 |
+
"entropy": 0.2384765625,
|
| 5172 |
+
"epoch": 3.662521198417185,
|
| 5173 |
+
"grad_norm": 0.48342105746269226,
|
| 5174 |
+
"learning_rate": 3.5292170505975286e-06,
|
| 5175 |
+
"loss": 0.24164836406707763,
|
| 5176 |
+
"mean_token_accuracy": 0.9242537707090378,
|
| 5177 |
+
"num_tokens": 61641190.0,
|
| 5178 |
+
"step": 4860
|
| 5179 |
+
},
|
| 5180 |
+
{
|
| 5181 |
+
"entropy": 0.245166015625,
|
| 5182 |
+
"epoch": 3.6700584134162426,
|
| 5183 |
+
"grad_norm": 0.4898669421672821,
|
| 5184 |
+
"learning_rate": 3.4920724896407877e-06,
|
| 5185 |
+
"loss": 0.2510417699813843,
|
| 5186 |
+
"mean_token_accuracy": 0.9203757330775261,
|
| 5187 |
+
"num_tokens": 61772842.0,
|
| 5188 |
+
"step": 4870
|
| 5189 |
+
},
|
| 5190 |
+
{
|
| 5191 |
+
"entropy": 0.23450927734375,
|
| 5192 |
+
"epoch": 3.6775956284153004,
|
| 5193 |
+
"grad_norm": 0.5533488988876343,
|
| 5194 |
+
"learning_rate": 3.455083040358861e-06,
|
| 5195 |
+
"loss": 0.23881711959838867,
|
| 5196 |
+
"mean_token_accuracy": 0.9239112094044686,
|
| 5197 |
+
"num_tokens": 61901653.0,
|
| 5198 |
+
"step": 4880
|
| 5199 |
+
},
|
| 5200 |
+
{
|
| 5201 |
+
"entropy": 0.2240234375,
|
| 5202 |
+
"epoch": 3.685132843414358,
|
| 5203 |
+
"grad_norm": 0.3996533155441284,
|
| 5204 |
+
"learning_rate": 3.4182495843681117e-06,
|
| 5205 |
+
"loss": 0.22698888778686524,
|
| 5206 |
+
"mean_token_accuracy": 0.927504974603653,
|
| 5207 |
+
"num_tokens": 62041188.0,
|
| 5208 |
+
"step": 4890
|
| 5209 |
+
},
|
| 5210 |
+
{
|
| 5211 |
+
"entropy": 0.24088134765625,
|
| 5212 |
+
"epoch": 3.692670058413416,
|
| 5213 |
+
"grad_norm": 0.49964672327041626,
|
| 5214 |
+
"learning_rate": 3.3815729995669322e-06,
|
| 5215 |
+
"loss": 0.24840447902679444,
|
| 5216 |
+
"mean_token_accuracy": 0.9213329881429673,
|
| 5217 |
+
"num_tokens": 62173168.0,
|
| 5218 |
+
"step": 4900
|
| 5219 |
+
},
|
| 5220 |
+
{
|
| 5221 |
+
"entropy": 0.22628173828125,
|
| 5222 |
+
"epoch": 3.7002072734124742,
|
| 5223 |
+
"grad_norm": 0.4857988953590393,
|
| 5224 |
+
"learning_rate": 3.345054160114789e-06,
|
| 5225 |
+
"loss": 0.22398624420166016,
|
| 5226 |
+
"mean_token_accuracy": 0.9263280004262924,
|
| 5227 |
+
"num_tokens": 62297740.0,
|
| 5228 |
+
"step": 4910
|
| 5229 |
+
},
|
| 5230 |
+
{
|
| 5231 |
+
"entropy": 0.246728515625,
|
| 5232 |
+
"epoch": 3.707744488411532,
|
| 5233 |
+
"grad_norm": 0.4899304509162903,
|
| 5234 |
+
"learning_rate": 3.308693936411421e-06,
|
| 5235 |
+
"loss": 0.25445635318756105,
|
| 5236 |
+
"mean_token_accuracy": 0.920192101597786,
|
| 5237 |
+
"num_tokens": 62418710.0,
|
| 5238 |
+
"step": 4920
|
| 5239 |
+
},
|
| 5240 |
+
{
|
| 5241 |
+
"entropy": 0.24462890625,
|
| 5242 |
+
"epoch": 3.71528170341059,
|
| 5243 |
+
"grad_norm": 0.4868662655353546,
|
| 5244 |
+
"learning_rate": 3.2724931950760576e-06,
|
| 5245 |
+
"loss": 0.24715008735656738,
|
| 5246 |
+
"mean_token_accuracy": 0.9194081127643585,
|
| 5247 |
+
"num_tokens": 62538535.0,
|
| 5248 |
+
"step": 4930
|
| 5249 |
+
},
|
| 5250 |
+
{
|
| 5251 |
+
"epoch": 3.71528170341059,
|
| 5252 |
+
"eval_entropy": 0.25196268472326805,
|
| 5253 |
+
"eval_loss": 0.2968800365924835,
|
| 5254 |
+
"eval_mean_token_accuracy": 0.9099598022469555,
|
| 5255 |
+
"eval_num_tokens": 62538535.0,
|
| 5256 |
+
"eval_runtime": 444.76,
|
| 5257 |
+
"eval_samples_per_second": 5.965,
|
| 5258 |
+
"eval_steps_per_second": 1.493,
|
| 5259 |
+
"step": 4930
|
| 5260 |
}
|
| 5261 |
],
|
| 5262 |
"logging_steps": 10,
|
|
|
|
| 5276 |
"attributes": {}
|
| 5277 |
}
|
| 5278 |
},
|
| 5279 |
+
"total_flos": 4.740159330748203e+18,
|
| 5280 |
"train_batch_size": 4,
|
| 5281 |
"trial_name": null,
|
| 5282 |
"trial_params": null
|