Text Generation
Transformers
Safetensors
English
llama
reasoning
small
distillation
text-generation-inference
Instructions to use HBB-Community/HamBoBoGPT-1-Base_mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HBB-Community/HamBoBoGPT-1-Base_mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HBB-Community/HamBoBoGPT-1-Base_mini")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HBB-Community/HamBoBoGPT-1-Base_mini") model = AutoModelForCausalLM.from_pretrained("HBB-Community/HamBoBoGPT-1-Base_mini") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HBB-Community/HamBoBoGPT-1-Base_mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HBB-Community/HamBoBoGPT-1-Base_mini" # 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/HamBoBoGPT-1-Base_mini", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/HBB-Community/HamBoBoGPT-1-Base_mini
- SGLang
How to use HBB-Community/HamBoBoGPT-1-Base_mini 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/HamBoBoGPT-1-Base_mini" \ --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/HamBoBoGPT-1-Base_mini", "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/HamBoBoGPT-1-Base_mini" \ --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/HamBoBoGPT-1-Base_mini", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use HBB-Community/HamBoBoGPT-1-Base_mini with Docker Model Runner:
docker model run hf.co/HBB-Community/HamBoBoGPT-1-Base_mini
Update README.md
#1
by HBB-community-USER-A - opened
README.md
CHANGED
|
@@ -56,4 +56,6 @@ base_model:
|
|
| 56 |
- Эпоха 1 - **loss 3.5**, Использовано примеров **15 028**
|
| 57 |
- Эпоха 2 - **loss 3.2**, использовано примеров **15 028**
|
| 58 |
- Эпоха 3 - ?, использовано примеров **15 028**
|
| 59 |
-
- Эпоха 4 - ?, использовано примеров **15 028**
|
|
|
|
|
|
|
|
|
| 56 |
- Эпоха 1 - **loss 3.5**, Использовано примеров **15 028**
|
| 57 |
- Эпоха 2 - **loss 3.2**, использовано примеров **15 028**
|
| 58 |
- Эпоха 3 - ?, использовано примеров **15 028**
|
| 59 |
+
- Эпоха 4 - ?, использовано примеров **15 028**
|
| 60 |
+
|
| 61 |
+
**Да это же HamboboGPT-1_based-on-SupraThink_distilgpt_distil-Opus_high_reasoning**
|