Instructions to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2 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_ratio0.2 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_ratio0.2") - Transformers
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2 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_ratio0.2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2 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_ratio0.2" # 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_ratio0.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2
- SGLang
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2 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_ratio0.2" \ --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_ratio0.2", "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_ratio0.2" \ --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_ratio0.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2 with Docker Model Runner:
docker model run hf.co/Jongbin-kr/exaone_7b_lora_rtlcoder_ratio0.2
Commit History
-
Publish best LoRA adapter checkpoint (step 1020, lowest eval loss)
Verified signature20417ac -
Upload LoRA adapter checkpoint at step 5000
Verified signature60df15f -
Upload LoRA adapter checkpoint at step 4930
Verified signature2d84bc1 -
Upload LoRA adapter checkpoint at step 4760
Verified signature20a1f86 -
Upload LoRA adapter checkpoint at step 4590
Verified signature48e8ac6 -
Upload LoRA adapter checkpoint at step 4420
Verified signatureeb93e43 -
Upload LoRA adapter checkpoint at step 4250
Verified signature54c8b74 -
Upload LoRA adapter checkpoint at step 4080
Verified signatureec17943 -
Upload LoRA adapter checkpoint at step 3910
Verified signature7c6ad3b -
Upload LoRA adapter checkpoint at step 3740
Verified signature91fe79d -
Upload LoRA adapter checkpoint at step 3570
Verified signaturedde5d59 -
Upload LoRA adapter checkpoint at step 3400
Verified signature20e8204 -
Upload LoRA adapter checkpoint at step 3230
Verified signature9ed0d63 -
Upload LoRA adapter checkpoint at step 3060
Verified signature3e889c0 -
Upload LoRA adapter checkpoint at step 2890
Verified signaturef83218f -
Upload LoRA adapter checkpoint at step 2720
Verified signature194de03 -
Upload LoRA adapter checkpoint at step 2720
Verified signaturee8e4c47 -
Upload LoRA adapter checkpoint at step 2550
Verified signature07198f2 -
Upload LoRA adapter checkpoint at step 2550
Verified signature8f1c4da -
Upload LoRA adapter checkpoint at step 2380
Verified signature3998196 -
Upload LoRA adapter checkpoint at step 2380
Verified signature47b0d6e -
Upload LoRA adapter checkpoint at step 2210
Verified signature9dbf237 -
Upload LoRA adapter checkpoint at step 2210
Verified signaturef43bb4a -
Upload LoRA adapter checkpoint at step 2040
Verified signaturee4a892a -
Upload LoRA adapter checkpoint at step 2040
Verified signatureba51f75 -
Upload LoRA adapter checkpoint at step 1870
Verified signaturea534d41 -
Upload LoRA adapter checkpoint at step 1870
Verified signatured8bf8b0 -
Upload LoRA adapter checkpoint at step 1700
Verified signature7c4d91c -
Upload LoRA adapter checkpoint at step 1700
Verified signature3dc1a9a -
Upload LoRA adapter checkpoint at step 1530
Verified signature8999aab -
Upload LoRA adapter checkpoint at step 1530
Verified signaturef1efcfa -
Upload LoRA adapter checkpoint at step 1360
Verified signature908593d -
Upload LoRA adapter checkpoint at step 1360
Verified signature20fb287 -
Upload LoRA adapter checkpoint at step 1190
Verified signaturee96fec7 -
Upload LoRA adapter checkpoint at step 1190
Verified signature4e860ba -
Upload LoRA adapter checkpoint at step 1020
Verified signature0ea2b31 -
Upload LoRA adapter checkpoint at step 850
Verified signaturec5f0cff -
Upload LoRA adapter checkpoint at step 1020
Verified signature83a0b9a -
Upload LoRA adapter checkpoint at step 850
Verified signature61f1e87 -
Upload LoRA adapter checkpoint at step 680
Verified signatureea50134 -
Upload LoRA adapter checkpoint at step 680
Verified signature569cc93 -
Upload LoRA adapter checkpoint at step 510
Verified signaturea938220 -
Upload LoRA adapter checkpoint at step 340
Verified signature16470e3 -
Upload LoRA adapter checkpoint at step 510
Verified signature720b05c -
Upload LoRA adapter checkpoint at step 340
Verified signature4f71ad4 -
Upload LoRA adapter checkpoint at step 170
Verified signature4f12794 -
Upload LoRA adapter checkpoint at step 170
Verified signature0d247d7 -
Initialize LoRA adapter repository
Verified signature0a8e585 -
initial commit
Verified signaturec729b25