Instructions to use typeof/miqu-70b-split with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use typeof/miqu-70b-split with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="typeof/miqu-70b-split") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("typeof/miqu-70b-split") model = AutoModelForCausalLM.from_pretrained("typeof/miqu-70b-split") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use typeof/miqu-70b-split with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "typeof/miqu-70b-split" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "typeof/miqu-70b-split", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/typeof/miqu-70b-split
- SGLang
How to use typeof/miqu-70b-split 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 "typeof/miqu-70b-split" \ --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": "typeof/miqu-70b-split", "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 "typeof/miqu-70b-split" \ --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": "typeof/miqu-70b-split", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use typeof/miqu-70b-split with Docker Model Runner:
docker model run hf.co/typeof/miqu-70b-split
init
Browse files- model-00651-of-00723.safetensors +3 -0
- model-00652-of-00723.safetensors +3 -0
- model-00654-of-00723.safetensors +3 -0
- model-00655-of-00723.safetensors +3 -0
- model-00660-of-00723.safetensors +3 -0
- model-00661-of-00723.safetensors +3 -0
- model-00662-of-00723.safetensors +3 -0
- model-00663-of-00723.safetensors +3 -0
- model-00664-of-00723.safetensors +3 -0
- model-00665-of-00723.safetensors +3 -0
- model-00666-of-00723.safetensors +3 -0
- model-00667-of-00723.safetensors +3 -0
- model-00668-of-00723.safetensors +3 -0
- model-00669-of-00723.safetensors +3 -0
- model-00670-of-00723.safetensors +3 -0
- model-00671-of-00723.safetensors +3 -0
- model-00672-of-00723.safetensors +3 -0
- model-00673-of-00723.safetensors +3 -0
- model-00674-of-00723.safetensors +3 -0
- model-00675-of-00723.safetensors +3 -0
- model-00676-of-00723.safetensors +3 -0
- model-00677-of-00723.safetensors +3 -0
- model-00683-of-00723.safetensors +3 -0
- model-00684-of-00723.safetensors +3 -0
- model-00685-of-00723.safetensors +3 -0
- model-00686-of-00723.safetensors +3 -0
model-00651-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa328ec42b7b5e23a81cc1897f9b2bc9b75dfd8621bfa5a830fd584b48b4a150
|
| 3 |
+
size 16528
|
model-00652-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c841d96d744e45b788a57d8c4087efd15e581a54935d407f64031c127c576106
|
| 3 |
+
size 469762200
|
model-00654-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07491efeb1a8f4cebaa723dc77c5cdf400a41af1d64bed3363c8e697550c9bb3
|
| 3 |
+
size 469762192
|
model-00655-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65132b38fd2b68322874e3fae273251c37d072f0b1f6bc3e96bf128cdf6ebad8
|
| 3 |
+
size 16536
|
model-00660-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d26f08fab27cb973cf08f665959fc68470595c1b405a1dd8904edf335ef7ba86
|
| 3 |
+
size 16528
|
model-00661-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abe8de0a4808bee6229a28ae7e4bbdef9db17ac4d09c4832876814564bb266ab
|
| 3 |
+
size 469762200
|
model-00662-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a2936e270b422bb10834794f59b13a369cd5534b40d018fd3e6ac6d05a21298
|
| 3 |
+
size 469762200
|
model-00663-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9941642b8d70473eae1ef735b70c23b71653d0025e132763481336bdf7e2277f
|
| 3 |
+
size 469762192
|
model-00664-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8b9a88ab2f197a9d09e250613fbe6a2eb7bed7695d45d9eeff58acbd815eb9e
|
| 3 |
+
size 16536
|
model-00665-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70ca892eb3017bf79706769ae3c6bc6f92f2ad6b256541ddad784ab10868d1df
|
| 3 |
+
size 16777368
|
model-00666-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:122e1d02b262eab59f21310bcb4ef100e703ccf0f7702f01de3093cea14a97ce
|
| 3 |
+
size 134217880
|
model-00667-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96bdd84f910b56f566913516643b86c4efc35b38283898365ca2b11efb92c9d2
|
| 3 |
+
size 134217880
|
model-00668-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3426aa4da3c2cd73a8915cccc17f3b9618998e05a093c8aa9fc397281e49194
|
| 3 |
+
size 16777368
|
model-00669-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6904af42d345e73845bdf078ae2bd1ac248b3d138b7caab71e49dfdf0f457b6
|
| 3 |
+
size 16528
|
model-00670-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d5e06c6a3dda9acdd29083110bbdb6ee97b0203ea9c45602ee00703b7246c01
|
| 3 |
+
size 469762200
|
model-00671-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df2814cdb82795f50da669adb49c1aed0a00623e195078329ac1712187e11027
|
| 3 |
+
size 469762200
|
model-00672-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bd5ea7816e1f2af6c248de0442d6c9006098d8dba6da1df7a1dd3bc16abd27d
|
| 3 |
+
size 469762192
|
model-00673-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91d74191c6267f0d1257cc3aea68d415d497c87ea90cfa1a5d2e38720c77d67a
|
| 3 |
+
size 16536
|
model-00674-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a02e200f509016c94618a48dd5d275f3f55f667e4606d2465913969e6980cec9
|
| 3 |
+
size 16777368
|
model-00675-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3618481608848a9bf797e09140dc8a6dcc140b1d48c1120102486b6557b56862
|
| 3 |
+
size 134217880
|
model-00676-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4f519997e818621ee751c1a31a770e2796f39d23b8d1b7e84638a9fa8580d52
|
| 3 |
+
size 134217880
|
model-00677-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64b12cf82737ea4c80946d05456e281db4797921c165f0efe7d14b75294caa63
|
| 3 |
+
size 16777368
|
model-00683-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecb0e94262a6fa29ff5188f849371b403f713bddbb423768e0ad133669927cd2
|
| 3 |
+
size 16777368
|
model-00684-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e674e4dbab618b4fc061af480cda6048ad4b8308350c60107490f2d6833f735
|
| 3 |
+
size 134217880
|
model-00685-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87e5794261c20dc286fb43f11985e1090bc68dade5fd57a091f724f5bbdabfc6
|
| 3 |
+
size 134217880
|
model-00686-of-00723.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c2d78e0ec31e9b7c5ad927e570b267e1209980738bd7928f33a4d31b423dbdd
|
| 3 |
+
size 16777368
|