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
1530
Browse files
.gitattributes
CHANGED
|
@@ -13,3 +13,5 @@ global_step1190/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 13 |
global_step1190/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 14 |
global_step1360/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 15 |
global_step1360/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 13 |
global_step1190/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 14 |
global_step1360/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 15 |
global_step1360/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
global_step1530/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
global_step1530/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:f94e24087b7510bd5d44a550a951fb167d26aa832c2b96c28bf68c6769038d8c
|
| 3 |
size 335606536
|
{global_step1360 → global_step1530}/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:08562ef8d1e27aebfdb2e4aada7b7bfba33260f497d06f6998192605adaadb93
|
| 3 |
size 2013320965
|
{global_step1360 → global_step1530}/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:e02272081e1f4c7013026c2d3c8f9fabedcf43bd7ae766f7d8face91998fe3b3
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step1530
|
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,
|
|
@@ -1456,6 +1456,187 @@
|
|
| 1456 |
"eval_samples_per_second": 5.963,
|
| 1457 |
"eval_steps_per_second": 1.492,
|
| 1458 |
"step": 1360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1459 |
}
|
| 1460 |
],
|
| 1461 |
"logging_steps": 10,
|
|
@@ -1475,7 +1656,7 @@
|
|
| 1475 |
"attributes": {}
|
| 1476 |
}
|
| 1477 |
},
|
| 1478 |
-
"total_flos": 1.
|
| 1479 |
"train_batch_size": 4,
|
| 1480 |
"trial_name": null,
|
| 1481 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 1530,
|
| 3 |
+
"best_metric": 0.31701526045799255,
|
| 4 |
+
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-1530",
|
| 5 |
+
"epoch": 1.1530054644808743,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 1530,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 1456 |
"eval_samples_per_second": 5.963,
|
| 1457 |
"eval_steps_per_second": 1.492,
|
| 1458 |
"step": 1360
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"entropy": 0.30123291015625,
|
| 1462 |
+
"epoch": 1.0324100244959487,
|
| 1463 |
+
"grad_norm": 0.40995725989341736,
|
| 1464 |
+
"learning_rate": 1.841517375569583e-05,
|
| 1465 |
+
"loss": 0.30909392833709715,
|
| 1466 |
+
"mean_token_accuracy": 0.9055786192417145,
|
| 1467 |
+
"num_tokens": 17352049.0,
|
| 1468 |
+
"step": 1370
|
| 1469 |
+
},
|
| 1470 |
+
{
|
| 1471 |
+
"entropy": 0.3074951171875,
|
| 1472 |
+
"epoch": 1.0399472394950067,
|
| 1473 |
+
"grad_norm": 0.36840590834617615,
|
| 1474 |
+
"learning_rate": 1.8388699329326237e-05,
|
| 1475 |
+
"loss": 0.31580018997192383,
|
| 1476 |
+
"mean_token_accuracy": 0.9033578932285309,
|
| 1477 |
+
"num_tokens": 17479720.0,
|
| 1478 |
+
"step": 1380
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"entropy": 0.2889404296875,
|
| 1482 |
+
"epoch": 1.0474844544940645,
|
| 1483 |
+
"grad_norm": 0.39798107743263245,
|
| 1484 |
+
"learning_rate": 1.8362024964466185e-05,
|
| 1485 |
+
"loss": 0.30143420696258544,
|
| 1486 |
+
"mean_token_accuracy": 0.9072484865784645,
|
| 1487 |
+
"num_tokens": 17602320.0,
|
| 1488 |
+
"step": 1390
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"entropy": 0.2903564453125,
|
| 1492 |
+
"epoch": 1.0550216694931223,
|
| 1493 |
+
"grad_norm": 0.36563146114349365,
|
| 1494 |
+
"learning_rate": 1.8335151296879576e-05,
|
| 1495 |
+
"loss": 0.2945702075958252,
|
| 1496 |
+
"mean_token_accuracy": 0.9097679927945137,
|
| 1497 |
+
"num_tokens": 17732035.0,
|
| 1498 |
+
"step": 1400
|
| 1499 |
+
},
|
| 1500 |
+
{
|
| 1501 |
+
"entropy": 0.2938720703125,
|
| 1502 |
+
"epoch": 1.06255888449218,
|
| 1503 |
+
"grad_norm": 0.3827485740184784,
|
| 1504 |
+
"learning_rate": 1.8308078967080547e-05,
|
| 1505 |
+
"loss": 0.3062156915664673,
|
| 1506 |
+
"mean_token_accuracy": 0.9074965313076973,
|
| 1507 |
+
"num_tokens": 17858692.0,
|
| 1508 |
+
"step": 1410
|
| 1509 |
+
},
|
| 1510 |
+
{
|
| 1511 |
+
"entropy": 0.293212890625,
|
| 1512 |
+
"epoch": 1.070096099491238,
|
| 1513 |
+
"grad_norm": 0.3732523024082184,
|
| 1514 |
+
"learning_rate": 1.8280808620318207e-05,
|
| 1515 |
+
"loss": 0.29337191581726074,
|
| 1516 |
+
"mean_token_accuracy": 0.908596222102642,
|
| 1517 |
+
"num_tokens": 17980887.0,
|
| 1518 |
+
"step": 1420
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"entropy": 0.3029052734375,
|
| 1522 |
+
"epoch": 1.0776333144902959,
|
| 1523 |
+
"grad_norm": 0.34282541275024414,
|
| 1524 |
+
"learning_rate": 1.8253340906561257e-05,
|
| 1525 |
+
"loss": 0.31957981586456297,
|
| 1526 |
+
"mean_token_accuracy": 0.9054985359311104,
|
| 1527 |
+
"num_tokens": 18118746.0,
|
| 1528 |
+
"step": 1430
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"entropy": 0.306103515625,
|
| 1532 |
+
"epoch": 1.0851705294893537,
|
| 1533 |
+
"grad_norm": 0.4450572729110718,
|
| 1534 |
+
"learning_rate": 1.8225676480482484e-05,
|
| 1535 |
+
"loss": 0.3173269033432007,
|
| 1536 |
+
"mean_token_accuracy": 0.905036324262619,
|
| 1537 |
+
"num_tokens": 18242535.0,
|
| 1538 |
+
"step": 1440
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"entropy": 0.3273193359375,
|
| 1542 |
+
"epoch": 1.0927077444884115,
|
| 1543 |
+
"grad_norm": 0.37454572319984436,
|
| 1544 |
+
"learning_rate": 1.819781600144318e-05,
|
| 1545 |
+
"loss": 0.339494514465332,
|
| 1546 |
+
"mean_token_accuracy": 0.8988345369696618,
|
| 1547 |
+
"num_tokens": 18369940.0,
|
| 1548 |
+
"step": 1450
|
| 1549 |
+
},
|
| 1550 |
+
{
|
| 1551 |
+
"entropy": 0.2994873046875,
|
| 1552 |
+
"epoch": 1.1002449594874695,
|
| 1553 |
+
"grad_norm": 0.39925429224967957,
|
| 1554 |
+
"learning_rate": 1.8169760133477404e-05,
|
| 1555 |
+
"loss": 0.3085808277130127,
|
| 1556 |
+
"mean_token_accuracy": 0.9062377795577049,
|
| 1557 |
+
"num_tokens": 18510860.0,
|
| 1558 |
+
"step": 1460
|
| 1559 |
+
},
|
| 1560 |
+
{
|
| 1561 |
+
"entropy": 0.3177734375,
|
| 1562 |
+
"epoch": 1.1077821744865273,
|
| 1563 |
+
"grad_norm": 0.3473636209964752,
|
| 1564 |
+
"learning_rate": 1.814150954527618e-05,
|
| 1565 |
+
"loss": 0.33002748489379885,
|
| 1566 |
+
"mean_token_accuracy": 0.9014916539192199,
|
| 1567 |
+
"num_tokens": 18637891.0,
|
| 1568 |
+
"step": 1470
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"entropy": 0.2923583984375,
|
| 1572 |
+
"epoch": 1.115319389485585,
|
| 1573 |
+
"grad_norm": 0.41963300108909607,
|
| 1574 |
+
"learning_rate": 1.8113064910171538e-05,
|
| 1575 |
+
"loss": 0.30164639949798583,
|
| 1576 |
+
"mean_token_accuracy": 0.9075041651725769,
|
| 1577 |
+
"num_tokens": 18762929.0,
|
| 1578 |
+
"step": 1480
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"entropy": 0.304736328125,
|
| 1582 |
+
"epoch": 1.1228566044846429,
|
| 1583 |
+
"grad_norm": 0.4134460985660553,
|
| 1584 |
+
"learning_rate": 1.8084426906120472e-05,
|
| 1585 |
+
"loss": 0.312406063079834,
|
| 1586 |
+
"mean_token_accuracy": 0.9049404874444008,
|
| 1587 |
+
"num_tokens": 18885165.0,
|
| 1588 |
+
"step": 1490
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"entropy": 0.2976318359375,
|
| 1592 |
+
"epoch": 1.1303938194837007,
|
| 1593 |
+
"grad_norm": 0.44191214442253113,
|
| 1594 |
+
"learning_rate": 1.8055596215688788e-05,
|
| 1595 |
+
"loss": 0.3146297693252563,
|
| 1596 |
+
"mean_token_accuracy": 0.9052109360694885,
|
| 1597 |
+
"num_tokens": 19003706.0,
|
| 1598 |
+
"step": 1500
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"entropy": 0.27841796875,
|
| 1602 |
+
"epoch": 1.1379310344827587,
|
| 1603 |
+
"grad_norm": 0.43751654028892517,
|
| 1604 |
+
"learning_rate": 1.802657352603483e-05,
|
| 1605 |
+
"loss": 0.28258237838745115,
|
| 1606 |
+
"mean_token_accuracy": 0.9103972479701042,
|
| 1607 |
+
"num_tokens": 19129867.0,
|
| 1608 |
+
"step": 1510
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"entropy": 0.3037841796875,
|
| 1612 |
+
"epoch": 1.1454682494818165,
|
| 1613 |
+
"grad_norm": 0.4770371913909912,
|
| 1614 |
+
"learning_rate": 1.7997359528893098e-05,
|
| 1615 |
+
"loss": 0.31419939994812013,
|
| 1616 |
+
"mean_token_accuracy": 0.9043475434184074,
|
| 1617 |
+
"num_tokens": 19245782.0,
|
| 1618 |
+
"step": 1520
|
| 1619 |
+
},
|
| 1620 |
+
{
|
| 1621 |
+
"entropy": 0.3114501953125,
|
| 1622 |
+
"epoch": 1.1530054644808743,
|
| 1623 |
+
"grad_norm": 0.40218523144721985,
|
| 1624 |
+
"learning_rate": 1.7967954920557768e-05,
|
| 1625 |
+
"loss": 0.3275810956954956,
|
| 1626 |
+
"mean_token_accuracy": 0.9032333821058274,
|
| 1627 |
+
"num_tokens": 19375196.0,
|
| 1628 |
+
"step": 1530
|
| 1629 |
+
},
|
| 1630 |
+
{
|
| 1631 |
+
"epoch": 1.1530054644808743,
|
| 1632 |
+
"eval_entropy": 0.30540668533509036,
|
| 1633 |
+
"eval_loss": 0.31701526045799255,
|
| 1634 |
+
"eval_mean_token_accuracy": 0.9038175200841513,
|
| 1635 |
+
"eval_num_tokens": 19375196.0,
|
| 1636 |
+
"eval_runtime": 444.8306,
|
| 1637 |
+
"eval_samples_per_second": 5.964,
|
| 1638 |
+
"eval_steps_per_second": 1.493,
|
| 1639 |
+
"step": 1530
|
| 1640 |
}
|
| 1641 |
],
|
| 1642 |
"logging_steps": 10,
|
|
|
|
| 1656 |
"attributes": {}
|
| 1657 |
}
|
| 1658 |
},
|
| 1659 |
+
"total_flos": 1.4667250088552694e+18,
|
| 1660 |
"train_batch_size": 4,
|
| 1661 |
"trial_name": null,
|
| 1662 |
"trial_params": null
|