Text Generation
Transformers
Safetensors
hy_v3
compressed-tensors
fp4
hy3
Mixture of Experts
nvfp4
quantized
conversational
8-bit precision
Instructions to use 0xSero/Hy3-299B-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 0xSero/Hy3-299B-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="0xSero/Hy3-299B-NVFP4") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("0xSero/Hy3-299B-NVFP4") model = AutoModelForCausalLM.from_pretrained("0xSero/Hy3-299B-NVFP4", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use 0xSero/Hy3-299B-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "0xSero/Hy3-299B-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "0xSero/Hy3-299B-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/0xSero/Hy3-299B-NVFP4
- SGLang
How to use 0xSero/Hy3-299B-NVFP4 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 "0xSero/Hy3-299B-NVFP4" \ --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": "0xSero/Hy3-299B-NVFP4", "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 "0xSero/Hy3-299B-NVFP4" \ --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": "0xSero/Hy3-299B-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use 0xSero/Hy3-299B-NVFP4 with Docker Model Runner:
docker model run hf.co/0xSero/Hy3-299B-NVFP4
Add files using upload-large-folder tool
Browse files- model-00001-of-00112.safetensors +3 -0
- model-00003-of-00112.safetensors +3 -0
- model-00004-of-00112.safetensors +3 -0
- model-00016-of-00112.safetensors +3 -0
- model-00018-of-00112.safetensors +3 -0
- model-00021-of-00112.safetensors +3 -0
- model-00023-of-00112.safetensors +3 -0
- model-00026-of-00112.safetensors +3 -0
- model-00038-of-00112.safetensors +3 -0
- model-00041-of-00112.safetensors +3 -0
- model-00047-of-00112.safetensors +3 -0
- model-00048-of-00112.safetensors +3 -0
- model-00051-of-00112.safetensors +3 -0
- model-00056-of-00112.safetensors +3 -0
- model-00063-of-00112.safetensors +3 -0
- model-00065-of-00112.safetensors +3 -0
- model-00067-of-00112.safetensors +3 -0
- model-00068-of-00112.safetensors +3 -0
- model-00070-of-00112.safetensors +3 -0
- model-00072-of-00112.safetensors +3 -0
- model-00076-of-00112.safetensors +3 -0
- model-00080-of-00112.safetensors +3 -0
- model-00081-of-00112.safetensors +3 -0
- model-00082-of-00112.safetensors +3 -0
- model-00084-of-00112.safetensors +3 -0
- model-00090-of-00112.safetensors +3 -0
- model-00096-of-00112.safetensors +3 -0
- model-00104-of-00112.safetensors +3 -0
- model-00107-of-00112.safetensors +3 -0
model-00001-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:594fcc5b2473716ea13aa5e54a46834d22587cbb2367d22ff06f0e257d0fbe50
|
| 3 |
+
size 1507750464
|
model-00003-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b0f7dbc984fcc7bb66194d8883860e52cd9e8c0ca8834693aa2c7fb4d82855e
|
| 3 |
+
size 1507751040
|
model-00004-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c063ff2463711908704142a8029244ccf28a0f7288fee6b027d93fd0be4535f0
|
| 3 |
+
size 1507752136
|
model-00016-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0999810c78295c789cfbc4699982285cd9c648edbcd4cefa7580534f3227d55
|
| 3 |
+
size 1507751552
|
model-00018-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f7011db4060920d9154de10ca483f2ed5f9e5c83c9c16efed7a9c7e249d0f90
|
| 3 |
+
size 1507752200
|
model-00021-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c37ac45e50744bc464b4f39f8225e68b31f6d3dc265757ee00b9c1a489a6caa
|
| 3 |
+
size 1507751912
|
model-00023-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0dc50ef11c1ea195cf4f87ad9a71872ab3eb5f81269448d716b4a80b4af556b
|
| 3 |
+
size 1507751784
|
model-00026-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72bdc85146c50276a015aadbc1d00b12f5e11eb5ea1299ee5112d2c0faa5e928
|
| 3 |
+
size 1507752080
|
model-00038-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80373568e57b22faa8017ce4e1841b24223cf5978c4b7ab1cf8d36b9a61355ab
|
| 3 |
+
size 1507751896
|
model-00041-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed3375659b47070ccca54ec6aa7431c6d04f6500d1bd34818ce9b50c922b1593
|
| 3 |
+
size 1507751776
|
model-00047-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28fa7dbe73019725afd083a49b88d51bd8fa2db816d72b189a58fd1527420450
|
| 3 |
+
size 1507752008
|
model-00048-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc7355315235d2c5c011c782a9fa301cb6f906acc0430b1c0cd2064cf9a334d8
|
| 3 |
+
size 1507751912
|
model-00051-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c63adf19ac465a52a0ee36439865d1ef69d168e6c793ce7a54eeea9b2055627f
|
| 3 |
+
size 1507751912
|
model-00056-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d4d9d61947e578f7bd604dd49e443b26d3a6fc011b10a0985e160953db8471b
|
| 3 |
+
size 1508886756
|
model-00063-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d22e9cf8416035d853a9a3ea067c676e9dedcd3f952b51d712992edf2f6e27cc
|
| 3 |
+
size 1507751800
|
model-00065-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f06674a33926967d35c9ec44d0909db2f87582b1d4f5aff0db8d4598af96b851
|
| 3 |
+
size 1507752072
|
model-00067-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6de8761db174997c2f29e7c0953a62f7c5aaefceefe2ac699eb058d3e4c1e091
|
| 3 |
+
size 1507751728
|
model-00068-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07f278b655eb5fe5aeef6cf8eb133cacd48c163a5172ad936b14640f5fc39c86
|
| 3 |
+
size 1507752064
|
model-00070-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ae804767e97bbebcd2cfd2a1546bc752fa7e5f4b994c2ba6142476f3a3798db5
|
| 3 |
+
size 2220342120
|
model-00072-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f53e8d1bd0f0552cfba0d50e40078ce87f2092db3408ef57c665157943c2d71
|
| 3 |
+
size 1507751848
|
model-00076-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77d40b831af278e57cb24b91da0d294e29b19dca211d224303f3221b76f892b8
|
| 3 |
+
size 1507751824
|
model-00080-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a228755f9263c0c2c4b003274c3b80b7a8c80cabfd50ef8765da8a3186b0708
|
| 3 |
+
size 1507751744
|
model-00081-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c6dccf3ff3502b1c7e3cf7540e7e5149fe27d59fa2d8513303dbbb860a8f357
|
| 3 |
+
size 1507751832
|
model-00082-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4411dcf81781e252bced2294ccbea0dce328fc81bc0981d94d58640a1c5fc02c
|
| 3 |
+
size 1507751944
|
model-00084-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82642f8fd370e7c9828847781f5dfb64bb4b34bd64f28a1ddc4802d16cd70970
|
| 3 |
+
size 1541648720
|
model-00090-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1af6c457a667017a5f2510a4f8ca5988244ddb208a4715bfa308a793e01acfb7
|
| 3 |
+
size 1507751832
|
model-00096-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a7ab0f795dcc4f1f23ca2bd23475cf41cb86fdfd6ccba2b3e8584d852409971
|
| 3 |
+
size 1507751912
|
model-00104-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99f243cad9b9ecd5df5022c38fde6771eb128d0e578b19ba3dbc2e53e5245d9a
|
| 3 |
+
size 1507751840
|
model-00107-of-00112.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f248c581cab585580cb1145b88080a4d63a4b4e30ef70ece4390a628a2ee366
|
| 3 |
+
size 1507752192
|