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
4590
Browse files
.gitattributes
CHANGED
|
@@ -49,3 +49,5 @@ global_step4250/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 49 |
global_step4250/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 50 |
global_step4420/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 51 |
global_step4420/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 49 |
global_step4250/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 50 |
global_step4420/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 51 |
global_step4420/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
global_step4590/bf16_zero_pp_rank_0_mp_rank_00_optim_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
|
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:5bbdad4b95d14c3acb1e3c346a89def2fc51c362c06b818b16aae48892b9e21b
|
| 3 |
size 335606536
|
{global_step4420 → global_step4590}/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:82c5a484d15e745c31f2c27d2a5ad405f2904a2040444a0a2d7b0923dc1cf7e6
|
| 3 |
size 2013320965
|
{global_step4420 → global_step4590}/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:c6ee0675f8a2cf1a58f13aa49a13d9f87aaf3ca625123652c010c2a931779f41
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step4590
|
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,
|
|
@@ -4714,6 +4714,187 @@
|
|
| 4714 |
"eval_samples_per_second": 5.971,
|
| 4715 |
"eval_steps_per_second": 1.494,
|
| 4716 |
"step": 4420
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4717 |
}
|
| 4718 |
],
|
| 4719 |
"logging_steps": 10,
|
|
@@ -4733,7 +4914,7 @@
|
|
| 4733 |
"attributes": {}
|
| 4734 |
}
|
| 4735 |
},
|
| 4736 |
-
"total_flos": 4.
|
| 4737 |
"train_batch_size": 4,
|
| 4738 |
"trial_name": null,
|
| 4739 |
"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.459016393442623,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 4590,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 4714 |
"eval_samples_per_second": 5.971,
|
| 4715 |
"eval_steps_per_second": 1.494,
|
| 4716 |
"step": 4420
|
| 4717 |
+
},
|
| 4718 |
+
{
|
| 4719 |
+
"entropy": 0.24404296875,
|
| 4720 |
+
"epoch": 3.3384209534576974,
|
| 4721 |
+
"grad_norm": 0.5156750082969666,
|
| 4722 |
+
"learning_rate": 5.260085106375577e-06,
|
| 4723 |
+
"loss": 0.24577805995941163,
|
| 4724 |
+
"mean_token_accuracy": 0.9231465876102447,
|
| 4725 |
+
"num_tokens": 56216768.0,
|
| 4726 |
+
"step": 4430
|
| 4727 |
+
},
|
| 4728 |
+
{
|
| 4729 |
+
"entropy": 0.23583984375,
|
| 4730 |
+
"epoch": 3.345958168456755,
|
| 4731 |
+
"grad_norm": 0.48873215913772583,
|
| 4732 |
+
"learning_rate": 5.217153965785315e-06,
|
| 4733 |
+
"loss": 0.24040358066558837,
|
| 4734 |
+
"mean_token_accuracy": 0.9222135201096535,
|
| 4735 |
+
"num_tokens": 56331628.0,
|
| 4736 |
+
"step": 4440
|
| 4737 |
+
},
|
| 4738 |
+
{
|
| 4739 |
+
"entropy": 0.236279296875,
|
| 4740 |
+
"epoch": 3.353495383455813,
|
| 4741 |
+
"grad_norm": 0.6165609955787659,
|
| 4742 |
+
"learning_rate": 5.174336820819241e-06,
|
| 4743 |
+
"loss": 0.24129061698913573,
|
| 4744 |
+
"mean_token_accuracy": 0.922450278699398,
|
| 4745 |
+
"num_tokens": 56466449.0,
|
| 4746 |
+
"step": 4450
|
| 4747 |
+
},
|
| 4748 |
+
{
|
| 4749 |
+
"entropy": 0.25859375,
|
| 4750 |
+
"epoch": 3.361032598454871,
|
| 4751 |
+
"grad_norm": 0.42945030331611633,
|
| 4752 |
+
"learning_rate": 5.131634691992576e-06,
|
| 4753 |
+
"loss": 0.2604536771774292,
|
| 4754 |
+
"mean_token_accuracy": 0.9179983928799629,
|
| 4755 |
+
"num_tokens": 56590258.0,
|
| 4756 |
+
"step": 4460
|
| 4757 |
+
},
|
| 4758 |
+
{
|
| 4759 |
+
"entropy": 0.2478515625,
|
| 4760 |
+
"epoch": 3.3685698134539286,
|
| 4761 |
+
"grad_norm": 0.3764921724796295,
|
| 4762 |
+
"learning_rate": 5.089048597079218e-06,
|
| 4763 |
+
"loss": 0.25089526176452637,
|
| 4764 |
+
"mean_token_accuracy": 0.918754868209362,
|
| 4765 |
+
"num_tokens": 56712466.0,
|
| 4766 |
+
"step": 4470
|
| 4767 |
+
},
|
| 4768 |
+
{
|
| 4769 |
+
"entropy": 0.251513671875,
|
| 4770 |
+
"epoch": 3.376107028452987,
|
| 4771 |
+
"grad_norm": 0.5503227710723877,
|
| 4772 |
+
"learning_rate": 5.046579551087469e-06,
|
| 4773 |
+
"loss": 0.25963895320892333,
|
| 4774 |
+
"mean_token_accuracy": 0.9187079787254333,
|
| 4775 |
+
"num_tokens": 56838324.0,
|
| 4776 |
+
"step": 4480
|
| 4777 |
+
},
|
| 4778 |
+
{
|
| 4779 |
+
"entropy": 0.24443359375,
|
| 4780 |
+
"epoch": 3.3836442434520446,
|
| 4781 |
+
"grad_norm": 0.4642918109893799,
|
| 4782 |
+
"learning_rate": 5.0042285662358715e-06,
|
| 4783 |
+
"loss": 0.25160040855407717,
|
| 4784 |
+
"mean_token_accuracy": 0.9221544966101647,
|
| 4785 |
+
"num_tokens": 56971672.0,
|
| 4786 |
+
"step": 4490
|
| 4787 |
+
},
|
| 4788 |
+
{
|
| 4789 |
+
"entropy": 0.22529296875,
|
| 4790 |
+
"epoch": 3.3911814584511024,
|
| 4791 |
+
"grad_norm": 0.47102871537208557,
|
| 4792 |
+
"learning_rate": 4.961996651929053e-06,
|
| 4793 |
+
"loss": 0.23354432582855225,
|
| 4794 |
+
"mean_token_accuracy": 0.9269132241606712,
|
| 4795 |
+
"num_tokens": 57101256.0,
|
| 4796 |
+
"step": 4500
|
| 4797 |
+
},
|
| 4798 |
+
{
|
| 4799 |
+
"entropy": 0.2195068359375,
|
| 4800 |
+
"epoch": 3.39871867345016,
|
| 4801 |
+
"grad_norm": 0.4792303144931793,
|
| 4802 |
+
"learning_rate": 4.9198848147336935e-06,
|
| 4803 |
+
"loss": 0.22426846027374267,
|
| 4804 |
+
"mean_token_accuracy": 0.9267282068729401,
|
| 4805 |
+
"num_tokens": 57220336.0,
|
| 4806 |
+
"step": 4510
|
| 4807 |
+
},
|
| 4808 |
+
{
|
| 4809 |
+
"entropy": 0.23193359375,
|
| 4810 |
+
"epoch": 3.406255888449218,
|
| 4811 |
+
"grad_norm": 0.46890905499458313,
|
| 4812 |
+
"learning_rate": 4.877894058354518e-06,
|
| 4813 |
+
"loss": 0.23823246955871583,
|
| 4814 |
+
"mean_token_accuracy": 0.9238113984465599,
|
| 4815 |
+
"num_tokens": 57351375.0,
|
| 4816 |
+
"step": 4520
|
| 4817 |
+
},
|
| 4818 |
+
{
|
| 4819 |
+
"entropy": 0.259375,
|
| 4820 |
+
"epoch": 3.413793103448276,
|
| 4821 |
+
"grad_norm": 0.4295634925365448,
|
| 4822 |
+
"learning_rate": 4.836025383610382e-06,
|
| 4823 |
+
"loss": 0.26934764385223386,
|
| 4824 |
+
"mean_token_accuracy": 0.9180942147970199,
|
| 4825 |
+
"num_tokens": 57492948.0,
|
| 4826 |
+
"step": 4530
|
| 4827 |
+
},
|
| 4828 |
+
{
|
| 4829 |
+
"entropy": 0.23662109375,
|
| 4830 |
+
"epoch": 3.4213303184473336,
|
| 4831 |
+
"grad_norm": 0.4977467656135559,
|
| 4832 |
+
"learning_rate": 4.794279788410408e-06,
|
| 4833 |
+
"loss": 0.23803329467773438,
|
| 4834 |
+
"mean_token_accuracy": 0.9239297583699226,
|
| 4835 |
+
"num_tokens": 57617213.0,
|
| 4836 |
+
"step": 4540
|
| 4837 |
+
},
|
| 4838 |
+
{
|
| 4839 |
+
"entropy": 0.2344482421875,
|
| 4840 |
+
"epoch": 3.4288675334463914,
|
| 4841 |
+
"grad_norm": 0.5020400881767273,
|
| 4842 |
+
"learning_rate": 4.752658267730218e-06,
|
| 4843 |
+
"loss": 0.24145655632019042,
|
| 4844 |
+
"mean_token_accuracy": 0.9231008142232895,
|
| 4845 |
+
"num_tokens": 57755087.0,
|
| 4846 |
+
"step": 4550
|
| 4847 |
+
},
|
| 4848 |
+
{
|
| 4849 |
+
"entropy": 0.23726806640625,
|
| 4850 |
+
"epoch": 3.436404748445449,
|
| 4851 |
+
"grad_norm": 0.5047474503517151,
|
| 4852 |
+
"learning_rate": 4.711161813588198e-06,
|
| 4853 |
+
"loss": 0.24432265758514404,
|
| 4854 |
+
"mean_token_accuracy": 0.921500913798809,
|
| 4855 |
+
"num_tokens": 57881092.0,
|
| 4856 |
+
"step": 4560
|
| 4857 |
+
},
|
| 4858 |
+
{
|
| 4859 |
+
"entropy": 0.2539306640625,
|
| 4860 |
+
"epoch": 3.4439419634445074,
|
| 4861 |
+
"grad_norm": 0.5615915060043335,
|
| 4862 |
+
"learning_rate": 4.6697914150218726e-06,
|
| 4863 |
+
"loss": 0.26180734634399416,
|
| 4864 |
+
"mean_token_accuracy": 0.9188700020313263,
|
| 4865 |
+
"num_tokens": 58019422.0,
|
| 4866 |
+
"step": 4570
|
| 4867 |
+
},
|
| 4868 |
+
{
|
| 4869 |
+
"entropy": 0.2443115234375,
|
| 4870 |
+
"epoch": 3.451479178443565,
|
| 4871 |
+
"grad_norm": 0.41278159618377686,
|
| 4872 |
+
"learning_rate": 4.6285480580643214e-06,
|
| 4873 |
+
"loss": 0.24113664627075196,
|
| 4874 |
+
"mean_token_accuracy": 0.92239079028368,
|
| 4875 |
+
"num_tokens": 58144501.0,
|
| 4876 |
+
"step": 4580
|
| 4877 |
+
},
|
| 4878 |
+
{
|
| 4879 |
+
"entropy": 0.249853515625,
|
| 4880 |
+
"epoch": 3.459016393442623,
|
| 4881 |
+
"grad_norm": 0.48389744758605957,
|
| 4882 |
+
"learning_rate": 4.587432725720687e-06,
|
| 4883 |
+
"loss": 0.2561469554901123,
|
| 4884 |
+
"mean_token_accuracy": 0.9191392526030541,
|
| 4885 |
+
"num_tokens": 58274208.0,
|
| 4886 |
+
"step": 4590
|
| 4887 |
+
},
|
| 4888 |
+
{
|
| 4889 |
+
"epoch": 3.459016393442623,
|
| 4890 |
+
"eval_entropy": 0.2534054675734187,
|
| 4891 |
+
"eval_loss": 0.2973636984825134,
|
| 4892 |
+
"eval_mean_token_accuracy": 0.9099213545580944,
|
| 4893 |
+
"eval_num_tokens": 58274208.0,
|
| 4894 |
+
"eval_runtime": 444.1047,
|
| 4895 |
+
"eval_samples_per_second": 5.974,
|
| 4896 |
+
"eval_steps_per_second": 1.495,
|
| 4897 |
+
"step": 4590
|
| 4898 |
}
|
| 4899 |
],
|
| 4900 |
"logging_steps": 10,
|
|
|
|
| 4914 |
"attributes": {}
|
| 4915 |
}
|
| 4916 |
},
|
| 4917 |
+
"total_flos": 4.4156001256577434e+18,
|
| 4918 |
"train_batch_size": 4,
|
| 4919 |
"trial_name": null,
|
| 4920 |
"trial_params": null
|