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

  • Log In
  • Sign Up

OpenBuddy
/
openbuddy-30b-ggml

Text Generation
Transformers
Chinese
English
Model card Files Files and versions
xet
Community

Instructions to use OpenBuddy/openbuddy-30b-ggml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use OpenBuddy/openbuddy-30b-ggml with Transformers:

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

    How to use OpenBuddy/openbuddy-30b-ggml with vLLM:

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

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

    How to use OpenBuddy/openbuddy-30b-ggml with Docker Model Runner:

    docker model run hf.co/OpenBuddy/openbuddy-30b-ggml
openbuddy-30b-ggml
121 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
ff670's picture
ff670
Update README.md
987c327 almost 3 years ago
  • .gitattributes
    1.97 kB
    Upload folder using huggingface_hub almost 3 years ago
  • 30b-v1.3-q2_K.bin.enc
    13.6 GB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • 30b-v1.3-q3_K.bin.enc
    15.7 GB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • 30b-v1.3-q4_0.bin.enc
    18.3 GB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • 30b-v1.3-q4_K.bin.enc
    19.6 GB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • 30b-v1.3-q5_0.bin.enc
    22.4 GB
    xet
    Rename ggml-model-q5_0.bin.enc to 30b-v1.3-q5_0.bin.enc almost 3 years ago
  • README.md
    752 Bytes
    Update README.md almost 3 years ago
  • openbuddy-llama-30b-v7-q3_K.bin.enc
    15.8 GB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • openbuddy-llama-30b-v7.1-q3_K.bin.enc
    15.8 GB
    xet
    Upload folder using huggingface_hub almost 3 years ago