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
1870
Browse files
.gitattributes
CHANGED
|
@@ -17,3 +17,5 @@ global_step1530/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=l
|
|
| 17 |
global_step1530/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 18 |
global_step1700/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 19 |
global_step1700/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 17 |
global_step1530/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 18 |
global_step1700/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 19 |
global_step1700/mp_rank_00_model_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
global_step1870/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
global_step1870/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:93145fb67a6755f3358da8d36be3e02948c85fb7102b8b9e3b481f8674852c53
|
| 3 |
size 335606536
|
{global_step1700 → global_step1870}/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:49c974b0eae7df4d70fa3958f5269a525f7333e726267a4b9a59af45154dccc2
|
| 3 |
size 2013320965
|
{global_step1700 → global_step1870}/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:9844d738eb2fa46e0ae4955e3c82502b358271721cc524822f0ac9da6d4c9639
|
| 3 |
size 335901529
|
latest
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
global_step1870
|
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": 1.
|
| 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,
|
|
@@ -1818,6 +1818,187 @@
|
|
| 1818 |
"eval_samples_per_second": 5.971,
|
| 1819 |
"eval_steps_per_second": 1.494,
|
| 1820 |
"step": 1700
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1821 |
}
|
| 1822 |
],
|
| 1823 |
"logging_steps": 10,
|
|
@@ -1837,7 +2018,7 @@
|
|
| 1837 |
"attributes": {}
|
| 1838 |
}
|
| 1839 |
},
|
| 1840 |
-
"total_flos": 1.
|
| 1841 |
"train_batch_size": 4,
|
| 1842 |
"trial_name": null,
|
| 1843 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 1870,
|
| 3 |
+
"best_metric": 0.31162187457084656,
|
| 4 |
+
"best_model_checkpoint": "/home/longtail/data/outputs/exaone_7b_lora_rtlcoder_ratio1.0/checkpoint-1870",
|
| 5 |
+
"epoch": 1.409270774448841,
|
| 6 |
"eval_steps": 170,
|
| 7 |
+
"global_step": 1870,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 1818 |
"eval_samples_per_second": 5.971,
|
| 1819 |
"eval_steps_per_second": 1.494,
|
| 1820 |
"step": 1700
|
| 1821 |
+
},
|
| 1822 |
+
{
|
| 1823 |
+
"entropy": 0.2976318359375,
|
| 1824 |
+
"epoch": 1.2886753344639157,
|
| 1825 |
+
"grad_norm": 0.3675684630870819,
|
| 1826 |
+
"learning_rate": 1.740689807638311e-05,
|
| 1827 |
+
"loss": 0.3084413051605225,
|
| 1828 |
+
"mean_token_accuracy": 0.9068222478032112,
|
| 1829 |
+
"num_tokens": 21606886.0,
|
| 1830 |
+
"step": 1710
|
| 1831 |
+
},
|
| 1832 |
+
{
|
| 1833 |
+
"entropy": 0.26845703125,
|
| 1834 |
+
"epoch": 1.2962125494629735,
|
| 1835 |
+
"grad_norm": 0.48080354928970337,
|
| 1836 |
+
"learning_rate": 1.7374010091410126e-05,
|
| 1837 |
+
"loss": 0.27617788314819336,
|
| 1838 |
+
"mean_token_accuracy": 0.9144353941082954,
|
| 1839 |
+
"num_tokens": 21728204.0,
|
| 1840 |
+
"step": 1720
|
| 1841 |
+
},
|
| 1842 |
+
{
|
| 1843 |
+
"entropy": 0.3060546875,
|
| 1844 |
+
"epoch": 1.3037497644620313,
|
| 1845 |
+
"grad_norm": 0.4360472559928894,
|
| 1846 |
+
"learning_rate": 1.7340946352319795e-05,
|
| 1847 |
+
"loss": 0.3208837270736694,
|
| 1848 |
+
"mean_token_accuracy": 0.9051508828997612,
|
| 1849 |
+
"num_tokens": 21847166.0,
|
| 1850 |
+
"step": 1730
|
| 1851 |
+
},
|
| 1852 |
+
{
|
| 1853 |
+
"entropy": 0.275732421875,
|
| 1854 |
+
"epoch": 1.311286979461089,
|
| 1855 |
+
"grad_norm": 0.42607492208480835,
|
| 1856 |
+
"learning_rate": 1.730770764716206e-05,
|
| 1857 |
+
"loss": 0.2842782735824585,
|
| 1858 |
+
"mean_token_accuracy": 0.912279462814331,
|
| 1859 |
+
"num_tokens": 21972827.0,
|
| 1860 |
+
"step": 1740
|
| 1861 |
+
},
|
| 1862 |
+
{
|
| 1863 |
+
"entropy": 0.298291015625,
|
| 1864 |
+
"epoch": 1.3188241944601469,
|
| 1865 |
+
"grad_norm": 0.3897174298763275,
|
| 1866 |
+
"learning_rate": 1.7274294768157065e-05,
|
| 1867 |
+
"loss": 0.30409531593322753,
|
| 1868 |
+
"mean_token_accuracy": 0.907126384973526,
|
| 1869 |
+
"num_tokens": 22098702.0,
|
| 1870 |
+
"step": 1750
|
| 1871 |
+
},
|
| 1872 |
+
{
|
| 1873 |
+
"entropy": 0.301708984375,
|
| 1874 |
+
"epoch": 1.3263614094592049,
|
| 1875 |
+
"grad_norm": 0.3547886312007904,
|
| 1876 |
+
"learning_rate": 1.7240708511676253e-05,
|
| 1877 |
+
"loss": 0.30962510108947755,
|
| 1878 |
+
"mean_token_accuracy": 0.9043201595544815,
|
| 1879 |
+
"num_tokens": 22224280.0,
|
| 1880 |
+
"step": 1760
|
| 1881 |
+
},
|
| 1882 |
+
{
|
| 1883 |
+
"entropy": 0.2868896484375,
|
| 1884 |
+
"epoch": 1.3338986244582627,
|
| 1885 |
+
"grad_norm": 0.41709667444229126,
|
| 1886 |
+
"learning_rate": 1.7206949678223388e-05,
|
| 1887 |
+
"loss": 0.29194619655609133,
|
| 1888 |
+
"mean_token_accuracy": 0.9089675724506379,
|
| 1889 |
+
"num_tokens": 22350124.0,
|
| 1890 |
+
"step": 1770
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"entropy": 0.31044921875,
|
| 1894 |
+
"epoch": 1.3414358394573205,
|
| 1895 |
+
"grad_norm": 0.41593441367149353,
|
| 1896 |
+
"learning_rate": 1.7173019072415488e-05,
|
| 1897 |
+
"loss": 0.3232313871383667,
|
| 1898 |
+
"mean_token_accuracy": 0.9014707505702972,
|
| 1899 |
+
"num_tokens": 22466149.0,
|
| 1900 |
+
"step": 1780
|
| 1901 |
+
},
|
| 1902 |
+
{
|
| 1903 |
+
"entropy": 0.302587890625,
|
| 1904 |
+
"epoch": 1.3489730544563785,
|
| 1905 |
+
"grad_norm": 0.3737364113330841,
|
| 1906 |
+
"learning_rate": 1.7138917502963627e-05,
|
| 1907 |
+
"loss": 0.3045801639556885,
|
| 1908 |
+
"mean_token_accuracy": 0.9061708480119706,
|
| 1909 |
+
"num_tokens": 22589692.0,
|
| 1910 |
+
"step": 1790
|
| 1911 |
+
},
|
| 1912 |
+
{
|
| 1913 |
+
"entropy": 0.288525390625,
|
| 1914 |
+
"epoch": 1.3565102694554363,
|
| 1915 |
+
"grad_norm": 0.36714568734169006,
|
| 1916 |
+
"learning_rate": 1.710464578265369e-05,
|
| 1917 |
+
"loss": 0.2963777780532837,
|
| 1918 |
+
"mean_token_accuracy": 0.9083131685853004,
|
| 1919 |
+
"num_tokens": 22722538.0,
|
| 1920 |
+
"step": 1800
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"entropy": 0.273828125,
|
| 1924 |
+
"epoch": 1.364047484454494,
|
| 1925 |
+
"grad_norm": 0.35630372166633606,
|
| 1926 |
+
"learning_rate": 1.7070204728326964e-05,
|
| 1927 |
+
"loss": 0.27682127952575686,
|
| 1928 |
+
"mean_token_accuracy": 0.9124655604362488,
|
| 1929 |
+
"num_tokens": 22857508.0,
|
| 1930 |
+
"step": 1810
|
| 1931 |
+
},
|
| 1932 |
+
{
|
| 1933 |
+
"entropy": 0.2949951171875,
|
| 1934 |
+
"epoch": 1.3715846994535519,
|
| 1935 |
+
"grad_norm": 0.353568434715271,
|
| 1936 |
+
"learning_rate": 1.7035595160860694e-05,
|
| 1937 |
+
"loss": 0.3098414897918701,
|
| 1938 |
+
"mean_token_accuracy": 0.9068989664316177,
|
| 1939 |
+
"num_tokens": 22982244.0,
|
| 1940 |
+
"step": 1820
|
| 1941 |
+
},
|
| 1942 |
+
{
|
| 1943 |
+
"entropy": 0.30048828125,
|
| 1944 |
+
"epoch": 1.3791219144526097,
|
| 1945 |
+
"grad_norm": 0.33436575531959534,
|
| 1946 |
+
"learning_rate": 1.7000817905148523e-05,
|
| 1947 |
+
"loss": 0.3092353820800781,
|
| 1948 |
+
"mean_token_accuracy": 0.9077757328748703,
|
| 1949 |
+
"num_tokens": 23115582.0,
|
| 1950 |
+
"step": 1830
|
| 1951 |
+
},
|
| 1952 |
+
{
|
| 1953 |
+
"entropy": 0.293017578125,
|
| 1954 |
+
"epoch": 1.3866591294516675,
|
| 1955 |
+
"grad_norm": 0.3831446170806885,
|
| 1956 |
+
"learning_rate": 1.6965873790080806e-05,
|
| 1957 |
+
"loss": 0.2991267442703247,
|
| 1958 |
+
"mean_token_accuracy": 0.9091545164585113,
|
| 1959 |
+
"num_tokens": 23244458.0,
|
| 1960 |
+
"step": 1840
|
| 1961 |
+
},
|
| 1962 |
+
{
|
| 1963 |
+
"entropy": 0.2932373046875,
|
| 1964 |
+
"epoch": 1.3941963444507255,
|
| 1965 |
+
"grad_norm": 0.4001041352748871,
|
| 1966 |
+
"learning_rate": 1.693076364852487e-05,
|
| 1967 |
+
"loss": 0.3073925018310547,
|
| 1968 |
+
"mean_token_accuracy": 0.9061064407229423,
|
| 1969 |
+
"num_tokens": 23370896.0,
|
| 1970 |
+
"step": 1850
|
| 1971 |
+
},
|
| 1972 |
+
{
|
| 1973 |
+
"entropy": 0.2966796875,
|
| 1974 |
+
"epoch": 1.4017335594497833,
|
| 1975 |
+
"grad_norm": 0.36026492714881897,
|
| 1976 |
+
"learning_rate": 1.6895488317305174e-05,
|
| 1977 |
+
"loss": 0.3013612747192383,
|
| 1978 |
+
"mean_token_accuracy": 0.9059083923697472,
|
| 1979 |
+
"num_tokens": 23490463.0,
|
| 1980 |
+
"step": 1860
|
| 1981 |
+
},
|
| 1982 |
+
{
|
| 1983 |
+
"entropy": 0.28447265625,
|
| 1984 |
+
"epoch": 1.409270774448841,
|
| 1985 |
+
"grad_norm": 0.4457832872867584,
|
| 1986 |
+
"learning_rate": 1.6860048637183336e-05,
|
| 1987 |
+
"loss": 0.2879622936248779,
|
| 1988 |
+
"mean_token_accuracy": 0.910649086534977,
|
| 1989 |
+
"num_tokens": 23619624.0,
|
| 1990 |
+
"step": 1870
|
| 1991 |
+
},
|
| 1992 |
+
{
|
| 1993 |
+
"epoch": 1.409270774448841,
|
| 1994 |
+
"eval_entropy": 0.2866534497364458,
|
| 1995 |
+
"eval_loss": 0.31162187457084656,
|
| 1996 |
+
"eval_mean_token_accuracy": 0.9055151030959854,
|
| 1997 |
+
"eval_num_tokens": 23619624.0,
|
| 1998 |
+
"eval_runtime": 444.4582,
|
| 1999 |
+
"eval_samples_per_second": 5.969,
|
| 2000 |
+
"eval_steps_per_second": 1.494,
|
| 2001 |
+
"step": 1870
|
| 2002 |
}
|
| 2003 |
],
|
| 2004 |
"logging_steps": 10,
|
|
|
|
| 2018 |
"attributes": {}
|
| 2019 |
}
|
| 2020 |
},
|
| 2021 |
+
"total_flos": 1.787706633963438e+18,
|
| 2022 |
"train_batch_size": 4,
|
| 2023 |
"trial_name": null,
|
| 2024 |
"trial_params": null
|