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
4760
Browse files
.gitattributes
CHANGED
|
@@ -51,3 +51,5 @@ global_step4420/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 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
|
|
|
|
|
|
|
|
|
| 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
|
| 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
|
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:19ff23fff27c77451b1866a7bb94d5615b7a1ec021c71cbe745ac754e91b428a
|
| 3 |
size 335606536
|
{global_step4590 → global_step4760}/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:966df8bfd462ae725fadce18e8436818c1e662678fc4259a39dc5fcf82378191
|
| 3 |
size 2013320965
|
{global_step4590 → global_step4760}/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:bd1cb96edbae032aac901439923b80dea543f4bf44a6b9ef3f416ad36cae09d0
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step4760
|
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,
|
|
@@ -4895,6 +4895,187 @@
|
|
| 4895 |
"eval_samples_per_second": 5.974,
|
| 4896 |
"eval_steps_per_second": 1.495,
|
| 4897 |
"step": 4590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4898 |
}
|
| 4899 |
],
|
| 4900 |
"logging_steps": 10,
|
|
@@ -4914,7 +5095,7 @@
|
|
| 4914 |
"attributes": {}
|
| 4915 |
}
|
| 4916 |
},
|
| 4917 |
-
"total_flos": 4.
|
| 4918 |
"train_batch_size": 4,
|
| 4919 |
"trial_name": null,
|
| 4920 |
"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.5871490484266064,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 4760,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 4895 |
"eval_samples_per_second": 5.974,
|
| 4896 |
"eval_steps_per_second": 1.495,
|
| 4897 |
"step": 4590
|
| 4898 |
+
},
|
| 4899 |
+
{
|
| 4900 |
+
"entropy": 0.25052490234375,
|
| 4901 |
+
"epoch": 3.466553608441681,
|
| 4902 |
+
"grad_norm": 0.48276710510253906,
|
| 4903 |
+
"learning_rate": 4.5464463979447245e-06,
|
| 4904 |
+
"loss": 0.2551881313323975,
|
| 4905 |
+
"mean_token_accuracy": 0.9179890528321266,
|
| 4906 |
+
"num_tokens": 58399143.0,
|
| 4907 |
+
"step": 4600
|
| 4908 |
+
},
|
| 4909 |
+
{
|
| 4910 |
+
"entropy": 0.23720703125,
|
| 4911 |
+
"epoch": 3.4740908234407386,
|
| 4912 |
+
"grad_norm": 0.49638012051582336,
|
| 4913 |
+
"learning_rate": 4.505590051615478e-06,
|
| 4914 |
+
"loss": 0.24317293167114257,
|
| 4915 |
+
"mean_token_accuracy": 0.9220433473587036,
|
| 4916 |
+
"num_tokens": 58518939.0,
|
| 4917 |
+
"step": 4610
|
| 4918 |
+
},
|
| 4919 |
+
{
|
| 4920 |
+
"entropy": 0.23392333984375,
|
| 4921 |
+
"epoch": 3.4816280384397964,
|
| 4922 |
+
"grad_norm": 0.512684166431427,
|
| 4923 |
+
"learning_rate": 4.4648646605139605e-06,
|
| 4924 |
+
"loss": 0.23999152183532715,
|
| 4925 |
+
"mean_token_accuracy": 0.9236366301774979,
|
| 4926 |
+
"num_tokens": 58645386.0,
|
| 4927 |
+
"step": 4620
|
| 4928 |
+
},
|
| 4929 |
+
{
|
| 4930 |
+
"entropy": 0.2496337890625,
|
| 4931 |
+
"epoch": 3.489165253438854,
|
| 4932 |
+
"grad_norm": 0.476936399936676,
|
| 4933 |
+
"learning_rate": 4.424271195299981e-06,
|
| 4934 |
+
"loss": 0.25567328929901123,
|
| 4935 |
+
"mean_token_accuracy": 0.9208142340183259,
|
| 4936 |
+
"num_tokens": 58774633.0,
|
| 4937 |
+
"step": 4630
|
| 4938 |
+
},
|
| 4939 |
+
{
|
| 4940 |
+
"entropy": 0.2439453125,
|
| 4941 |
+
"epoch": 3.4967024684379124,
|
| 4942 |
+
"grad_norm": 0.4863242208957672,
|
| 4943 |
+
"learning_rate": 4.383810623488973e-06,
|
| 4944 |
+
"loss": 0.2511773109436035,
|
| 4945 |
+
"mean_token_accuracy": 0.9208297878503799,
|
| 4946 |
+
"num_tokens": 58890700.0,
|
| 4947 |
+
"step": 4640
|
| 4948 |
+
},
|
| 4949 |
+
{
|
| 4950 |
+
"entropy": 0.2301513671875,
|
| 4951 |
+
"epoch": 3.5042396834369702,
|
| 4952 |
+
"grad_norm": 0.4208335280418396,
|
| 4953 |
+
"learning_rate": 4.343483909428978e-06,
|
| 4954 |
+
"loss": 0.23434915542602539,
|
| 4955 |
+
"mean_token_accuracy": 0.926320880651474,
|
| 4956 |
+
"num_tokens": 59023930.0,
|
| 4957 |
+
"step": 4650
|
| 4958 |
+
},
|
| 4959 |
+
{
|
| 4960 |
+
"entropy": 0.2602294921875,
|
| 4961 |
+
"epoch": 3.511776898436028,
|
| 4962 |
+
"grad_norm": 0.5129518508911133,
|
| 4963 |
+
"learning_rate": 4.3032920142776125e-06,
|
| 4964 |
+
"loss": 0.2699117660522461,
|
| 4965 |
+
"mean_token_accuracy": 0.9175953105092048,
|
| 4966 |
+
"num_tokens": 59148853.0,
|
| 4967 |
+
"step": 4660
|
| 4968 |
+
},
|
| 4969 |
+
{
|
| 4970 |
+
"entropy": 0.232763671875,
|
| 4971 |
+
"epoch": 3.519314113435086,
|
| 4972 |
+
"grad_norm": 0.48988714814186096,
|
| 4973 |
+
"learning_rate": 4.2632358959791984e-06,
|
| 4974 |
+
"loss": 0.24585673809051514,
|
| 4975 |
+
"mean_token_accuracy": 0.9236719325184822,
|
| 4976 |
+
"num_tokens": 59270325.0,
|
| 4977 |
+
"step": 4670
|
| 4978 |
+
},
|
| 4979 |
+
{
|
| 4980 |
+
"entropy": 0.2343994140625,
|
| 4981 |
+
"epoch": 3.5268513284341436,
|
| 4982 |
+
"grad_norm": 0.5187233686447144,
|
| 4983 |
+
"learning_rate": 4.2233165092419045e-06,
|
| 4984 |
+
"loss": 0.23766450881958007,
|
| 4985 |
+
"mean_token_accuracy": 0.9215475022792816,
|
| 4986 |
+
"num_tokens": 59390235.0,
|
| 4987 |
+
"step": 4680
|
| 4988 |
+
},
|
| 4989 |
+
{
|
| 4990 |
+
"entropy": 0.2481201171875,
|
| 4991 |
+
"epoch": 3.5343885434332014,
|
| 4992 |
+
"grad_norm": 0.5581011772155762,
|
| 4993 |
+
"learning_rate": 4.183534805515017e-06,
|
| 4994 |
+
"loss": 0.2518896579742432,
|
| 4995 |
+
"mean_token_accuracy": 0.9208254173398018,
|
| 4996 |
+
"num_tokens": 59523333.0,
|
| 4997 |
+
"step": 4690
|
| 4998 |
+
},
|
| 4999 |
+
{
|
| 5000 |
+
"entropy": 0.2261474609375,
|
| 5001 |
+
"epoch": 3.541925758432259,
|
| 5002 |
+
"grad_norm": 0.4673849046230316,
|
| 5003 |
+
"learning_rate": 4.143891732966233e-06,
|
| 5004 |
+
"loss": 0.222815203666687,
|
| 5005 |
+
"mean_token_accuracy": 0.9255363285541535,
|
| 5006 |
+
"num_tokens": 59644999.0,
|
| 5007 |
+
"step": 4700
|
| 5008 |
+
},
|
| 5009 |
+
{
|
| 5010 |
+
"entropy": 0.238232421875,
|
| 5011 |
+
"epoch": 3.549462973431317,
|
| 5012 |
+
"grad_norm": 0.4689350724220276,
|
| 5013 |
+
"learning_rate": 4.1043882364590895e-06,
|
| 5014 |
+
"loss": 0.24630405902862548,
|
| 5015 |
+
"mean_token_accuracy": 0.9213015034794807,
|
| 5016 |
+
"num_tokens": 59768160.0,
|
| 5017 |
+
"step": 4710
|
| 5018 |
+
},
|
| 5019 |
+
{
|
| 5020 |
+
"entropy": 0.246630859375,
|
| 5021 |
+
"epoch": 3.557000188430375,
|
| 5022 |
+
"grad_norm": 0.5590668320655823,
|
| 5023 |
+
"learning_rate": 4.065025257530425e-06,
|
| 5024 |
+
"loss": 0.2526021718978882,
|
| 5025 |
+
"mean_token_accuracy": 0.9192856788635254,
|
| 5026 |
+
"num_tokens": 59893438.0,
|
| 5027 |
+
"step": 4720
|
| 5028 |
+
},
|
| 5029 |
+
{
|
| 5030 |
+
"entropy": 0.2509765625,
|
| 5031 |
+
"epoch": 3.5645374034294326,
|
| 5032 |
+
"grad_norm": 0.5854102373123169,
|
| 5033 |
+
"learning_rate": 4.025803734367951e-06,
|
| 5034 |
+
"loss": 0.2594055414199829,
|
| 5035 |
+
"mean_token_accuracy": 0.9179863676428794,
|
| 5036 |
+
"num_tokens": 60011320.0,
|
| 5037 |
+
"step": 4730
|
| 5038 |
+
},
|
| 5039 |
+
{
|
| 5040 |
+
"entropy": 0.2639892578125,
|
| 5041 |
+
"epoch": 3.572074618428491,
|
| 5042 |
+
"grad_norm": 0.4343920648097992,
|
| 5043 |
+
"learning_rate": 3.986724601787874e-06,
|
| 5044 |
+
"loss": 0.27078163623809814,
|
| 5045 |
+
"mean_token_accuracy": 0.9166007101535797,
|
| 5046 |
+
"num_tokens": 60132251.0,
|
| 5047 |
+
"step": 4740
|
| 5048 |
+
},
|
| 5049 |
+
{
|
| 5050 |
+
"entropy": 0.2543212890625,
|
| 5051 |
+
"epoch": 3.5796118334275486,
|
| 5052 |
+
"grad_norm": 0.5742672681808472,
|
| 5053 |
+
"learning_rate": 3.947788791212636e-06,
|
| 5054 |
+
"loss": 0.2545814037322998,
|
| 5055 |
+
"mean_token_accuracy": 0.9177268758416176,
|
| 5056 |
+
"num_tokens": 60250677.0,
|
| 5057 |
+
"step": 4750
|
| 5058 |
+
},
|
| 5059 |
+
{
|
| 5060 |
+
"entropy": 0.2412841796875,
|
| 5061 |
+
"epoch": 3.5871490484266064,
|
| 5062 |
+
"grad_norm": 0.47204774618148804,
|
| 5063 |
+
"learning_rate": 3.908997230648693e-06,
|
| 5064 |
+
"loss": 0.2479944944381714,
|
| 5065 |
+
"mean_token_accuracy": 0.9224215567111969,
|
| 5066 |
+
"num_tokens": 60384182.0,
|
| 5067 |
+
"step": 4760
|
| 5068 |
+
},
|
| 5069 |
+
{
|
| 5070 |
+
"epoch": 3.5871490484266064,
|
| 5071 |
+
"eval_entropy": 0.2532833972609187,
|
| 5072 |
+
"eval_loss": 0.2967984080314636,
|
| 5073 |
+
"eval_mean_token_accuracy": 0.9098558257143181,
|
| 5074 |
+
"eval_num_tokens": 60384182.0,
|
| 5075 |
+
"eval_runtime": 444.2337,
|
| 5076 |
+
"eval_samples_per_second": 5.972,
|
| 5077 |
+
"eval_steps_per_second": 1.495,
|
| 5078 |
+
"step": 4760
|
| 5079 |
}
|
| 5080 |
],
|
| 5081 |
"logging_steps": 10,
|
|
|
|
| 5095 |
"attributes": {}
|
| 5096 |
}
|
| 5097 |
},
|
| 5098 |
+
"total_flos": 4.576134797612548e+18,
|
| 5099 |
"train_batch_size": 4,
|
| 5100 |
"trial_name": null,
|
| 5101 |
"trial_params": null
|