Text Generation
Transformers
Safetensors
English
microloop_diffusion
causal-lm
base-model
small-language-model
custom_code
muon
hummingbird
hummingbird-v2
conversational
Instructions to use juinron/Hummingbird-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use juinron/Hummingbird-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="juinron/Hummingbird-V2", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("juinron/Hummingbird-V2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use juinron/Hummingbird-V2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "juinron/Hummingbird-V2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "juinron/Hummingbird-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/juinron/Hummingbird-V2
- SGLang
How to use juinron/Hummingbird-V2 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 "juinron/Hummingbird-V2" \ --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": "juinron/Hummingbird-V2", "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 "juinron/Hummingbird-V2" \ --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": "juinron/Hummingbird-V2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use juinron/Hummingbird-V2 with Docker Model Runner:
docker model run hf.co/juinron/Hummingbird-V2
Add Hummingbird-V2 banner to model card
Browse files- .gitattributes +1 -0
- README.md +5 -3
- export_manifest.json +6 -2
- hummingbird-v2-banner.jpg +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
hummingbird-v2-banner.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -20,9 +20,11 @@ datasets:
|
|
| 20 |
- allenai/dolma3_dolmino_mix-100B-1025
|
| 21 |
- allenai/dolma3_dolmino_mix-10B-1025
|
| 22 |
- HuggingFaceFW/finepdfs-edu
|
| 23 |
-
---
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
| 26 |
|
| 27 |
Hummingbird-V2 is a 9.6M-parameter English base language model trained from scratch on
|
| 28 |
10 billion tokens. It is designed for text completion and continuation scoring.
|
|
|
|
| 20 |
- allenai/dolma3_dolmino_mix-100B-1025
|
| 21 |
- allenai/dolma3_dolmino_mix-10B-1025
|
| 22 |
- HuggingFaceFW/finepdfs-edu
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
|
| 27 |
+
# Hummingbird-V2
|
| 28 |
|
| 29 |
Hummingbird-V2 is a 9.6M-parameter English base language model trained from scratch on
|
| 30 |
10 billion tokens. It is designed for text completion and continuation scoring.
|
export_manifest.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
| 13 |
"sha256": "6125f403571b9c2bdf9995946836026822688f56db5ee15ac3e93292573e1ff2"
|
| 14 |
},
|
| 15 |
"README.md": {
|
| 16 |
-
"bytes":
|
| 17 |
-
"sha256": "
|
| 18 |
},
|
| 19 |
"TRAINING_DATA.md": {
|
| 20 |
"bytes": 1953,
|
|
@@ -44,6 +44,10 @@
|
|
| 44 |
"bytes": 250,
|
| 45 |
"sha256": "c086c408dba55e547bac299549a8b7713c768cb94a52fd2043429b1564d76094"
|
| 46 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
"model.safetensors": {
|
| 48 |
"bytes": 39041336,
|
| 49 |
"sha256": "4a7070feab2f6e6231597566e7049bab9e4acb283035674b357e33a1eabbda5f"
|
|
|
|
| 13 |
"sha256": "6125f403571b9c2bdf9995946836026822688f56db5ee15ac3e93292573e1ff2"
|
| 14 |
},
|
| 15 |
"README.md": {
|
| 16 |
+
"bytes": 3279,
|
| 17 |
+
"sha256": "b31ac3629a37f71b03e62697206f495ef4f7fa40e13b1094d67f2116d5627b01"
|
| 18 |
},
|
| 19 |
"TRAINING_DATA.md": {
|
| 20 |
"bytes": 1953,
|
|
|
|
| 44 |
"bytes": 250,
|
| 45 |
"sha256": "c086c408dba55e547bac299549a8b7713c768cb94a52fd2043429b1564d76094"
|
| 46 |
},
|
| 47 |
+
"hummingbird-v2-banner.jpg": {
|
| 48 |
+
"bytes": 174658,
|
| 49 |
+
"sha256": "2b922eedb3b2cc934a6e25a3948a04ebacc890695ef592caada81a570c3c6cf5"
|
| 50 |
+
},
|
| 51 |
"model.safetensors": {
|
| 52 |
"bytes": 39041336,
|
| 53 |
"sha256": "4a7070feab2f6e6231597566e7049bab9e4acb283035674b357e33a1eabbda5f"
|
hummingbird-v2-banner.jpg
ADDED
|
Git LFS Details
|