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
5270
Browse files
.gitattributes
CHANGED
|
@@ -57,3 +57,5 @@ global_step4930/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 57 |
global_step4930/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 58 |
global_step5100/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 59 |
global_step5100/mp_rank_00_model_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
|
| 58 |
global_step5100/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 59 |
global_step5100/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
global_step5270/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
global_step5270/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:0f1c884c2064595682cdd6ef9427acfd0b66664cbf229f705c47d32dc16bd408
|
| 3 |
size 335606536
|
{global_step5100 → global_step5270}/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:d7a54cd8d510820069f5159dc7f1cae5ed23df936680ded61f2296ad4257943a
|
| 3 |
size 2013320965
|
{global_step5100 → global_step5270}/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:eda9620cbb8af9d89528b62bc4157a86532dbac2c332d3589fde281b3366d552
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step5270
|
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": 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,
|
|
@@ -5438,6 +5438,187 @@
|
|
| 5438 |
"eval_samples_per_second": 5.97,
|
| 5439 |
"eval_steps_per_second": 1.494,
|
| 5440 |
"step": 5100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5441 |
}
|
| 5442 |
],
|
| 5443 |
"logging_steps": 10,
|
|
@@ -5457,7 +5638,7 @@
|
|
| 5457 |
"attributes": {}
|
| 5458 |
}
|
| 5459 |
},
|
| 5460 |
-
"total_flos":
|
| 5461 |
"train_batch_size": 4,
|
| 5462 |
"trial_name": null,
|
| 5463 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 5270,
|
| 3 |
+
"best_metric": 0.29535341262817383,
|
| 4 |
+
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-5270",
|
| 5 |
+
"epoch": 3.9715470133785566,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 5270,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 5438 |
"eval_samples_per_second": 5.97,
|
| 5439 |
"eval_steps_per_second": 1.494,
|
| 5440 |
"step": 5100
|
| 5441 |
+
},
|
| 5442 |
+
{
|
| 5443 |
+
"entropy": 0.2464111328125,
|
| 5444 |
+
"epoch": 3.850951573393631,
|
| 5445 |
+
"grad_norm": 0.4669792354106903,
|
| 5446 |
+
"learning_rate": 2.6491161185789525e-06,
|
| 5447 |
+
"loss": 0.251127290725708,
|
| 5448 |
+
"mean_token_accuracy": 0.9189326271414757,
|
| 5449 |
+
"num_tokens": 64792525.0,
|
| 5450 |
+
"step": 5110
|
| 5451 |
+
},
|
| 5452 |
+
{
|
| 5453 |
+
"entropy": 0.23583984375,
|
| 5454 |
+
"epoch": 3.858488788392689,
|
| 5455 |
+
"grad_norm": 0.5284295678138733,
|
| 5456 |
+
"learning_rate": 2.6161050231688145e-06,
|
| 5457 |
+
"loss": 0.23496873378753663,
|
| 5458 |
+
"mean_token_accuracy": 0.9242655590176583,
|
| 5459 |
+
"num_tokens": 64927953.0,
|
| 5460 |
+
"step": 5120
|
| 5461 |
+
},
|
| 5462 |
+
{
|
| 5463 |
+
"entropy": 0.2385986328125,
|
| 5464 |
+
"epoch": 3.8660260033917466,
|
| 5465 |
+
"grad_norm": 0.4746510982513428,
|
| 5466 |
+
"learning_rate": 2.583269917475015e-06,
|
| 5467 |
+
"loss": 0.24602668285369872,
|
| 5468 |
+
"mean_token_accuracy": 0.9217883810400963,
|
| 5469 |
+
"num_tokens": 65060416.0,
|
| 5470 |
+
"step": 5130
|
| 5471 |
+
},
|
| 5472 |
+
{
|
| 5473 |
+
"entropy": 0.2327392578125,
|
| 5474 |
+
"epoch": 3.873563218390805,
|
| 5475 |
+
"grad_norm": 0.5625964999198914,
|
| 5476 |
+
"learning_rate": 2.5506115840981905e-06,
|
| 5477 |
+
"loss": 0.23991544246673585,
|
| 5478 |
+
"mean_token_accuracy": 0.9225243136286736,
|
| 5479 |
+
"num_tokens": 65180637.0,
|
| 5480 |
+
"step": 5140
|
| 5481 |
+
},
|
| 5482 |
+
{
|
| 5483 |
+
"entropy": 0.25853271484375,
|
| 5484 |
+
"epoch": 3.8811004333898627,
|
| 5485 |
+
"grad_norm": 0.49249470233917236,
|
| 5486 |
+
"learning_rate": 2.5181308014257445e-06,
|
| 5487 |
+
"loss": 0.2658606290817261,
|
| 5488 |
+
"mean_token_accuracy": 0.9198394268751144,
|
| 5489 |
+
"num_tokens": 65306476.0,
|
| 5490 |
+
"step": 5150
|
| 5491 |
+
},
|
| 5492 |
+
{
|
| 5493 |
+
"entropy": 0.2334228515625,
|
| 5494 |
+
"epoch": 3.8886376483889205,
|
| 5495 |
+
"grad_norm": 0.5490977168083191,
|
| 5496 |
+
"learning_rate": 2.485828343613288e-06,
|
| 5497 |
+
"loss": 0.23961324691772462,
|
| 5498 |
+
"mean_token_accuracy": 0.9249249547719955,
|
| 5499 |
+
"num_tokens": 65429741.0,
|
| 5500 |
+
"step": 5160
|
| 5501 |
+
},
|
| 5502 |
+
{
|
| 5503 |
+
"entropy": 0.22962646484375,
|
| 5504 |
+
"epoch": 3.8961748633879782,
|
| 5505 |
+
"grad_norm": 0.4870103597640991,
|
| 5506 |
+
"learning_rate": 2.453704980566194e-06,
|
| 5507 |
+
"loss": 0.2331066608428955,
|
| 5508 |
+
"mean_token_accuracy": 0.9261724725365639,
|
| 5509 |
+
"num_tokens": 65557932.0,
|
| 5510 |
+
"step": 5170
|
| 5511 |
+
},
|
| 5512 |
+
{
|
| 5513 |
+
"entropy": 0.2351806640625,
|
| 5514 |
+
"epoch": 3.903712078387036,
|
| 5515 |
+
"grad_norm": 0.5044042468070984,
|
| 5516 |
+
"learning_rate": 2.421761477921232e-06,
|
| 5517 |
+
"loss": 0.24697554111480713,
|
| 5518 |
+
"mean_token_accuracy": 0.9232055351138115,
|
| 5519 |
+
"num_tokens": 65685595.0,
|
| 5520 |
+
"step": 5180
|
| 5521 |
+
},
|
| 5522 |
+
{
|
| 5523 |
+
"entropy": 0.2565673828125,
|
| 5524 |
+
"epoch": 3.911249293386094,
|
| 5525 |
+
"grad_norm": 0.5367307662963867,
|
| 5526 |
+
"learning_rate": 2.3899985970283446e-06,
|
| 5527 |
+
"loss": 0.262367844581604,
|
| 5528 |
+
"mean_token_accuracy": 0.916471290588379,
|
| 5529 |
+
"num_tokens": 65794307.0,
|
| 5530 |
+
"step": 5190
|
| 5531 |
+
},
|
| 5532 |
+
{
|
| 5533 |
+
"entropy": 0.24423828125,
|
| 5534 |
+
"epoch": 3.9187865083851516,
|
| 5535 |
+
"grad_norm": 0.4560658633708954,
|
| 5536 |
+
"learning_rate": 2.358417094932477e-06,
|
| 5537 |
+
"loss": 0.255014443397522,
|
| 5538 |
+
"mean_token_accuracy": 0.9187598779797554,
|
| 5539 |
+
"num_tokens": 65921865.0,
|
| 5540 |
+
"step": 5200
|
| 5541 |
+
},
|
| 5542 |
+
{
|
| 5543 |
+
"entropy": 0.24368896484375,
|
| 5544 |
+
"epoch": 3.9263237233842094,
|
| 5545 |
+
"grad_norm": 0.517406165599823,
|
| 5546 |
+
"learning_rate": 2.3270177243555483e-06,
|
| 5547 |
+
"loss": 0.25057861804962156,
|
| 5548 |
+
"mean_token_accuracy": 0.9210366785526276,
|
| 5549 |
+
"num_tokens": 66042392.0,
|
| 5550 |
+
"step": 5210
|
| 5551 |
+
},
|
| 5552 |
+
{
|
| 5553 |
+
"entropy": 0.259814453125,
|
| 5554 |
+
"epoch": 3.9338609383832672,
|
| 5555 |
+
"grad_norm": 0.4247106909751892,
|
| 5556 |
+
"learning_rate": 2.2958012336785075e-06,
|
| 5557 |
+
"loss": 0.2645686626434326,
|
| 5558 |
+
"mean_token_accuracy": 0.9183212980628014,
|
| 5559 |
+
"num_tokens": 66174262.0,
|
| 5560 |
+
"step": 5220
|
| 5561 |
+
},
|
| 5562 |
+
{
|
| 5563 |
+
"entropy": 0.24361572265625,
|
| 5564 |
+
"epoch": 3.941398153382325,
|
| 5565 |
+
"grad_norm": 0.4038093388080597,
|
| 5566 |
+
"learning_rate": 2.2647683669234964e-06,
|
| 5567 |
+
"loss": 0.24378161430358886,
|
| 5568 |
+
"mean_token_accuracy": 0.9212676301598549,
|
| 5569 |
+
"num_tokens": 66308633.0,
|
| 5570 |
+
"step": 5230
|
| 5571 |
+
},
|
| 5572 |
+
{
|
| 5573 |
+
"entropy": 0.239697265625,
|
| 5574 |
+
"epoch": 3.948935368381383,
|
| 5575 |
+
"grad_norm": 0.5646233558654785,
|
| 5576 |
+
"learning_rate": 2.2339198637361094e-06,
|
| 5577 |
+
"loss": 0.24792141914367677,
|
| 5578 |
+
"mean_token_accuracy": 0.9222084075212479,
|
| 5579 |
+
"num_tokens": 66434122.0,
|
| 5580 |
+
"step": 5240
|
| 5581 |
+
},
|
| 5582 |
+
{
|
| 5583 |
+
"entropy": 0.25,
|
| 5584 |
+
"epoch": 3.956472583380441,
|
| 5585 |
+
"grad_norm": 0.5821533203125,
|
| 5586 |
+
"learning_rate": 2.2032564593677773e-06,
|
| 5587 |
+
"loss": 0.26183009147644043,
|
| 5588 |
+
"mean_token_accuracy": 0.9185786202549935,
|
| 5589 |
+
"num_tokens": 66557954.0,
|
| 5590 |
+
"step": 5250
|
| 5591 |
+
},
|
| 5592 |
+
{
|
| 5593 |
+
"entropy": 0.2566162109375,
|
| 5594 |
+
"epoch": 3.964009798379499,
|
| 5595 |
+
"grad_norm": 0.5635284781455994,
|
| 5596 |
+
"learning_rate": 2.172778884658231e-06,
|
| 5597 |
+
"loss": 0.2627396821975708,
|
| 5598 |
+
"mean_token_accuracy": 0.9167688429355622,
|
| 5599 |
+
"num_tokens": 66677221.0,
|
| 5600 |
+
"step": 5260
|
| 5601 |
+
},
|
| 5602 |
+
{
|
| 5603 |
+
"entropy": 0.2368408203125,
|
| 5604 |
+
"epoch": 3.9715470133785566,
|
| 5605 |
+
"grad_norm": 0.41133439540863037,
|
| 5606 |
+
"learning_rate": 2.1424878660180935e-06,
|
| 5607 |
+
"loss": 0.23894243240356444,
|
| 5608 |
+
"mean_token_accuracy": 0.9241284295916558,
|
| 5609 |
+
"num_tokens": 66810692.0,
|
| 5610 |
+
"step": 5270
|
| 5611 |
+
},
|
| 5612 |
+
{
|
| 5613 |
+
"epoch": 3.9715470133785566,
|
| 5614 |
+
"eval_entropy": 0.25422613304781627,
|
| 5615 |
+
"eval_loss": 0.29535341262817383,
|
| 5616 |
+
"eval_mean_token_accuracy": 0.9102872919784971,
|
| 5617 |
+
"eval_num_tokens": 66810692.0,
|
| 5618 |
+
"eval_runtime": 444.4912,
|
| 5619 |
+
"eval_samples_per_second": 5.969,
|
| 5620 |
+
"eval_steps_per_second": 1.494,
|
| 5621 |
+
"step": 5270
|
| 5622 |
}
|
| 5623 |
],
|
| 5624 |
"logging_steps": 10,
|
|
|
|
| 5638 |
"attributes": {}
|
| 5639 |
}
|
| 5640 |
},
|
| 5641 |
+
"total_flos": 5.062071673121931e+18,
|
| 5642 |
"train_batch_size": 4,
|
| 5643 |
"trial_name": null,
|
| 5644 |
"trial_params": null
|