Text Generation
Transformers
Safetensors
hy_v4_flash
autoround
int2
int3
int4
fp8
mixed-precision
Mixture of Experts
vllm
engram
conversational
4-bit precision
auto-round
Instructions to use Beling86/Hy4-Flash-3.03BPW with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Beling86/Hy4-Flash-3.03BPW with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Beling86/Hy4-Flash-3.03BPW") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("Beling86/Hy4-Flash-3.03BPW", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Beling86/Hy4-Flash-3.03BPW with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Beling86/Hy4-Flash-3.03BPW" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Beling86/Hy4-Flash-3.03BPW", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Beling86/Hy4-Flash-3.03BPW
- SGLang
How to use Beling86/Hy4-Flash-3.03BPW 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 "Beling86/Hy4-Flash-3.03BPW" \ --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": "Beling86/Hy4-Flash-3.03BPW", "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 "Beling86/Hy4-Flash-3.03BPW" \ --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": "Beling86/Hy4-Flash-3.03BPW", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Beling86/Hy4-Flash-3.03BPW with Docker Model Runner:
docker model run hf.co/Beling86/Hy4-Flash-3.03BPW
Commit History
Yesterday
-
Add untouched BF16 Dragonfly/MTP speculative drafter (model-dfly.safetensors, 87 tensors)
Verified signatureebfd7ec
2 days ago
-
Upload config, index, and model card
Verified signature19be967 -
Upload shards 47-47/47
Verified signature2683582 -
Upload shards 45-46/47
Verified signature98bf047 -
Upload shards 43-44/47
Verified signature704b66c -
Upload shards 41-42/47
Verified signaturecd0a03a -
Upload shards 39-40/47
Verified signature80010e2 -
Upload shards 37-38/47
Verified signature533b4cb -
Upload shards 35-36/47
Verified signature7232f26 -
Upload shards 33-34/47
Verified signature902d6f7 -
Upload shards 31-32/47
Verified signaturecadf2ad -
Upload shards 29-30/47
Verified signaturee1f4e5d -
Upload shards 27-28/47
Verified signatureba1ec0b -
Upload shards 25-26/47
Verified signature547d92f -
Upload shards 23-24/47
Verified signatureffc97c2 -
Upload shards 21-22/47
Verified signatureb19dc45 -
Upload shards 19-20/47
Verified signature3a7f3c1 -
Upload shards 17-18/47
Verified signature871840c -
Upload shards 15-16/47
Verified signature1d8d174 -
Upload shards 13-14/47
Verified signaturef49ab45 -
Upload shards 11-12/47
Verified signature102f6d1 -
Upload shards 9-10/47
Verified signaturea165ccb -
Upload shards 7-8/47
Verified signaturecc96dc7 -
Upload shards 5-6/47
Verified signatureb4d5316 -
Upload shards 3-4/47
Verified signaturec50dd43 -
Upload shards 1-2/47
Verified signature661472e -
initial commit
Verified signatureaf03d04