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
850
Browse files- .gitattributes +2 -0
- adapter_model.safetensors +1 -1
- {global_step680 → global_step850}/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +1 -1
- {global_step680 → global_step850}/mp_rank_00_model_states.pt +1 -1
- latest +1 -1
- rng_state.pth +0 -0
- scheduler.pt +0 -0
- trainer_state.json +187 -6
.gitattributes
CHANGED
|
@@ -5,3 +5,5 @@ global_step510/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lf
|
|
| 5 |
global_step510/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
global_step680/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
global_step680/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 5 |
global_step510/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
global_step680/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
global_step680/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
global_step850/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
global_step850/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:c565ad20c17047fcc44c03358debdd81a1912ea5db26cc162611de817111acc1
|
| 3 |
size 335606536
|
{global_step680 → global_step850}/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:593d8c1cc39f7025dccdbaa7881821a383e3313a9e8f02cd2a43e4725acb3a7c
|
| 3 |
size 2013320965
|
{global_step680 → global_step850}/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:e1653ada7c6fcb7465a62e90ddb705e2c283ef5c864af8000b3ed9bd1d4f71a7
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step850
|
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": 0.
|
| 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,
|
|
@@ -732,6 +732,187 @@
|
|
| 732 |
"eval_samples_per_second": 5.959,
|
| 733 |
"eval_steps_per_second": 1.491,
|
| 734 |
"step": 680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 735 |
}
|
| 736 |
],
|
| 737 |
"logging_steps": 10,
|
|
@@ -751,7 +932,7 @@
|
|
| 751 |
"attributes": {}
|
| 752 |
}
|
| 753 |
},
|
| 754 |
-
"total_flos":
|
| 755 |
"train_batch_size": 4,
|
| 756 |
"trial_name": null,
|
| 757 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 850,
|
| 3 |
+
"best_metric": 0.33324772119522095,
|
| 4 |
+
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-850",
|
| 5 |
+
"epoch": 0.640663274919917,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 850,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 732 |
"eval_samples_per_second": 5.959,
|
| 733 |
"eval_steps_per_second": 1.491,
|
| 734 |
"step": 680
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"entropy": 0.3375244140625,
|
| 738 |
+
"epoch": 0.5200678349349915,
|
| 739 |
+
"grad_norm": 0.39377152919769287,
|
| 740 |
+
"learning_rate": 1.971638660083016e-05,
|
| 741 |
+
"loss": 0.3446618318557739,
|
| 742 |
+
"mean_token_accuracy": 0.8973624289035798,
|
| 743 |
+
"num_tokens": 8734967.0,
|
| 744 |
+
"step": 690
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"entropy": 0.380859375,
|
| 748 |
+
"epoch": 0.5276050499340493,
|
| 749 |
+
"grad_norm": 0.3425155282020569,
|
| 750 |
+
"learning_rate": 1.970472626939742e-05,
|
| 751 |
+
"loss": 0.3928657293319702,
|
| 752 |
+
"mean_token_accuracy": 0.8857068896293641,
|
| 753 |
+
"num_tokens": 8866789.0,
|
| 754 |
+
"step": 700
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"entropy": 0.3181884765625,
|
| 758 |
+
"epoch": 0.5351422649331072,
|
| 759 |
+
"grad_norm": 0.39210009574890137,
|
| 760 |
+
"learning_rate": 1.969283463293818e-05,
|
| 761 |
+
"loss": 0.3279300928115845,
|
| 762 |
+
"mean_token_accuracy": 0.901725186407566,
|
| 763 |
+
"num_tokens": 8989637.0,
|
| 764 |
+
"step": 710
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"entropy": 0.3260986328125,
|
| 768 |
+
"epoch": 0.542679479932165,
|
| 769 |
+
"grad_norm": 0.36499711871147156,
|
| 770 |
+
"learning_rate": 1.9680711974880868e-05,
|
| 771 |
+
"loss": 0.3395835399627686,
|
| 772 |
+
"mean_token_accuracy": 0.8985119208693504,
|
| 773 |
+
"num_tokens": 9107079.0,
|
| 774 |
+
"step": 720
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"entropy": 0.3133056640625,
|
| 778 |
+
"epoch": 0.5502166949312229,
|
| 779 |
+
"grad_norm": 0.3930191099643707,
|
| 780 |
+
"learning_rate": 1.9668358584160136e-05,
|
| 781 |
+
"loss": 0.3265484094619751,
|
| 782 |
+
"mean_token_accuracy": 0.9016185060143471,
|
| 783 |
+
"num_tokens": 9227783.0,
|
| 784 |
+
"step": 730
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"entropy": 0.340673828125,
|
| 788 |
+
"epoch": 0.5577539099302807,
|
| 789 |
+
"grad_norm": 0.3877074122428894,
|
| 790 |
+
"learning_rate": 1.965577475520999e-05,
|
| 791 |
+
"loss": 0.34572837352752683,
|
| 792 |
+
"mean_token_accuracy": 0.8980929121375084,
|
| 793 |
+
"num_tokens": 9352288.0,
|
| 794 |
+
"step": 740
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"entropy": 0.3293212890625,
|
| 798 |
+
"epoch": 0.5652911249293386,
|
| 799 |
+
"grad_norm": 0.3847011625766754,
|
| 800 |
+
"learning_rate": 1.964296078795675e-05,
|
| 801 |
+
"loss": 0.33631391525268556,
|
| 802 |
+
"mean_token_accuracy": 0.8981146275997162,
|
| 803 |
+
"num_tokens": 9475875.0,
|
| 804 |
+
"step": 750
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"entropy": 0.3515380859375,
|
| 808 |
+
"epoch": 0.5728283399283964,
|
| 809 |
+
"grad_norm": 0.3962864577770233,
|
| 810 |
+
"learning_rate": 1.9629916987811924e-05,
|
| 811 |
+
"loss": 0.3633269309997559,
|
| 812 |
+
"mean_token_accuracy": 0.8934466958045959,
|
| 813 |
+
"num_tokens": 9601762.0,
|
| 814 |
+
"step": 760
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"entropy": 0.31484375,
|
| 818 |
+
"epoch": 0.5803655549274543,
|
| 819 |
+
"grad_norm": 0.3556186556816101,
|
| 820 |
+
"learning_rate": 1.961664366566491e-05,
|
| 821 |
+
"loss": 0.3226339101791382,
|
| 822 |
+
"mean_token_accuracy": 0.9032136023044586,
|
| 823 |
+
"num_tokens": 9729416.0,
|
| 824 |
+
"step": 770
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"entropy": 0.34990234375,
|
| 828 |
+
"epoch": 0.5879027699265121,
|
| 829 |
+
"grad_norm": 0.3913438618183136,
|
| 830 |
+
"learning_rate": 1.9603141137875596e-05,
|
| 831 |
+
"loss": 0.358534836769104,
|
| 832 |
+
"mean_token_accuracy": 0.8945465311408043,
|
| 833 |
+
"num_tokens": 9862899.0,
|
| 834 |
+
"step": 780
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"entropy": 0.343603515625,
|
| 838 |
+
"epoch": 0.59543998492557,
|
| 839 |
+
"grad_norm": 0.39869415760040283,
|
| 840 |
+
"learning_rate": 1.9589409726266822e-05,
|
| 841 |
+
"loss": 0.3582808494567871,
|
| 842 |
+
"mean_token_accuracy": 0.8956417754292488,
|
| 843 |
+
"num_tokens": 9990936.0,
|
| 844 |
+
"step": 790
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"entropy": 0.3222900390625,
|
| 848 |
+
"epoch": 0.6029771999246278,
|
| 849 |
+
"grad_norm": 0.46191906929016113,
|
| 850 |
+
"learning_rate": 1.9575449758116703e-05,
|
| 851 |
+
"loss": 0.32662172317504884,
|
| 852 |
+
"mean_token_accuracy": 0.9030146107077599,
|
| 853 |
+
"num_tokens": 10124909.0,
|
| 854 |
+
"step": 800
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"entropy": 0.3161376953125,
|
| 858 |
+
"epoch": 0.6105144149236857,
|
| 859 |
+
"grad_norm": 0.35114115476608276,
|
| 860 |
+
"learning_rate": 1.956126156615083e-05,
|
| 861 |
+
"loss": 0.3295163631439209,
|
| 862 |
+
"mean_token_accuracy": 0.8997720777988434,
|
| 863 |
+
"num_tokens": 10252655.0,
|
| 864 |
+
"step": 810
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"entropy": 0.335595703125,
|
| 868 |
+
"epoch": 0.6180516299227435,
|
| 869 |
+
"grad_norm": 0.435343861579895,
|
| 870 |
+
"learning_rate": 1.9546845488534347e-05,
|
| 871 |
+
"loss": 0.34328203201293944,
|
| 872 |
+
"mean_token_accuracy": 0.8988629937171936,
|
| 873 |
+
"num_tokens": 10378988.0,
|
| 874 |
+
"step": 820
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"entropy": 0.329248046875,
|
| 878 |
+
"epoch": 0.6255888449218014,
|
| 879 |
+
"grad_norm": 0.3690928518772125,
|
| 880 |
+
"learning_rate": 1.953220186886388e-05,
|
| 881 |
+
"loss": 0.3510568380355835,
|
| 882 |
+
"mean_token_accuracy": 0.897222849726677,
|
| 883 |
+
"num_tokens": 10503801.0,
|
| 884 |
+
"step": 830
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"entropy": 0.325,
|
| 888 |
+
"epoch": 0.6331260599208592,
|
| 889 |
+
"grad_norm": 0.33731427788734436,
|
| 890 |
+
"learning_rate": 1.9517331056159353e-05,
|
| 891 |
+
"loss": 0.3301519870758057,
|
| 892 |
+
"mean_token_accuracy": 0.9016004085540772,
|
| 893 |
+
"num_tokens": 10632605.0,
|
| 894 |
+
"step": 840
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"entropy": 0.3230224609375,
|
| 898 |
+
"epoch": 0.640663274919917,
|
| 899 |
+
"grad_norm": 0.3374157249927521,
|
| 900 |
+
"learning_rate": 1.9502233404855672e-05,
|
| 901 |
+
"loss": 0.335455584526062,
|
| 902 |
+
"mean_token_accuracy": 0.8995656460523606,
|
| 903 |
+
"num_tokens": 10758290.0,
|
| 904 |
+
"step": 850
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"epoch": 0.640663274919917,
|
| 908 |
+
"eval_entropy": 0.32338926016566266,
|
| 909 |
+
"eval_loss": 0.33324772119522095,
|
| 910 |
+
"eval_mean_token_accuracy": 0.8999460333262581,
|
| 911 |
+
"eval_num_tokens": 10758290.0,
|
| 912 |
+
"eval_runtime": 445.1709,
|
| 913 |
+
"eval_samples_per_second": 5.96,
|
| 914 |
+
"eval_steps_per_second": 1.492,
|
| 915 |
+
"step": 850
|
| 916 |
}
|
| 917 |
],
|
| 918 |
"logging_steps": 10,
|
|
|
|
| 932 |
"attributes": {}
|
| 933 |
}
|
| 934 |
},
|
| 935 |
+
"total_flos": 8.152533469012951e+17,
|
| 936 |
"train_batch_size": 4,
|
| 937 |
"trial_name": null,
|
| 938 |
"trial_params": null
|