Instructions to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LGAI-EXAONE/EXAONE-Deep-32B-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LGAI-EXAONE/EXAONE-Deep-32B-GGUF", dtype="auto") - llama-cpp-python
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="LGAI-EXAONE/EXAONE-Deep-32B-GGUF", filename="EXAONE-Deep-32B-BF16-00001-of-00002.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LGAI-EXAONE/EXAONE-Deep-32B-GGUF" # 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-Deep-32B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
- SGLang
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF 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-Deep-32B-GGUF" \ --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-Deep-32B-GGUF", "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-Deep-32B-GGUF" \ --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-Deep-32B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with Ollama:
ollama run hf.co/LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
- Unsloth Studio new
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LGAI-EXAONE/EXAONE-Deep-32B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LGAI-EXAONE/EXAONE-Deep-32B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LGAI-EXAONE/EXAONE-Deep-32B-GGUF to start chatting
- Docker Model Runner
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with Docker Model Runner:
docker model run hf.co/LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
- Lemonade
How to use LGAI-EXAONE/EXAONE-Deep-32B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LGAI-EXAONE/EXAONE-Deep-32B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.EXAONE-Deep-32B-GGUF-Q4_K_M
List all available models
lemonade list
EXAONE-Deep-32B-GGUF
Introduction
We introduce EXAONE Deep, which exhibits superior capabilities in various reasoning tasks including math and coding benchmarks, ranging from 2.4B to 32B parameters developed and released by LG AI Research. Evaluation results show that 1) EXAONE Deep 2.4B outperforms other models of comparable size, 2) EXAONE Deep 7.8B outperforms not only open-weight models of comparable scale but also a proprietary reasoning model OpenAI o1-mini, and 3) EXAONE Deep 32B demonstrates competitive performance against leading open-weight models.
For more details, please refer to our documentation, blog and GitHub.
This repository contains the various precisions of the reasoning 32B language model in GGUF format, which contains the following features:
- Number of Parameters (without embeddings): 30.95B
- Number of Layers: 64
- Number of Attention Heads: GQA with 40 Q-heads and 8 KV-heads
- Vocab Size: 102,400
- Context Length: 32,768 tokens
- Quantization:
Q8_0,Q6_K,Q5_K_M,Q4_K_M,IQ4_XSin GGUF format (also includesBF16weights)
Quickstart
Here are the steps to run conversational inference with the model:
Install llama.cpp. Please refer to the llama.cpp repository for more details.
Download EXAONE Deep model in GGUF format.
huggingface-cli download LGAI-EXAONE/EXAONE-Deep-32B-GGUF \
--include "EXAONE-Deep-32B-BF16*.gguf" \
--local-dir .
- (Optional) In case of using BF16 precision, you may need to merge the split files.
llama-gguf-split --merge \
./EXAONE-Deep-32B-BF16-00001-of-00002.gguf \
./EXAONE-Deep-32B-BF16.gguf
- Run the model with llama.cpp in conversational mode. We set chat-template explicitly to handle reasoning steps properly.
llama-cli -m ./EXAONE-Deep-32B-BF16.gguf \
-sys "" \
-c 32768 \
--temp 0.6 \
--top-p 0.95 \
--jinja \
--chat-template "{% for message in messages %}{% if loop.first and message['role'] != 'system' %}{{ '[|system|][|endofturn|]\n' }}{% endif %}{% set content = message['content'] %}{% if '</thought>' in content %}{% set content = content.split('</thought>')[-1].lstrip('\\n') %}{% endif %}{{ '[|' + message['role'] + '|]' + content }}{% if not message['role'] == 'user' %}{{ '[|endofturn|]' }}{% endif %}{% if not loop.last %}{{ '\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '\n[|assistant|]<thought>\n' }}{% endif %}"
Note
The EXAONE Deep models are trained with an optimized configuration, so we recommend following the Usage Guideline section to achieve optimal performance.
Evaluation
You can check the evaluation results of original EXAONE Deep models at GitHub or our documentation.
Deployment
EXAONE Deep models can be inferred in the various frameworks, such as:
TensorRT-LLMvLLMSGLangllama.cppOllamaLM-Studio
Please refer to our EXAONE Deep GitHub for more details about the inference frameworks.
Quantization
We provide the pre-quantized EXAONE Deep models with AWQ and several quantization types in GGUF format. Please refer to our EXAONE Deep collection to find corresponding quantized models.
Usage Guideline
To achieve the expected performance, we recommend using the following configurations:
- Ensure the model starts with
<thought>\nfor reasoning steps. The model's output quality may be degraded when you omit it. You can easily apply this feature by usingtokenizer.apply_chat_template()withadd_generation_prompt=True. Please check the example code on Quickstart section. - The reasoning steps of EXAONE Deep models enclosed by
<thought>\n...\n</thought>usually have lots of tokens, so previous reasoning steps may be necessary to be removed in multi-turn situation. The provided tokenizer handles this automatically. - Avoid using system prompt, and build the instruction on the user prompt.
- Additional instructions help the models reason more deeply, so that the models generate better output.
- For math problems, the instructions "Please reason step by step, and put your final answer within \boxed{}." are helpful.
- For more information on our evaluation setting including prompts, please refer to our Documentation.
- In our evaluation, we use
temperature=0.6andtop_p=0.95for generation. - When evaluating the models, it is recommended to test multiple times to assess the expected performance accurately.
Limitation
The EXAONE language model has certain limitations and may occasionally generate inappropriate responses. The language model generates responses based on the output probability of tokens, and it is determined during learning from training data. While we have made every effort to exclude personal, harmful, and biased information from the training data, some problematic content may still be included, potentially leading to undesirable responses. Please note that the text generated by EXAONE language model does not reflects the views of LG AI Research.
- Inappropriate answers may be generated, which contain personal, harmful or other inappropriate information.
- Biased responses may be generated, which are associated with age, gender, race, and so on.
- The generated responses rely heavily on statistics from the training data, which can result in the generation of semantically or syntactically incorrect sentences.
- Since the model does not reflect the latest information, the responses may be false or contradictory.
LG AI Research strives to reduce potential risks that may arise from EXAONE language models. Users are not allowed to engage in any malicious activities (e.g., keying in illegal information) that may induce the creation of inappropriate outputs violating LG AI’s ethical principles when using EXAONE language models.
License
The model is licensed under EXAONE AI Model License Agreement 1.1 - NC
Citation
@article{exaone-deep,
title={EXAONE Deep: Reasoning Enhanced Language Models},
author={{LG AI Research}},
journal={arXiv preprint arXiv:2503.12524},
year={2025}
}
Contact
LG AI Research Technical Support: contact_us@lgresearch.ai
- Downloads last month
- 113
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for LGAI-EXAONE/EXAONE-Deep-32B-GGUF
Base model
LGAI-EXAONE/EXAONE-3.5-32B-Instruct