Instructions to use temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct") model = PeftModel.from_pretrained(base_model, "temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1") - Transformers
How to use temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1") 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("temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1
- SGLang
How to use temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1 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 "temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1" \ --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": "temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1", "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 "temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1" \ --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": "temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1 with Docker Model Runner:
docker model run hf.co/temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1
EXAONE Easy Contract LoRA Adapter (v1.1)
μ£Όν μλμ°¨ κ³μ½μ μ‘°νμ μΌλ°μΈμ΄ μ΄ν΄ν μ μλλ‘
μ½κ³ λΆλλ¬μ΄ μ€λͺ
μ²΄λ‘ νμ΄ μ€λͺ
νλλ‘ νμ΅λ LoRA μ΄λν°μ
λλ€.
Base Model
- LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct
What This Adapter Does
- κ³μ½μ μ‘°νμ μλ―Έλ₯Ό νμ΄ μ¬μ΄ μ€λͺ μΌλ‘ λ³ν
- μλ¬Έμ μλ λ΄μ©μ μΆκ°νμ§ μλλ‘ νμ΅
- β~ν΄μΌ λΌμ / ~μμ / ~λ‘ λμ΄ μμ΄μβ μ€λͺ 체 μ μ§
- ν μ‘°νλΉ νλμ λ¬Έλ¨ μ€λͺ μμ±
Intended Use
- μ£Όκ±°μ© λΆλμ° μλμ°¨ κ³μ½μ μ¬μ΄ μ€λͺ μμ±
- κ³μ½μ κΈ°λ° Q&A λλ μ¬μ΄ κ³μ½μ 리ν¬νΈ
- FastAPI / RAG κΈ°λ° μλΉμ€μ κ²°ν© μ¬μ©
How to Use
from peft import PeftModel
from transformers import AutoModelForCausalLM
base = AutoModelForCausalLM.from_pretrained(
"LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct",
device_map="auto",
trust_remote_code=True
)
model = PeftModel.from_pretrained(
base,
"temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1"
)
Training Overview
Training method: Supervised Fine-Tuning (SFT)
Adaptation: LoRA / QLoRA
Data: μ£Όν μλμ°¨ κ³μ½μ μ‘°ν λ¨μ μ€λͺ
λ°μ΄ν°
Frameworks: PEFT, TRL, Transformers
Limitations
λ²λ₯ μλ¬Έμ λ체νμ§ μμ
μ€μ κ³μ½ νλ¨μ μλ¬Έ κ³μ½μμ μ λ¬Έκ° κ²ν νμ
License
Apache-2.0
- Downloads last month
- 8
Model tree for temdy/exaone-3.5-2.4b-easycontract-qlora-v1.1
Base model
LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct