Instructions to use naver-hyperclovax/HyperCLOVAX-SEED-Think-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-14B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="naver-hyperclovax/HyperCLOVAX-SEED-Think-14B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("naver-hyperclovax/HyperCLOVAX-SEED-Think-14B", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("naver-hyperclovax/HyperCLOVAX-SEED-Think-14B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-14B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "naver-hyperclovax/HyperCLOVAX-SEED-Think-14B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "naver-hyperclovax/HyperCLOVAX-SEED-Think-14B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/naver-hyperclovax/HyperCLOVAX-SEED-Think-14B
- SGLang
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-14B 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 "naver-hyperclovax/HyperCLOVAX-SEED-Think-14B" \ --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": "naver-hyperclovax/HyperCLOVAX-SEED-Think-14B", "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 "naver-hyperclovax/HyperCLOVAX-SEED-Think-14B" \ --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": "naver-hyperclovax/HyperCLOVAX-SEED-Think-14B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-14B with Docker Model Runner:
docker model run hf.co/naver-hyperclovax/HyperCLOVAX-SEED-Think-14B
| {% if tools is not defined or tools is none %} | |
| {{- '<|im_start|>tool_list\n<|im_end|>\n' }} | |
| {%- else %} | |
| {{- '<|im_start|>tool_list\n[' }} | |
| {%- for tool in tools %} | |
| {{- '{"name": "' }} | |
| {{- tool.function.name }} | |
| {{- '", ' }} | |
| {{- '"description": "' }} | |
| {{- tool.function.description }} | |
| {{- '"' }} | |
| {%- if tool.function.parameters is defined %} | |
| {{- ', "parameters": ' }} | |
| {{- tool.function.parameters | tojson }} | |
| {%- endif %} | |
| {{- '}' }} | |
| {%- if not loop.last %} | |
| {{- ', ' }} | |
| {%- endif %} | |
| {%- endfor %} | |
| {{- ']<|im_end|>\n' }} | |
| {%- endif %} | |
| {%- set ns = namespace(is_searching=true, last_query_index=-1) %} | |
| {%- for message in messages[::-1] %} | |
| {%- set index = (messages|length - 1) - loop.index0 %} | |
| {%- if ns.is_searching and (message.role == 'user' or message.role == 'tool') %} | |
| {%- set ns.last_query_index = index %} | |
| {%- set ns.is_searching = false %} | |
| {%- endif %} | |
| {%- endfor %} | |
| {%- for message in messages %} | |
| {%- if loop.index0 == 0 and message.role != 'system' %} | |
| {{- '<|im_start|>system\n<|im_end|>\n' }} | |
| {%- endif %} | |
| {%- if message.content is string %} | |
| {%- set content = message.content %} | |
| {%- elif message.content is iterable and message.content is not none %} | |
| {%- set ns_content = namespace(text='') %} | |
| {%- for part in message.content %} | |
| {%- if part.type is defined and part.type == 'text' and part.text is defined %} | |
| {%- set ns_content.text = ns_content.text + part.text %} | |
| {%- endif %} | |
| {%- endfor %} | |
| {%- set content = ns_content.text %} | |
| {%- else %} | |
| {%- set content = '' %} | |
| {%- endif %} | |
| {%- set reasoning_content = '' %} | |
| {%- if message.reasoning_content is defined and message.reasoning_content is not none %} | |
| {%- set reasoning_content = message.reasoning_content %} | |
| {%- endif %} | |
| {%- if message.role == "assistant" %} | |
| {%- if loop.index0 > ns.last_query_index %} | |
| {%- if reasoning_content %} | |
| {{- '<|im_start|>assistant/think\n' + reasoning_content.strip('\n') + '<|im_end|>\n' }} | |
| {%- endif %} | |
| {%- endif %} | |
| {%- if content %} | |
| {{- '<|im_start|>assistant\n' + content.strip('\n') + '<|im_end|>' }} | |
| {%- if message.tool_calls %} | |
| {{- '\n' }} | |
| {%- else %} | |
| {{- '<|endofturn|>\n' }} | |
| {%- endif %} | |
| {%- endif %} | |
| {%- if message.tool_calls %} | |
| {{- '<|im_start|>assistant -> tool/function_call\n[' }} | |
| {%- for tool_call in message.tool_calls %} | |
| {%- if not loop.first %} | |
| {{- ', ' }} | |
| {%- endif %} | |
| {%- if tool_call.function %} | |
| {%- set tool_call = tool_call.function %} | |
| {%- endif %} | |
| {{- '{"name": "' }} | |
| {{- tool_call.name }} | |
| {{- '", "arguments": ' }} | |
| {%- if tool_call.arguments is string %} | |
| {{- tool_call.arguments }} | |
| {%- else %} | |
| {{- tool_call.arguments | tojson }} | |
| {%- endif %} | |
| {{- '}' }} | |
| {%- endfor %} | |
| {{- ']<|im_end|><|stop|>\n' }} | |
| {%- endif %} | |
| {%- elif message.role == "tool" %} | |
| {{- '<|im_start|>tool/function_call\n' + content + '<|im_end|>\n' }} | |
| {%- else %} | |
| {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>\n' }} | |
| {%- endif %} | |
| {%- endfor %} | |
| {%- if add_generation_prompt %} | |
| {%- if force_reasoning is defined and force_reasoning is true %} | |
| {{- '<|im_start|>assistant/think\n' }} | |
| {%- elif skip_reasoning is defined and skip_reasoning is true %} | |
| {{- '<|im_start|>assistant/think\n<|im_end|>\n<|im_start|>assistant\n' }} | |
| {%- else %} | |
| {{- '<|im_start|>assistant' }} | |
| {%- endif %} | |
| {%- endif %} |