Text Generation
Transformers
Safetensors
English
llama
reasoning
small
distillation
text-generation-inference
Instructions to use HBB-Community/HBBCM-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HBB-Community/HBBCM-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HBB-Community/HBBCM-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HBB-Community/HBBCM-v1") model = AutoModelForCausalLM.from_pretrained("HBB-Community/HBBCM-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HBB-Community/HBBCM-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HBB-Community/HBBCM-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HBB-Community/HBBCM-v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/HBB-Community/HBBCM-v1
- SGLang
How to use HBB-Community/HBBCM-v1 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 "HBB-Community/HBBCM-v1" \ --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": "HBB-Community/HBBCM-v1", "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 "HBB-Community/HBBCM-v1" \ --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": "HBB-Community/HBBCM-v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use HBB-Community/HBBCM-v1 with Docker Model Runner:
docker model run hf.co/HBB-Community/HBBCM-v1
Commit History
Today
-
Update README.md
Verified signature6d8f6bb -
Update README.md
Verified signaturec6bca09
-
Update README.md
Verified signature0d4b399
-
Update README.md
Verified signature0143c9b
-
Update README.md
Verified signature1dc2316
-
Update README.md
Jar with waterVerified signature0f4329c
-
Update README.md
Verified signature84761a2 -
Upload logo.png
Verified signature5716762
-
Update README.md
Copyright PVerified signature2876e43 -
Update README.md
Copyright PVerified signaturec2c6c60 -
Update README.md
Copyright PVerified signature4f6f57a -
Update README.md
Copyright PVerified signaturee49b875 -
Delete checkpoint-1000
Copyright PVerified signaturea664404 -
Delete checkpoint-500
Copyright PVerified signature9e8c98e -
Upload 5 files
Copyright PVerified signature59c2054 -
Delete config.json
Copyright PVerified signatureeb008c7 -
Update README.md
Copyright PVerified signature8752cde -
Update config.json
HBB Team CreationsVerified signature6c73a50 -
Upload config.json
HBB Team CreationsVerified signature81b1c03 -
Update README.md
HBB Team CreationsVerified signature9af5329 -
Update README.md
HBB Team CreationsVerified signaturedb2e781 -
Update README.md (#1)
HBB Team Creations- Update README.md (78ccce3b256b7a24dfb8e5ca08c2c0735bc6a7d2)56e2bfa -
Upload 10 files
Copyright PVerified signature7966f77 -
Update README.md
Copyright PVerified signature12f6349 -
Update README.md
Copyright PVerified signature6a8d493 -
Update README.md
Copyright PVerified signature3ba1d12
-
Update README.md
Copyright PVerified signature35e0dbd -
Update README.md
Copyright PVerified signature7b05d30 -
Update README.md
Copyright PVerified signaturef71ad99 -
Update README.md
Copyright PVerified signaturea8adf04
-
initial commit
Copyright PVerified signaturef0ca5cf