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

  • Log In
  • Sign Up

shafire
/
QuantumAI

Text Generation
Transformers
TensorBoard
Safetensors
English
conversational
quantum-math
PEFT
Safetensors
AutoTrain
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use shafire/QuantumAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use shafire/QuantumAI with Transformers:

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

    How to use shafire/QuantumAI with vLLM:

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

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

    How to use shafire/QuantumAI with Docker Model Runner:

    docker model run hf.co/shafire/QuantumAI
QuantumAI
16.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 18 commits
shafire's picture
shafire
Create license
3d1e66f verified over 1 year ago
  • runs
    Upload folder using huggingface_hub over 1 year ago
  • .gitattributes
    1.57 kB
    Upload ZeroQuantumAI.png over 1 year ago
  • License
    7.63 kB
    Create License over 1 year ago
  • README.md
    4.07 kB
    Update README.md over 1 year ago
  • ZeroQuantumAI.png
    1.52 MB
    xet
    Upload ZeroQuantumAI.png over 1 year ago
  • adapter_config.json
    740 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • adapter_model.safetensors
    168 MB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • license
    7.63 kB
    Create license over 1 year ago
  • model-00001-of-00004.safetensors
    4.98 GB
    xet
    Upload 4 files over 1 year ago
  • model-00002-of-00004.safetensors
    5 GB
    xet
    Upload 4 files over 1 year ago
  • model-00003-of-00004.safetensors
    4.92 GB
    xet
    Upload 4 files over 1 year ago
  • model-00004-of-00004.safetensors
    1.17 GB
    xet
    Upload 4 files over 1 year ago
  • special_tokens_map.json
    325 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer.json
    9.09 MB
    Upload folder using huggingface_hub over 1 year ago
  • tokenizer_config.json
    55.4 kB
    Upload folder using huggingface_hub over 1 year ago
  • training_args.bin
    5.5 kB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • training_params.json
    1.33 kB
    Upload folder using huggingface_hub over 1 year ago