Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

tripplet-research
/
suzhou3.2

Text Generation
Transformers
Safetensors
chat
suzhou
merged
reasoning
tool-use
agent
conversational
Model card Files Files and versions
xet
Community
1

Instructions to use tripplet-research/suzhou3.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use tripplet-research/suzhou3.2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="tripplet-research/suzhou3.2")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("tripplet-research/suzhou3.2", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use tripplet-research/suzhou3.2 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "tripplet-research/suzhou3.2"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "tripplet-research/suzhou3.2",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/tripplet-research/suzhou3.2
  • SGLang

    How to use tripplet-research/suzhou3.2 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 "tripplet-research/suzhou3.2" \
        --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": "tripplet-research/suzhou3.2",
    		"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 "tripplet-research/suzhou3.2" \
            --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": "tripplet-research/suzhou3.2",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use tripplet-research/suzhou3.2 with Docker Model Runner:

    docker model run hf.co/tripplet-research/suzhou3.2
suzhou3.2
17.9 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
alextripplet's picture
alextripplet
Upload README.md with huggingface_hub
e0b9559 verified 12 days ago
  • .gitattributes
    1.57 kB
    Upload tokenizer.json with huggingface_hub 12 days ago
  • README.md
    1.4 kB
    Upload README.md with huggingface_hub 12 days ago
  • chat_template.jinja
    7.76 kB
    Upload chat_template.jinja with huggingface_hub 12 days ago
  • config.json
    1.37 kB
    Upload config.json with huggingface_hub 12 days ago
  • generation_config.json
    115 Bytes
    Upload generation_config.json with huggingface_hub 12 days ago
  • merge_manifest.json
    363 Bytes
    Upload merge_manifest.json with huggingface_hub 12 days ago
  • model-00001-of-00002.safetensors
    9.93 GB
    xet
    Upload model-00001-of-00002.safetensors with huggingface_hub 12 days ago
  • model-00002-of-00002.safetensors
    7.98 GB
    xet
    Upload model-00002-of-00002.safetensors with huggingface_hub 12 days ago
  • model.safetensors.index.json
    241 Bytes
    Upload model.safetensors.index.json with huggingface_hub 12 days ago
  • tokenizer.json
    20 MB
    xet
    Upload tokenizer.json with huggingface_hub 12 days ago
  • tokenizer_config.json
    1.1 kB
    Upload tokenizer_config.json with huggingface_hub 12 days ago