Instructions to use naver-hyperclovax/HyperCLOVAX-SEED-Think-32B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-32B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="naver-hyperclovax/HyperCLOVAX-SEED-Think-32B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("naver-hyperclovax/HyperCLOVAX-SEED-Think-32B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-32B 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-32B" # 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-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/naver-hyperclovax/HyperCLOVAX-SEED-Think-32B
- SGLang
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-32B 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-32B" \ --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-32B", "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-32B" \ --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-32B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use naver-hyperclovax/HyperCLOVAX-SEED-Think-32B with Docker Model Runner:
docker model run hf.co/naver-hyperclovax/HyperCLOVAX-SEED-Think-32B
File size: 2,459 Bytes
f5e4236 c685e77 dd2fb8f c685e77 dd2fb8f f5e4236 dd2fb8f c685e77 dd2fb8f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | {
"processor_class": "HyperCLOVAXVisionV2Processor",
"image_processor": {
"discrete_image_end_token": "<|discrete_image_end|>",
"discrete_image_ratios": [
[
1,
1
],
[
1,
2
],
[
2,
1
],
[
3,
4
],
[
4,
3
],
[
9,
16
],
[
16,
9
],
[
1,
3
],
[
3,
1
]
],
"discrete_image_start_token": "<|discrete_image_start|>",
"discrete_image_token": "<|DISCRETE_IMAGE_PAD|>",
"discrete_token_size": 27,
"resize_mode": "smart_resize",
"do_center_crop": false,
"crop_size": null,
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_end_token": "<|image_end|>",
"image_mean": [
0.48145466,
0.4578275,
0.40821073
],
"image_processor_type": "HyperCLOVAXVisionV2ImageProcessor",
"image_start_token": "<|image_start|>",
"image_std": [
0.26862954,
0.26130258,
0.27577711
],
"image_token": "<|IMAGE_PAD|>",
"max_pixels": 2073600,
"merge_size": 2,
"min_pixels": 3136,
"patch_size": 14,
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"longest_edge": 2073600,
"shortest_edge": 3136
},
"temporal_patch_size": 2,
"use_discrete_token": false,
"vision_eof_token": "<|vision_eof|>",
"vision_eol_token": "<|vision_eol|>"
},
"video_processor": {
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.48145466,
0.4578275,
0.40821073
],
"image_std": [
0.26862954,
0.26130258,
0.27577711
],
"max_frames": 120,
"max_pixels": 285768,
"merge_size": 2,
"min_pixels": 3136,
"patch_size": 14,
"resample": 3,
"rescale_factor": 0.00392156862745098,
"temporal_patch_size": 2,
"use_audio_in_video": false,
"use_discrete_token": false,
"video_end_token": "<|video_end|>",
"video_processor_type": "HyperCLOVAXVisionV2VideoProcessor",
"video_start_token": "<|video_start|>",
"video_token": "<|VIDEO_PAD|>",
"video_audio_token": "<|VIDEO_AUDIO_PAD|>",
"vision_eof_token": "<|vision_eof|>",
"vision_eol_token": "<|vision_eol|>"
}
} |