Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

kaleidoscopicwhether
/
svg-gen-weights

Text Generation
Transformers
Safetensors
English
svg
text-to-svg
qwen2
qlora
lora
fine-tuning
code-generation
Model card Files Files and versions
xet
Community

Instructions to use kaleidoscopicwhether/svg-gen-weights with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use kaleidoscopicwhether/svg-gen-weights with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="kaleidoscopicwhether/svg-gen-weights")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("kaleidoscopicwhether/svg-gen-weights", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use kaleidoscopicwhether/svg-gen-weights with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "kaleidoscopicwhether/svg-gen-weights"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "kaleidoscopicwhether/svg-gen-weights",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/kaleidoscopicwhether/svg-gen-weights
  • SGLang

    How to use kaleidoscopicwhether/svg-gen-weights 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 "kaleidoscopicwhether/svg-gen-weights" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "kaleidoscopicwhether/svg-gen-weights",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    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 "kaleidoscopicwhether/svg-gen-weights" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "kaleidoscopicwhether/svg-gen-weights",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use kaleidoscopicwhether/svg-gen-weights with Docker Model Runner:

    docker model run hf.co/kaleidoscopicwhether/svg-gen-weights
svg-gen-weights
15.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 46 commits
kaleidoscopicwhether's picture
kaleidoscopicwhether
Upload README.md with huggingface_hub
038c760 verified 3 months ago
  • codegen-1.5b
    Upload codegen-1.5b/tokenizer_config.json with huggingface_hub 3 months ago
  • componly-r32-adapter
    Upload componly-r32-adapter/tokenizer_config.json with huggingface_hub 3 months ago
  • merged-1.5b-r16
    Upload merged-1.5b-r16/tokenizer_config.json with huggingface_hub 3 months ago
  • mixed-r32-adapter
    Upload mixed-r32-adapter/tokenizer_config.json with huggingface_hub 3 months ago
  • r16-3epoch
    Upload r16-3epoch/tokenizer_config.json with huggingface_hub 3 months ago
  • refined-7000
    Upload refined-7000/tokenizer_config.json with huggingface_hub 3 months ago
  • .gitattributes
    1.92 kB
    Upload codegen-1.5b/tokenizer.json with huggingface_hub 3 months ago
  • README.md
    2.72 kB
    Upload README.md with huggingface_hub 3 months ago