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

  • Log In
  • Sign Up

botbottingbot
/
Modular_Intelligence

Text Generation
Transformers
English
modular-intelligence
reasoning
structure
experimental
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use botbottingbot/Modular_Intelligence with Transformers:

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

    How to use botbottingbot/Modular_Intelligence with vLLM:

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

    How to use botbottingbot/Modular_Intelligence 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 "botbottingbot/Modular_Intelligence" \
        --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": "botbottingbot/Modular_Intelligence",
    		"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 "botbottingbot/Modular_Intelligence" \
            --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": "botbottingbot/Modular_Intelligence",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use botbottingbot/Modular_Intelligence with Docker Model Runner:

    docker model run hf.co/botbottingbot/Modular_Intelligence
Modular_Intelligence
29 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 31 commits
botbottingbot's picture
botbottingbot
Update README.md
691ed73 verified 6 months ago
  • .gitattributes
    1.63 kB
    Update .gitattributes 6 months ago
  • .gitignore
    1.95 kB
    Create .gitignore 6 months ago
  • README.md
    1.56 kB
    Update README.md 6 months ago
  • app.py
    9.5 kB
    Update app.py 6 months ago
  • diagram.txt
    1.1 kB
    Rename Diagram.txt to diagram.txt 6 months ago
  • license.txt
    433 Bytes
    Rename License.txt to license.txt 6 months ago
  • model_card.md
    4.06 kB
    Update model_card.md 6 months ago
  • modules.json
    7.14 kB
    Update modules.json 6 months ago
  • readme.md
    880 Bytes
    Rename Readme.md to readme.md 6 months ago
  • requirements .txt
    40 Bytes
    Rename Requirements.txt to requirements .txt 6 months ago
  • space_description.md
    701 Bytes
    Rename Space_description.md to space_description.md 6 months ago