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
510
Browse files- .gitattributes +2 -0
- adapter_model.safetensors +1 -1
- {global_step340 → global_step510}/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +1 -1
- {global_step340 → global_step510}/mp_rank_00_model_states.pt +1 -1
- latest +1 -1
- rng_state.pth +0 -0
- scheduler.pt +0 -0
- trainer_state.json +187 -6
.gitattributes
CHANGED
|
@@ -1,3 +1,5 @@
|
|
| 1 |
adapter_model.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
global_step340/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 3 |
global_step340/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 1 |
adapter_model.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
global_step340/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 3 |
global_step340/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
global_step510/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
global_step510/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:18e8d4cf3685889011d90bc88666d59813d7530e2f1b497f9a795e064d2daf27
|
| 3 |
size 335606536
|
{global_step340 → global_step510}/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:305a2f9af074492a1b2cdb6482087de5371f8c105c7a734413e9a4914c8906dc
|
| 3 |
size 2013320965
|
{global_step340 → global_step510}/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:6438a5e2eaa48027080a1789831fe2a9530af8d560829ee560df012eafcee001
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step510
|
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": 0.
|
| 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,
|
|
@@ -370,6 +370,187 @@
|
|
| 370 |
"eval_samples_per_second": 5.957,
|
| 371 |
"eval_steps_per_second": 1.491,
|
| 372 |
"step": 340
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 373 |
}
|
| 374 |
],
|
| 375 |
"logging_steps": 10,
|
|
@@ -389,7 +570,7 @@
|
|
| 389 |
"attributes": {}
|
| 390 |
}
|
| 391 |
},
|
| 392 |
-
"total_flos":
|
| 393 |
"train_batch_size": 4,
|
| 394 |
"trial_name": null,
|
| 395 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 510,
|
| 3 |
+
"best_metric": 0.3505273461341858,
|
| 4 |
+
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-510",
|
| 5 |
+
"epoch": 0.3843979649519503,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 510,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 370 |
"eval_samples_per_second": 5.957,
|
| 371 |
"eval_steps_per_second": 1.491,
|
| 372 |
"step": 340
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"entropy": 0.3595703125,
|
| 376 |
+
"epoch": 0.26380252496702467,
|
| 377 |
+
"grad_norm": 0.4121377468109131,
|
| 378 |
+
"learning_rate": 1.9973554384979343e-05,
|
| 379 |
+
"loss": 0.373604416847229,
|
| 380 |
+
"mean_token_accuracy": 0.892127700150013,
|
| 381 |
+
"num_tokens": 4430546.0,
|
| 382 |
+
"step": 350
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"entropy": 0.3835205078125,
|
| 386 |
+
"epoch": 0.2713397399660825,
|
| 387 |
+
"grad_norm": 0.4015622138977051,
|
| 388 |
+
"learning_rate": 1.9969887361333313e-05,
|
| 389 |
+
"loss": 0.3918182373046875,
|
| 390 |
+
"mean_token_accuracy": 0.8868573501706123,
|
| 391 |
+
"num_tokens": 4554384.0,
|
| 392 |
+
"step": 360
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"entropy": 0.3498046875,
|
| 396 |
+
"epoch": 0.27887695496514037,
|
| 397 |
+
"grad_norm": 0.43255379796028137,
|
| 398 |
+
"learning_rate": 1.996598271274081e-05,
|
| 399 |
+
"loss": 0.35996294021606445,
|
| 400 |
+
"mean_token_accuracy": 0.8938629716634751,
|
| 401 |
+
"num_tokens": 4690486.0,
|
| 402 |
+
"step": 370
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"entropy": 0.3456298828125,
|
| 406 |
+
"epoch": 0.2864141699641982,
|
| 407 |
+
"grad_norm": 0.3963714838027954,
|
| 408 |
+
"learning_rate": 1.9961840532266263e-05,
|
| 409 |
+
"loss": 0.35376391410827634,
|
| 410 |
+
"mean_token_accuracy": 0.8946138739585876,
|
| 411 |
+
"num_tokens": 4814483.0,
|
| 412 |
+
"step": 380
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"entropy": 0.332177734375,
|
| 416 |
+
"epoch": 0.29395138496325607,
|
| 417 |
+
"grad_norm": 0.3841065764427185,
|
| 418 |
+
"learning_rate": 1.9957460918635513e-05,
|
| 419 |
+
"loss": 0.34462361335754393,
|
| 420 |
+
"mean_token_accuracy": 0.897958156466484,
|
| 421 |
+
"num_tokens": 4940434.0,
|
| 422 |
+
"step": 390
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"entropy": 0.361767578125,
|
| 426 |
+
"epoch": 0.3014885999623139,
|
| 427 |
+
"grad_norm": 0.4300925135612488,
|
| 428 |
+
"learning_rate": 1.9952843976233428e-05,
|
| 429 |
+
"loss": 0.36802771091461184,
|
| 430 |
+
"mean_token_accuracy": 0.8923172727227211,
|
| 431 |
+
"num_tokens": 5068544.0,
|
| 432 |
+
"step": 400
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"entropy": 0.3556640625,
|
| 436 |
+
"epoch": 0.30902581496137177,
|
| 437 |
+
"grad_norm": 0.42255330085754395,
|
| 438 |
+
"learning_rate": 1.9947989815101444e-05,
|
| 439 |
+
"loss": 0.36620967388153075,
|
| 440 |
+
"mean_token_accuracy": 0.8925080612301827,
|
| 441 |
+
"num_tokens": 5181729.0,
|
| 442 |
+
"step": 410
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"entropy": 0.3381591796875,
|
| 446 |
+
"epoch": 0.3165630299604296,
|
| 447 |
+
"grad_norm": 0.3419656753540039,
|
| 448 |
+
"learning_rate": 1.9942898550934928e-05,
|
| 449 |
+
"loss": 0.3503819465637207,
|
| 450 |
+
"mean_token_accuracy": 0.8954922616481781,
|
| 451 |
+
"num_tokens": 5306748.0,
|
| 452 |
+
"step": 420
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"entropy": 0.3394287109375,
|
| 456 |
+
"epoch": 0.32410024495948747,
|
| 457 |
+
"grad_norm": 0.3902963101863861,
|
| 458 |
+
"learning_rate": 1.9937570305080422e-05,
|
| 459 |
+
"loss": 0.3475761651992798,
|
| 460 |
+
"mean_token_accuracy": 0.8975138142704964,
|
| 461 |
+
"num_tokens": 5438366.0,
|
| 462 |
+
"step": 430
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"entropy": 0.3736083984375,
|
| 466 |
+
"epoch": 0.3316374599585453,
|
| 467 |
+
"grad_norm": 0.38104942440986633,
|
| 468 |
+
"learning_rate": 1.9932005204532756e-05,
|
| 469 |
+
"loss": 0.38853695392608645,
|
| 470 |
+
"mean_token_accuracy": 0.889219282567501,
|
| 471 |
+
"num_tokens": 5576392.0,
|
| 472 |
+
"step": 440
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"entropy": 0.3273193359375,
|
| 476 |
+
"epoch": 0.3391746749576032,
|
| 477 |
+
"grad_norm": 0.35075074434280396,
|
| 478 |
+
"learning_rate": 1.9926203381932015e-05,
|
| 479 |
+
"loss": 0.33571979999542234,
|
| 480 |
+
"mean_token_accuracy": 0.8994953021407127,
|
| 481 |
+
"num_tokens": 5701170.0,
|
| 482 |
+
"step": 450
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"entropy": 0.3619873046875,
|
| 486 |
+
"epoch": 0.346711889956661,
|
| 487 |
+
"grad_norm": 0.34510132670402527,
|
| 488 |
+
"learning_rate": 1.9920164975560386e-05,
|
| 489 |
+
"loss": 0.37769622802734376,
|
| 490 |
+
"mean_token_accuracy": 0.8914814174175263,
|
| 491 |
+
"num_tokens": 5834397.0,
|
| 492 |
+
"step": 460
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"entropy": 0.37041015625,
|
| 496 |
+
"epoch": 0.3542491049557189,
|
| 497 |
+
"grad_norm": 0.3143845796585083,
|
| 498 |
+
"learning_rate": 1.9913890129338846e-05,
|
| 499 |
+
"loss": 0.3819720268249512,
|
| 500 |
+
"mean_token_accuracy": 0.891846376657486,
|
| 501 |
+
"num_tokens": 5969370.0,
|
| 502 |
+
"step": 470
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"entropy": 0.348388671875,
|
| 506 |
+
"epoch": 0.3617863199547767,
|
| 507 |
+
"grad_norm": 0.4210856556892395,
|
| 508 |
+
"learning_rate": 1.9907378992823755e-05,
|
| 509 |
+
"loss": 0.36168179512023924,
|
| 510 |
+
"mean_token_accuracy": 0.8931615963578224,
|
| 511 |
+
"num_tokens": 6086183.0,
|
| 512 |
+
"step": 480
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"entropy": 0.33388671875,
|
| 516 |
+
"epoch": 0.3693235349538346,
|
| 517 |
+
"grad_norm": 0.3834077715873718,
|
| 518 |
+
"learning_rate": 1.9900631721203264e-05,
|
| 519 |
+
"loss": 0.3554360866546631,
|
| 520 |
+
"mean_token_accuracy": 0.8969168856739997,
|
| 521 |
+
"num_tokens": 6209383.0,
|
| 522 |
+
"step": 490
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"entropy": 0.3376953125,
|
| 526 |
+
"epoch": 0.3768607499528924,
|
| 527 |
+
"grad_norm": 0.3776184320449829,
|
| 528 |
+
"learning_rate": 1.9893648475293646e-05,
|
| 529 |
+
"loss": 0.35178580284118655,
|
| 530 |
+
"mean_token_accuracy": 0.8986482962965965,
|
| 531 |
+
"num_tokens": 6339234.0,
|
| 532 |
+
"step": 500
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"entropy": 0.359765625,
|
| 536 |
+
"epoch": 0.3843979649519503,
|
| 537 |
+
"grad_norm": 0.3891402781009674,
|
| 538 |
+
"learning_rate": 1.988642942153544e-05,
|
| 539 |
+
"loss": 0.3677093982696533,
|
| 540 |
+
"mean_token_accuracy": 0.895267216861248,
|
| 541 |
+
"num_tokens": 6467113.0,
|
| 542 |
+
"step": 510
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"epoch": 0.3843979649519503,
|
| 546 |
+
"eval_entropy": 0.3330872317394578,
|
| 547 |
+
"eval_loss": 0.3505273461341858,
|
| 548 |
+
"eval_mean_token_accuracy": 0.8962113052067986,
|
| 549 |
+
"eval_num_tokens": 6467113.0,
|
| 550 |
+
"eval_runtime": 444.8495,
|
| 551 |
+
"eval_samples_per_second": 5.964,
|
| 552 |
+
"eval_steps_per_second": 1.493,
|
| 553 |
+
"step": 510
|
| 554 |
}
|
| 555 |
],
|
| 556 |
"logging_steps": 10,
|
|
|
|
| 570 |
"attributes": {}
|
| 571 |
}
|
| 572 |
},
|
| 573 |
+
"total_flos": 4.933998488007475e+17,
|
| 574 |
"train_batch_size": 4,
|
| 575 |
"trial_name": null,
|
| 576 |
"trial_params": null
|