Text Generation
Transformers
Safetensors
Chinese
mini_gemini_qwen2
vlm
MLLM
Multi-Modal LLM
conversational
Instructions to use MonolithFoundation/Bumblebee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MonolithFoundation/Bumblebee with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MonolithFoundation/Bumblebee") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("MonolithFoundation/Bumblebee", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MonolithFoundation/Bumblebee with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MonolithFoundation/Bumblebee" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MonolithFoundation/Bumblebee", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MonolithFoundation/Bumblebee
- SGLang
How to use MonolithFoundation/Bumblebee 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 "MonolithFoundation/Bumblebee" \ --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": "MonolithFoundation/Bumblebee", "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 "MonolithFoundation/Bumblebee" \ --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": "MonolithFoundation/Bumblebee", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MonolithFoundation/Bumblebee with Docker Model Runner:
docker model run hf.co/MonolithFoundation/Bumblebee
metadata
frameworks:
- Pytorch
license: Apache License 2.0
tasks:
- video-question-answering
当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
您可以通过如下git clone命令,或者ModelScope SDK来下载模型
SDK下载
#安装ModelScope
pip install modelscope
#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('nextbig/test1')
Git下载
#Git模型下载
git clone https://www.modelscope.cn/nextbig/test1.git
如果您是本模型的贡献者,我们邀请您根据模型贡献文档,及时完善模型卡片内容。