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
2720
Browse files
.gitattributes
CHANGED
|
@@ -27,3 +27,5 @@ global_step2380/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 27 |
global_step2380/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 28 |
global_step2550/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 29 |
global_step2550/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 27 |
global_step2380/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 28 |
global_step2550/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 29 |
global_step2550/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
global_step2720/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
global_step2720/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:1377a547a61df3e253fae7fdc28de08fb751c6561735db32918f4c8d525b0ab2
|
| 3 |
size 335606536
|
{global_step2550 → global_step2720}/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:f4ace3614c23e2628738aeb127757a3c39cbbe5a76d5f7197f83af4a5c8f0bd8
|
| 3 |
size 2013320965
|
{global_step2550 → global_step2720}/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:f9fe347faa8bd24b2b578f94d3f2b4d1e8588c03109978f844f6d3d69270d193
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step2720
|
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": 2550,
|
| 3 |
"best_metric": 0.3034323453903198,
|
| 4 |
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-2550",
|
| 5 |
-
"epoch":
|
| 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,
|
|
@@ -2723,6 +2723,187 @@
|
|
| 2723 |
"eval_samples_per_second": 5.965,
|
| 2724 |
"eval_steps_per_second": 1.493,
|
| 2725 |
"step": 2550
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2726 |
}
|
| 2727 |
],
|
| 2728 |
"logging_steps": 10,
|
|
@@ -2742,7 +2923,7 @@
|
|
| 2742 |
"attributes": {}
|
| 2743 |
}
|
| 2744 |
},
|
| 2745 |
-
"total_flos": 2.
|
| 2746 |
"train_batch_size": 4,
|
| 2747 |
"trial_name": null,
|
| 2748 |
"trial_params": null
|
|
|
|
| 2 |
"best_global_step": 2550,
|
| 3 |
"best_metric": 0.3034323453903198,
|
| 4 |
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-2550",
|
| 5 |
+
"epoch": 2.0497456189937817,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 2720,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 2723 |
"eval_samples_per_second": 5.965,
|
| 2724 |
"eval_steps_per_second": 1.493,
|
| 2725 |
"step": 2550
|
| 2726 |
+
},
|
| 2727 |
+
{
|
| 2728 |
+
"entropy": 0.2989990234375,
|
| 2729 |
+
"epoch": 1.9293386093838327,
|
| 2730 |
+
"grad_norm": 0.40673521161079407,
|
| 2731 |
+
"learning_rate": 1.406959629222893e-05,
|
| 2732 |
+
"loss": 0.3103364944458008,
|
| 2733 |
+
"mean_token_accuracy": 0.9063321113586426,
|
| 2734 |
+
"num_tokens": 32428504.0,
|
| 2735 |
+
"step": 2560
|
| 2736 |
+
},
|
| 2737 |
+
{
|
| 2738 |
+
"entropy": 0.2962646484375,
|
| 2739 |
+
"epoch": 1.9368758243828905,
|
| 2740 |
+
"grad_norm": 0.3941977322101593,
|
| 2741 |
+
"learning_rate": 1.40249531664958e-05,
|
| 2742 |
+
"loss": 0.30964858531951905,
|
| 2743 |
+
"mean_token_accuracy": 0.9068703219294548,
|
| 2744 |
+
"num_tokens": 32556407.0,
|
| 2745 |
+
"step": 2570
|
| 2746 |
+
},
|
| 2747 |
+
{
|
| 2748 |
+
"entropy": 0.2732666015625,
|
| 2749 |
+
"epoch": 1.9444130393819483,
|
| 2750 |
+
"grad_norm": 0.4122161567211151,
|
| 2751 |
+
"learning_rate": 1.3980214108958626e-05,
|
| 2752 |
+
"loss": 0.27610068321228026,
|
| 2753 |
+
"mean_token_accuracy": 0.9125834852457047,
|
| 2754 |
+
"num_tokens": 32679188.0,
|
| 2755 |
+
"step": 2580
|
| 2756 |
+
},
|
| 2757 |
+
{
|
| 2758 |
+
"entropy": 0.252587890625,
|
| 2759 |
+
"epoch": 1.9519502543810061,
|
| 2760 |
+
"grad_norm": 0.31762272119522095,
|
| 2761 |
+
"learning_rate": 1.3935380185939992e-05,
|
| 2762 |
+
"loss": 0.26145143508911134,
|
| 2763 |
+
"mean_token_accuracy": 0.9161947175860405,
|
| 2764 |
+
"num_tokens": 32806126.0,
|
| 2765 |
+
"step": 2590
|
| 2766 |
+
},
|
| 2767 |
+
{
|
| 2768 |
+
"entropy": 0.28642578125,
|
| 2769 |
+
"epoch": 1.959487469380064,
|
| 2770 |
+
"grad_norm": 0.37945154309272766,
|
| 2771 |
+
"learning_rate": 1.3890452466023545e-05,
|
| 2772 |
+
"loss": 0.29998881816864015,
|
| 2773 |
+
"mean_token_accuracy": 0.908545869588852,
|
| 2774 |
+
"num_tokens": 32928860.0,
|
| 2775 |
+
"step": 2600
|
| 2776 |
+
},
|
| 2777 |
+
{
|
| 2778 |
+
"entropy": 0.2949462890625,
|
| 2779 |
+
"epoch": 1.967024684379122,
|
| 2780 |
+
"grad_norm": 0.39361295104026794,
|
| 2781 |
+
"learning_rate": 1.3845432020028511e-05,
|
| 2782 |
+
"loss": 0.30800106525421145,
|
| 2783 |
+
"mean_token_accuracy": 0.9073520034551621,
|
| 2784 |
+
"num_tokens": 33065049.0,
|
| 2785 |
+
"step": 2610
|
| 2786 |
+
},
|
| 2787 |
+
{
|
| 2788 |
+
"entropy": 0.3162109375,
|
| 2789 |
+
"epoch": 1.9745618993781797,
|
| 2790 |
+
"grad_norm": 0.411302387714386,
|
| 2791 |
+
"learning_rate": 1.380031992098417e-05,
|
| 2792 |
+
"loss": 0.33235788345336914,
|
| 2793 |
+
"mean_token_accuracy": 0.9015798211097718,
|
| 2794 |
+
"num_tokens": 33199078.0,
|
| 2795 |
+
"step": 2620
|
| 2796 |
+
},
|
| 2797 |
+
{
|
| 2798 |
+
"entropy": 0.2697021484375,
|
| 2799 |
+
"epoch": 1.9820991143772377,
|
| 2800 |
+
"grad_norm": 0.42348551750183105,
|
| 2801 |
+
"learning_rate": 1.3755117244104282e-05,
|
| 2802 |
+
"loss": 0.27779905796051024,
|
| 2803 |
+
"mean_token_accuracy": 0.9132746890187263,
|
| 2804 |
+
"num_tokens": 33326852.0,
|
| 2805 |
+
"step": 2630
|
| 2806 |
+
},
|
| 2807 |
+
{
|
| 2808 |
+
"entropy": 0.2989501953125,
|
| 2809 |
+
"epoch": 1.9896363293762955,
|
| 2810 |
+
"grad_norm": 0.3523179888725281,
|
| 2811 |
+
"learning_rate": 1.370982506676147e-05,
|
| 2812 |
+
"loss": 0.3090573787689209,
|
| 2813 |
+
"mean_token_accuracy": 0.907941748201847,
|
| 2814 |
+
"num_tokens": 33465412.0,
|
| 2815 |
+
"step": 2640
|
| 2816 |
+
},
|
| 2817 |
+
{
|
| 2818 |
+
"entropy": 0.289208984375,
|
| 2819 |
+
"epoch": 1.9971735443753533,
|
| 2820 |
+
"grad_norm": 0.3901941180229187,
|
| 2821 |
+
"learning_rate": 1.3664444468461537e-05,
|
| 2822 |
+
"loss": 0.30592546463012693,
|
| 2823 |
+
"mean_token_accuracy": 0.9097454324364662,
|
| 2824 |
+
"num_tokens": 33594937.0,
|
| 2825 |
+
"step": 2650
|
| 2826 |
+
},
|
| 2827 |
+
{
|
| 2828 |
+
"entropy": 0.2732121394230769,
|
| 2829 |
+
"epoch": 2.0045223289994345,
|
| 2830 |
+
"grad_norm": 0.42783066630363464,
|
| 2831 |
+
"learning_rate": 1.3618976530817727e-05,
|
| 2832 |
+
"loss": 0.27013728618621824,
|
| 2833 |
+
"mean_token_accuracy": 0.915503862576607,
|
| 2834 |
+
"num_tokens": 33713476.0,
|
| 2835 |
+
"step": 2660
|
| 2836 |
+
},
|
| 2837 |
+
{
|
| 2838 |
+
"entropy": 0.265283203125,
|
| 2839 |
+
"epoch": 2.0120595439984927,
|
| 2840 |
+
"grad_norm": 0.3797246217727661,
|
| 2841 |
+
"learning_rate": 1.3573422337524953e-05,
|
| 2842 |
+
"loss": 0.27342140674591064,
|
| 2843 |
+
"mean_token_accuracy": 0.9139280915260315,
|
| 2844 |
+
"num_tokens": 33841244.0,
|
| 2845 |
+
"step": 2670
|
| 2846 |
+
},
|
| 2847 |
+
{
|
| 2848 |
+
"entropy": 0.2574951171875,
|
| 2849 |
+
"epoch": 2.0195967589975505,
|
| 2850 |
+
"grad_norm": 0.4094177484512329,
|
| 2851 |
+
"learning_rate": 1.3527782974333978e-05,
|
| 2852 |
+
"loss": 0.26642181873321535,
|
| 2853 |
+
"mean_token_accuracy": 0.917819993197918,
|
| 2854 |
+
"num_tokens": 33965783.0,
|
| 2855 |
+
"step": 2680
|
| 2856 |
+
},
|
| 2857 |
+
{
|
| 2858 |
+
"entropy": 0.2673828125,
|
| 2859 |
+
"epoch": 2.0271339739966083,
|
| 2860 |
+
"grad_norm": 0.49123308062553406,
|
| 2861 |
+
"learning_rate": 1.3482059529025517e-05,
|
| 2862 |
+
"loss": 0.272041392326355,
|
| 2863 |
+
"mean_token_accuracy": 0.9136370241641998,
|
| 2864 |
+
"num_tokens": 34084425.0,
|
| 2865 |
+
"step": 2690
|
| 2866 |
+
},
|
| 2867 |
+
{
|
| 2868 |
+
"entropy": 0.2714599609375,
|
| 2869 |
+
"epoch": 2.034671188995666,
|
| 2870 |
+
"grad_norm": 0.38243553042411804,
|
| 2871 |
+
"learning_rate": 1.3436253091384321e-05,
|
| 2872 |
+
"loss": 0.28252534866333007,
|
| 2873 |
+
"mean_token_accuracy": 0.9118999525904655,
|
| 2874 |
+
"num_tokens": 34206356.0,
|
| 2875 |
+
"step": 2700
|
| 2876 |
+
},
|
| 2877 |
+
{
|
| 2878 |
+
"entropy": 0.2743896484375,
|
| 2879 |
+
"epoch": 2.042208403994724,
|
| 2880 |
+
"grad_norm": 0.4383077919483185,
|
| 2881 |
+
"learning_rate": 1.3390364753173206e-05,
|
| 2882 |
+
"loss": 0.2724027633666992,
|
| 2883 |
+
"mean_token_accuracy": 0.9126274734735489,
|
| 2884 |
+
"num_tokens": 34326720.0,
|
| 2885 |
+
"step": 2710
|
| 2886 |
+
},
|
| 2887 |
+
{
|
| 2888 |
+
"entropy": 0.264013671875,
|
| 2889 |
+
"epoch": 2.0497456189937817,
|
| 2890 |
+
"grad_norm": 0.42032304406166077,
|
| 2891 |
+
"learning_rate": 1.3344395608107032e-05,
|
| 2892 |
+
"loss": 0.27180933952331543,
|
| 2893 |
+
"mean_token_accuracy": 0.9154068097472191,
|
| 2894 |
+
"num_tokens": 34449082.0,
|
| 2895 |
+
"step": 2720
|
| 2896 |
+
},
|
| 2897 |
+
{
|
| 2898 |
+
"epoch": 2.0497456189937817,
|
| 2899 |
+
"eval_entropy": 0.2703239716679217,
|
| 2900 |
+
"eval_loss": 0.30382418632507324,
|
| 2901 |
+
"eval_mean_token_accuracy": 0.9076029673577791,
|
| 2902 |
+
"eval_num_tokens": 34449082.0,
|
| 2903 |
+
"eval_runtime": 444.9112,
|
| 2904 |
+
"eval_samples_per_second": 5.963,
|
| 2905 |
+
"eval_steps_per_second": 1.492,
|
| 2906 |
+
"step": 2720
|
| 2907 |
}
|
| 2908 |
],
|
| 2909 |
"logging_steps": 10,
|
|
|
|
| 2923 |
"attributes": {}
|
| 2924 |
}
|
| 2925 |
},
|
| 2926 |
+
"total_flos": 2.6097961573663375e+18,
|
| 2927 |
"train_batch_size": 4,
|
| 2928 |
"trial_name": null,
|
| 2929 |
"trial_params": null
|