Text Generation
Transformers
Safetensors
qwen4_exp
image-text-to-text
qwen
qwen4-exp
Mixture of Experts
nvfp4
fp4
fp4-local
modelopt
mxfp8
csf
mtp
speculative-decoding
cybersecurity
security-research
red-team
blue-team
purple-team
llm-agent
fuzzing
vulnerability-research
tool-use
conversational
8-bit precision
Instructions to use Blackfrost-AI/CYBER-FROST-3.8-FP4-Local with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Blackfrost-AI/CYBER-FROST-3.8-FP4-Local with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Blackfrost-AI/CYBER-FROST-3.8-FP4-Local") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Blackfrost-AI/CYBER-FROST-3.8-FP4-Local") model = AutoModelForMultimodalLM.from_pretrained("Blackfrost-AI/CYBER-FROST-3.8-FP4-Local", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Blackfrost-AI/CYBER-FROST-3.8-FP4-Local with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Blackfrost-AI/CYBER-FROST-3.8-FP4-Local" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Blackfrost-AI/CYBER-FROST-3.8-FP4-Local", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Blackfrost-AI/CYBER-FROST-3.8-FP4-Local
- SGLang
How to use Blackfrost-AI/CYBER-FROST-3.8-FP4-Local 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 "Blackfrost-AI/CYBER-FROST-3.8-FP4-Local" \ --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": "Blackfrost-AI/CYBER-FROST-3.8-FP4-Local", "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 "Blackfrost-AI/CYBER-FROST-3.8-FP4-Local" \ --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": "Blackfrost-AI/CYBER-FROST-3.8-FP4-Local", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Blackfrost-AI/CYBER-FROST-3.8-FP4-Local with Docker Model Runner:
docker model run hf.co/Blackfrost-AI/CYBER-FROST-3.8-FP4-Local
Upload folder using huggingface_hub
Browse files- tensors/model-00001-of-00021.safetensors +3 -0
- tensors/model-00002-of-00021.safetensors +3 -0
- tensors/model-00003-of-00021.safetensors +3 -0
- tensors/model-00004-of-00021.safetensors +3 -0
- tensors/model-00005-of-00021.safetensors +3 -0
- tensors/model-00006-of-00021.safetensors +3 -0
- tensors/model-00007-of-00021.safetensors +3 -0
- tensors/model-00008-of-00021.safetensors +3 -0
- tensors/model-00009-of-00021.safetensors +3 -0
- tensors/model-00010-of-00021.safetensors +3 -0
- tensors/model-00011-of-00021.safetensors +3 -0
- tensors/model-00012-of-00021.safetensors +3 -0
- tensors/model-00013-of-00021.safetensors +3 -0
- tensors/model-00014-of-00021.safetensors +3 -0
- tensors/model-00015-of-00021.safetensors +3 -0
- tensors/model-00016-of-00021.safetensors +3 -0
- tensors/model-00017-of-00021.safetensors +3 -0
- tensors/model-00018-of-00021.safetensors +3 -0
- tensors/model-00019-of-00021.safetensors +3 -0
- tensors/model-00020-of-00021.safetensors +3 -0
- tensors/model-00021-of-00021.safetensors +3 -0
tensors/model-00001-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e918224904afab4cd565d5568746e90c7e7df0153035498b32c512b614b03e47
|
| 3 |
+
size 5000641200
|
tensors/model-00002-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4173137bc78cd89d1fa8a31aa8f912fd25fea643a04e94a90629f9be63cdc4ca
|
| 3 |
+
size 5002774468
|
tensors/model-00003-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34a7b360cf577a8abd03b67b2d11187cffa6cb2007918c97b577be4446b24da0
|
| 3 |
+
size 5002912900
|
tensors/model-00004-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc5d7e4e2eba566ed956c8bab4cd7057034d0594af679b444adddbf37375db99
|
| 3 |
+
size 5003173844
|
tensors/model-00005-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f8ac55cd51d0ab1c0cd3e7b1f69abd34eb1cb6a79ac186a66edd40d05dad9de
|
| 3 |
+
size 5003136172
|
tensors/model-00006-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c87a0baddca7ad3ca86f2094c0c2a6cb0eea7b1e9d1ce627206ce811fb03746
|
| 3 |
+
size 5002874992
|
tensors/model-00007-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:446db5450b5ecab727db25fa5399bbbe48b29c01414e17c3737024a29e92af09
|
| 3 |
+
size 5002890864
|
tensors/model-00008-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a422d5cd57f283589183190ca5306ada764afe6a9fb2438fc3b8d03c9ff68cd
|
| 3 |
+
size 5003083436
|
tensors/model-00009-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:871a4f43eecadc369d2a34c26aae5caef17f52b5b7af129456deb13d9bbec946
|
| 3 |
+
size 5002960796
|
tensors/model-00010-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:972d59a0fa2ad1688efac5ca7dc3005671969fb92edc8ec0fdabe14d35110956
|
| 3 |
+
size 5002818816
|
tensors/model-00011-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7158e5dbeeb8245ac26e324089d94ecb56b392720c25757643082323deffcfa4
|
| 3 |
+
size 5002666992
|
tensors/model-00012-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c121b995ab446f0ece1a33507fc532ec06cd06ba299eb6897c3ed89012656eb0
|
| 3 |
+
size 5002896040
|
tensors/model-00013-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62a48b1de08a2e83c4acecfad382dfbc857d9327ac8af82a3f82418d17d85858
|
| 3 |
+
size 5003218376
|
tensors/model-00014-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59cbb4cdafcc7829e230013b9156d446170e965a281e62c7d0d5c2ce5ef21272
|
| 3 |
+
size 4844996048
|
tensors/model-00015-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:475e3d56f297971d268c57d44d630acae1828302a3bd9a47385508e04e63b958
|
| 3 |
+
size 4860574920
|
tensors/model-00016-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87aa59ba5f5696845a961d69a5a8e42c1b05eb8f912c24c6146252e8f31a9d00
|
| 3 |
+
size 4950031028
|
tensors/model-00017-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2829db80e157365ebd2fae440987395591f06314a8f1c607ef8b1ba2d771b650
|
| 3 |
+
size 4950030896
|
tensors/model-00018-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5de16f570c87022bd062cf21e481bb9dc1577ffa0210f28762e66f6fbb04e84
|
| 3 |
+
size 4950030896
|
tensors/model-00019-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc4af45c7609ff8cc823ab2118a395d76415554861bc79ab44e8aa0ec47934f7
|
| 3 |
+
size 4950030904
|
tensors/model-00020-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51a6ff637133118713c82bb0a367cb4cd234aace9112af23ec02730bf7b6b190
|
| 3 |
+
size 4950030904
|
tensors/model-00021-of-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47aec84a5273549714cfa86d697f0743894d982a54b71a4f5e769963cd022aa8
|
| 3 |
+
size 2700016864
|