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

  • Log In
  • Sign Up

decompute
/
Nebula-S-SVMS2-3B-Internal

Text Generation
Transformers
Safetensors
llama
custom-code
internal
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use decompute/Nebula-S-SVMS2-3B-Internal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use decompute/Nebula-S-SVMS2-3B-Internal with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="decompute/Nebula-S-SVMS2-3B-Internal")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("decompute/Nebula-S-SVMS2-3B-Internal")
    model = AutoModelForCausalLM.from_pretrained("decompute/Nebula-S-SVMS2-3B-Internal")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use decompute/Nebula-S-SVMS2-3B-Internal with vLLM:

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

    How to use decompute/Nebula-S-SVMS2-3B-Internal 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 "decompute/Nebula-S-SVMS2-3B-Internal" \
        --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": "decompute/Nebula-S-SVMS2-3B-Internal",
    		"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 "decompute/Nebula-S-SVMS2-3B-Internal" \
            --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": "decompute/Nebula-S-SVMS2-3B-Internal",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use decompute/Nebula-S-SVMS2-3B-Internal with Docker Model Runner:

    docker model run hf.co/decompute/Nebula-S-SVMS2-3B-Internal
Nebula-S-SVMS2-3B-Internal
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
hinadixit19's picture
hinadixit19
Fix custom license metadata slug
06a24c8 verified 2 days ago
  • core
    Upload folder using huggingface_hub 3 days ago
  • .gitattributes
    1.52 kB
    initial commit 3 days ago
  • LICENSE
    742 Bytes
    Replace LICENSE with Decompute internal license 2 days ago
  • NOTICE
    211 Bytes
    Upload folder using huggingface_hub 3 days ago
  • README.md
    3.66 kB
    Fix custom license metadata slug 2 days ago
  • config.json
    781 Bytes
    Add root config.json for Hugging Face download tracking 3 days ago
  • download_count_touch.py
    418 Bytes
    Add counted download touch helper 3 days ago
  • modeling_nebula.py
    15.5 kB
    Upload folder using huggingface_hub 3 days ago
  • nebula_runtime.py
    580 Bytes
    Touch root config.json before runtime downloads 3 days ago
  • release_metadata.json
    439 Bytes
    Upload folder using huggingface_hub 3 days ago
  • requirements.txt
    95 Bytes
    Upload folder using huggingface_hub 3 days ago
  • runtime_environment.json
    379 Bytes
    Upload folder using huggingface_hub 3 days ago
  • runtime_weights.safetensors
    910 MB
    xet
    Upload folder using huggingface_hub 3 days ago