Instructions to use yam-peleg/Hebrew-Mixtral-8x22B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yam-peleg/Hebrew-Mixtral-8x22B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="yam-peleg/Hebrew-Mixtral-8x22B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("yam-peleg/Hebrew-Mixtral-8x22B") model = AutoModelForCausalLM.from_pretrained("yam-peleg/Hebrew-Mixtral-8x22B") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use yam-peleg/Hebrew-Mixtral-8x22B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "yam-peleg/Hebrew-Mixtral-8x22B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "yam-peleg/Hebrew-Mixtral-8x22B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/yam-peleg/Hebrew-Mixtral-8x22B
- SGLang
How to use yam-peleg/Hebrew-Mixtral-8x22B 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 "yam-peleg/Hebrew-Mixtral-8x22B" \ --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": "yam-peleg/Hebrew-Mixtral-8x22B", "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 "yam-peleg/Hebrew-Mixtral-8x22B" \ --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": "yam-peleg/Hebrew-Mixtral-8x22B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use yam-peleg/Hebrew-Mixtral-8x22B with Docker Model Runner:
docker model run hf.co/yam-peleg/Hebrew-Mixtral-8x22B
Upload 14 files
Browse files- model-00033-of-00059.safetensors +3 -0
- model-00034-of-00059.safetensors +3 -0
- model-00035-of-00059.safetensors +3 -0
- model-00036-of-00059.safetensors +3 -0
- model-00037-of-00059.safetensors +3 -0
- model-00038-of-00059.safetensors +3 -0
- model-00039-of-00059.safetensors +3 -0
- model-00040-of-00059.safetensors +3 -0
- model-00041-of-00059.safetensors +3 -0
- model-00042-of-00059.safetensors +3 -0
- model-00043-of-00059.safetensors +3 -0
- model-00044-of-00059.safetensors +3 -0
- model-00045-of-00059.safetensors +3 -0
- model-00046-of-00059.safetensors +3 -0
model-00033-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4217eec6e69f6afea3ea363e0d9056bf1ab7b9b6e814ecc1490cb072178c4683
|
| 3 |
+
size 4806799120
|
model-00034-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a235127a7d75a2e4967f18dfa1172d28a1ef440817133ca979dea1935580cc95
|
| 3 |
+
size 4806799120
|
model-00035-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ee41eeb8fc4b075a828b33e6390ffebd309802ce2223f73aeafe65468bc0591
|
| 3 |
+
size 4806799120
|
model-00036-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd897e428d84a7f586fb9350e57774de21c36f1a7b77df8a40e7a2acf2132a6c
|
| 3 |
+
size 4806799120
|
model-00037-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f06f72096c3903aea94301556930a6676636c43f5779f38144fdd01635e53749
|
| 3 |
+
size 4806799120
|
model-00038-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83f508d7d205a1d1a3f9d60a65fbf5605948a40f48797a6e7b9766e52cafc1b3
|
| 3 |
+
size 4806799120
|
model-00039-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4056d32a2614b6b28a4a55ec1dda4c38c2adf29ffc641a22674e22d6a5faf59
|
| 3 |
+
size 4806799120
|
model-00040-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58a224fb9485138b84de9320693d5001829c286e84d0b9356d731a08923b9466
|
| 3 |
+
size 4806799120
|
model-00041-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fec8acd82c00320f79fe0fb16ada575877a8409b750e007aa7f815efad58a58e
|
| 3 |
+
size 4806799120
|
model-00042-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6ee514657b3e12bee0a16441fe1d17e5fb536023f0f8ff28c531b3c8ab45691
|
| 3 |
+
size 4806799120
|
model-00043-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1ca86256c0525cd831878f6ba8e773bc943eb90976df10e849ba1c17f704189
|
| 3 |
+
size 4806799120
|
model-00044-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12fd1b025dc1ba6879858cadf1e46dd9e99571184db28a5eb148c3b9027bdcfa
|
| 3 |
+
size 4806799120
|
model-00045-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76902bfff5527d4b22649db45748858d2a4414c391b925f25e8224c851934b77
|
| 3 |
+
size 4806799120
|
model-00046-of-00059.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3b74eac7d5957433eaae1edf8e2d82d3a394b0eac5dfc2fdbf1b3d39f48d472
|
| 3 |
+
size 4806799120
|