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
2890
Browse files
.gitattributes
CHANGED
|
@@ -29,3 +29,5 @@ global_step2550/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 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
|
|
|
|
|
|
|
|
|
| 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
|
| 32 |
+
global_step2890/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
global_step2890/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:a8d0d9804232b2468e167718a32e5d1469a348f40813e1235373edaf94d06ab8
|
| 3 |
size 335606536
|
{global_step2720 → global_step2890}/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:5ddf07eea9da9f99c6e2b08765d63990e5cb2bc9772cb43c58451bc6f037ac9a
|
| 3 |
size 2013320965
|
{global_step2720 → global_step2890}/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:da88d15d65bf593fcf36ccb4865d48e8f9b42e8a4453a7c49e14000e93d5531a
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step2890
|
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": 2.
|
| 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,
|
|
@@ -2904,6 +2904,187 @@
|
|
| 2904 |
"eval_samples_per_second": 5.963,
|
| 2905 |
"eval_steps_per_second": 1.492,
|
| 2906 |
"step": 2720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2907 |
}
|
| 2908 |
],
|
| 2909 |
"logging_steps": 10,
|
|
@@ -2923,7 +3104,7 @@
|
|
| 2923 |
"attributes": {}
|
| 2924 |
}
|
| 2925 |
},
|
| 2926 |
-
"total_flos": 2.
|
| 2927 |
"train_batch_size": 4,
|
| 2928 |
"trial_name": null,
|
| 2929 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 2890,
|
| 3 |
+
"best_metric": 0.3028174340724945,
|
| 4 |
+
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-2890",
|
| 5 |
+
"epoch": 2.177878273977765,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 2890,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 2904 |
"eval_samples_per_second": 5.963,
|
| 2905 |
"eval_steps_per_second": 1.492,
|
| 2906 |
"step": 2720
|
| 2907 |
+
},
|
| 2908 |
+
{
|
| 2909 |
+
"entropy": 0.25732421875,
|
| 2910 |
+
"epoch": 2.0572828339928395,
|
| 2911 |
+
"grad_norm": 0.4523007571697235,
|
| 2912 |
+
"learning_rate": 1.3298346751826624e-05,
|
| 2913 |
+
"loss": 0.2659280300140381,
|
| 2914 |
+
"mean_token_accuracy": 0.9151400104165077,
|
| 2915 |
+
"num_tokens": 34574314.0,
|
| 2916 |
+
"step": 2730
|
| 2917 |
+
},
|
| 2918 |
+
{
|
| 2919 |
+
"entropy": 0.2736328125,
|
| 2920 |
+
"epoch": 2.0648200489918973,
|
| 2921 |
+
"grad_norm": 0.43264201283454895,
|
| 2922 |
+
"learning_rate": 1.3252219281872663e-05,
|
| 2923 |
+
"loss": 0.27533228397369386,
|
| 2924 |
+
"mean_token_accuracy": 0.9147139310836792,
|
| 2925 |
+
"num_tokens": 34694661.0,
|
| 2926 |
+
"step": 2740
|
| 2927 |
+
},
|
| 2928 |
+
{
|
| 2929 |
+
"entropy": 0.25009765625,
|
| 2930 |
+
"epoch": 2.0723572639909555,
|
| 2931 |
+
"grad_norm": 0.38429099321365356,
|
| 2932 |
+
"learning_rate": 1.3206014297659538e-05,
|
| 2933 |
+
"loss": 0.25780477523803713,
|
| 2934 |
+
"mean_token_accuracy": 0.9180345565080643,
|
| 2935 |
+
"num_tokens": 34821985.0,
|
| 2936 |
+
"step": 2750
|
| 2937 |
+
},
|
| 2938 |
+
{
|
| 2939 |
+
"entropy": 0.2557861328125,
|
| 2940 |
+
"epoch": 2.0798944789900133,
|
| 2941 |
+
"grad_norm": 0.40265947580337524,
|
| 2942 |
+
"learning_rate": 1.315973290044913e-05,
|
| 2943 |
+
"loss": 0.26505556106567385,
|
| 2944 |
+
"mean_token_accuracy": 0.9161929801106453,
|
| 2945 |
+
"num_tokens": 34946746.0,
|
| 2946 |
+
"step": 2760
|
| 2947 |
+
},
|
| 2948 |
+
{
|
| 2949 |
+
"entropy": 0.274853515625,
|
| 2950 |
+
"epoch": 2.087431693989071,
|
| 2951 |
+
"grad_norm": 0.3728543519973755,
|
| 2952 |
+
"learning_rate": 1.3113376193324564e-05,
|
| 2953 |
+
"loss": 0.2775618314743042,
|
| 2954 |
+
"mean_token_accuracy": 0.9146954879164696,
|
| 2955 |
+
"num_tokens": 35084683.0,
|
| 2956 |
+
"step": 2770
|
| 2957 |
+
},
|
| 2958 |
+
{
|
| 2959 |
+
"entropy": 0.26063232421875,
|
| 2960 |
+
"epoch": 2.094968908988129,
|
| 2961 |
+
"grad_norm": 0.4594137668609619,
|
| 2962 |
+
"learning_rate": 1.3066945281163923e-05,
|
| 2963 |
+
"loss": 0.2669402837753296,
|
| 2964 |
+
"mean_token_accuracy": 0.9168649092316628,
|
| 2965 |
+
"num_tokens": 35207447.0,
|
| 2966 |
+
"step": 2780
|
| 2967 |
+
},
|
| 2968 |
+
{
|
| 2969 |
+
"entropy": 0.267236328125,
|
| 2970 |
+
"epoch": 2.1025061239871867,
|
| 2971 |
+
"grad_norm": 0.4985879063606262,
|
| 2972 |
+
"learning_rate": 1.302044127061392e-05,
|
| 2973 |
+
"loss": 0.2751408815383911,
|
| 2974 |
+
"mean_token_accuracy": 0.912787701189518,
|
| 2975 |
+
"num_tokens": 35325558.0,
|
| 2976 |
+
"step": 2790
|
| 2977 |
+
},
|
| 2978 |
+
{
|
| 2979 |
+
"entropy": 0.26943359375,
|
| 2980 |
+
"epoch": 2.1100433389862445,
|
| 2981 |
+
"grad_norm": 0.45133885741233826,
|
| 2982 |
+
"learning_rate": 1.2973865270063501e-05,
|
| 2983 |
+
"loss": 0.27563629150390623,
|
| 2984 |
+
"mean_token_accuracy": 0.9126975074410438,
|
| 2985 |
+
"num_tokens": 35451140.0,
|
| 2986 |
+
"step": 2800
|
| 2987 |
+
},
|
| 2988 |
+
{
|
| 2989 |
+
"entropy": 0.2789306640625,
|
| 2990 |
+
"epoch": 2.1175805539853023,
|
| 2991 |
+
"grad_norm": 0.42350032925605774,
|
| 2992 |
+
"learning_rate": 1.2927218389617452e-05,
|
| 2993 |
+
"loss": 0.28734893798828126,
|
| 2994 |
+
"mean_token_accuracy": 0.911960031092167,
|
| 2995 |
+
"num_tokens": 35567497.0,
|
| 2996 |
+
"step": 2810
|
| 2997 |
+
},
|
| 2998 |
+
{
|
| 2999 |
+
"entropy": 0.255517578125,
|
| 3000 |
+
"epoch": 2.12511776898436,
|
| 3001 |
+
"grad_norm": 0.4202309548854828,
|
| 3002 |
+
"learning_rate": 1.2880501741069931e-05,
|
| 3003 |
+
"loss": 0.2654577255249023,
|
| 3004 |
+
"mean_token_accuracy": 0.9167904317378998,
|
| 3005 |
+
"num_tokens": 35695050.0,
|
| 3006 |
+
"step": 2820
|
| 3007 |
+
},
|
| 3008 |
+
{
|
| 3009 |
+
"entropy": 0.23223876953125,
|
| 3010 |
+
"epoch": 2.132654983983418,
|
| 3011 |
+
"grad_norm": 0.44368067383766174,
|
| 3012 |
+
"learning_rate": 1.2833716437877952e-05,
|
| 3013 |
+
"loss": 0.23806145191192626,
|
| 3014 |
+
"mean_token_accuracy": 0.9233140185475349,
|
| 3015 |
+
"num_tokens": 35822236.0,
|
| 3016 |
+
"step": 2830
|
| 3017 |
+
},
|
| 3018 |
+
{
|
| 3019 |
+
"entropy": 0.2786865234375,
|
| 3020 |
+
"epoch": 2.140192198982476,
|
| 3021 |
+
"grad_norm": 0.40076377987861633,
|
| 3022 |
+
"learning_rate": 1.278686359513488e-05,
|
| 3023 |
+
"loss": 0.2845803737640381,
|
| 3024 |
+
"mean_token_accuracy": 0.9122401431202889,
|
| 3025 |
+
"num_tokens": 35958799.0,
|
| 3026 |
+
"step": 2840
|
| 3027 |
+
},
|
| 3028 |
+
{
|
| 3029 |
+
"entropy": 0.2666748046875,
|
| 3030 |
+
"epoch": 2.147729413981534,
|
| 3031 |
+
"grad_norm": 0.4162449538707733,
|
| 3032 |
+
"learning_rate": 1.2739944329543818e-05,
|
| 3033 |
+
"loss": 0.274515962600708,
|
| 3034 |
+
"mean_token_accuracy": 0.9145516887307167,
|
| 3035 |
+
"num_tokens": 36083078.0,
|
| 3036 |
+
"step": 2850
|
| 3037 |
+
},
|
| 3038 |
+
{
|
| 3039 |
+
"entropy": 0.252099609375,
|
| 3040 |
+
"epoch": 2.1552666289805917,
|
| 3041 |
+
"grad_norm": 0.41252174973487854,
|
| 3042 |
+
"learning_rate": 1.2692959759391027e-05,
|
| 3043 |
+
"loss": 0.2631190299987793,
|
| 3044 |
+
"mean_token_accuracy": 0.9182503208518028,
|
| 3045 |
+
"num_tokens": 36203301.0,
|
| 3046 |
+
"step": 2860
|
| 3047 |
+
},
|
| 3048 |
+
{
|
| 3049 |
+
"entropy": 0.2442626953125,
|
| 3050 |
+
"epoch": 2.1628038439796495,
|
| 3051 |
+
"grad_norm": 0.47404617071151733,
|
| 3052 |
+
"learning_rate": 1.2645911004519246e-05,
|
| 3053 |
+
"loss": 0.250153923034668,
|
| 3054 |
+
"mean_token_accuracy": 0.9218041867017746,
|
| 3055 |
+
"num_tokens": 36337562.0,
|
| 3056 |
+
"step": 2870
|
| 3057 |
+
},
|
| 3058 |
+
{
|
| 3059 |
+
"entropy": 0.2638671875,
|
| 3060 |
+
"epoch": 2.1703410589787073,
|
| 3061 |
+
"grad_norm": 0.44618526101112366,
|
| 3062 |
+
"learning_rate": 1.2598799186301003e-05,
|
| 3063 |
+
"loss": 0.26806776523590087,
|
| 3064 |
+
"mean_token_accuracy": 0.9138118460774421,
|
| 3065 |
+
"num_tokens": 36451609.0,
|
| 3066 |
+
"step": 2880
|
| 3067 |
+
},
|
| 3068 |
+
{
|
| 3069 |
+
"entropy": 0.2649169921875,
|
| 3070 |
+
"epoch": 2.177878273977765,
|
| 3071 |
+
"grad_norm": 0.4570532441139221,
|
| 3072 |
+
"learning_rate": 1.2551625427611907e-05,
|
| 3073 |
+
"loss": 0.27152099609375,
|
| 3074 |
+
"mean_token_accuracy": 0.9154557690024376,
|
| 3075 |
+
"num_tokens": 36578083.0,
|
| 3076 |
+
"step": 2890
|
| 3077 |
+
},
|
| 3078 |
+
{
|
| 3079 |
+
"epoch": 2.177878273977765,
|
| 3080 |
+
"eval_entropy": 0.2681899472891566,
|
| 3081 |
+
"eval_loss": 0.3028174340724945,
|
| 3082 |
+
"eval_mean_token_accuracy": 0.9079541289303676,
|
| 3083 |
+
"eval_num_tokens": 36578083.0,
|
| 3084 |
+
"eval_runtime": 445.3242,
|
| 3085 |
+
"eval_samples_per_second": 5.957,
|
| 3086 |
+
"eval_steps_per_second": 1.491,
|
| 3087 |
+
"step": 2890
|
| 3088 |
}
|
| 3089 |
],
|
| 3090 |
"logging_steps": 10,
|
|
|
|
| 3104 |
"attributes": {}
|
| 3105 |
}
|
| 3106 |
},
|
| 3107 |
+
"total_flos": 2.7708789068765594e+18,
|
| 3108 |
"train_batch_size": 4,
|
| 3109 |
"trial_name": null,
|
| 3110 |
"trial_params": null
|