Text Generation
Transformers
Safetensors
English
Korean
exaone
lg-ai
exaone-3.5
conversational
custom_code
Eval Results
Instructions to use LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct
- SGLang
How to use LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct 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 "LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct" \ --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": "LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct", "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 "LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct" \ --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": "LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct with Docker Model Runner:
docker model run hf.co/LGAI-EXAONE/EXAONE-3.5-2.4B-Instruct
Add EvalEval community eval results
#13 opened 4 months ago
by
EvalEvalBot
something isn't right, this model is 1 year old and in the top spot in the leaderboards. I am not that naive.
#12 opened 8 months ago
by
karmikovic
AttributeError: 'list' object has no attribute 'keys' on Mac M4
11
#9 opened 8 months ago
by
Bias92
add AIBOM
#8 opened over 1 year ago
by
sabato-nocera
๋ชจ๋ธ ๋ค์ด๋ก๋ ๊ด๋ จ ์ด์ ์ง๋ฌธ๋๋ฆฝ๋๋ค.
1
#7 opened over 1 year ago
by
hyeon12
์์ํ(llama.cpp) gguf ๋ณํ ๊ด๋ จ ์ง๋ฌธ ๋๋ฆฝ๋๋ค
6
#5 opened over 1 year ago
by
YoungDeuk
Tokenizer์ ๋ํ ์ง๋ฌธ
๐ 2
1
#4 opened over 1 year ago
by
min913
high memory use
5
#3 opened almost 2 years ago
by
rootw0rm