Text Generation
Transformers
Safetensors
mother_core
mother-core
msai
sovereign-ai
united-kingdom
causal-lm
custom_code
Instructions to use MediaStreamAI/MOTHER_CORE_V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MediaStreamAI/MOTHER_CORE_V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MediaStreamAI/MOTHER_CORE_V2", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("MediaStreamAI/MOTHER_CORE_V2", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use MediaStreamAI/MOTHER_CORE_V2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MediaStreamAI/MOTHER_CORE_V2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MediaStreamAI/MOTHER_CORE_V2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MediaStreamAI/MOTHER_CORE_V2
- SGLang
How to use MediaStreamAI/MOTHER_CORE_V2 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 "MediaStreamAI/MOTHER_CORE_V2" \ --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": "MediaStreamAI/MOTHER_CORE_V2", "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 "MediaStreamAI/MOTHER_CORE_V2" \ --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": "MediaStreamAI/MOTHER_CORE_V2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MediaStreamAI/MOTHER_CORE_V2 with Docker Model Runner:
docker model run hf.co/MediaStreamAI/MOTHER_CORE_V2
chunk 600 (W2.8 cutover BASE): upload model.safetensors.index.json
Browse files- model.safetensors.index.json +35 -35
model.safetensors.index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
| 3 |
-
"total_size":
|
| 4 |
},
|
| 5 |
"weight_map": {
|
| 6 |
"tok_emb.weight": "model-00001-of-00003.safetensors",
|
|
@@ -160,17 +160,17 @@
|
|
| 160 |
"blocks.17.attn.wq.weight": "model-00001-of-00003.safetensors",
|
| 161 |
"blocks.17.attn.wk.weight": "model-00001-of-00003.safetensors",
|
| 162 |
"blocks.17.attn.wv.weight": "model-00001-of-00003.safetensors",
|
| 163 |
-
"blocks.17.attn.wo.weight": "model-
|
| 164 |
-
"blocks.17.ff.w1.weight": "model-
|
| 165 |
-
"blocks.17.ff.w2.weight": "model-
|
| 166 |
-
"blocks.17.ff.w3.weight": "model-
|
| 167 |
-
"blocks.17.norm1.weight": "model-
|
| 168 |
-
"blocks.17.norm2.weight": "model-
|
| 169 |
-
"blocks.18.attn.wq.weight": "model-
|
| 170 |
-
"blocks.18.attn.wk.weight": "model-
|
| 171 |
-
"blocks.18.attn.wv.weight": "model-
|
| 172 |
-
"blocks.18.attn.wo.weight": "model-
|
| 173 |
-
"blocks.18.ff.w1.weight": "model-
|
| 174 |
"blocks.18.ff.w2.weight": "model-00002-of-00003.safetensors",
|
| 175 |
"blocks.18.ff.w3.weight": "model-00002-of-00003.safetensors",
|
| 176 |
"blocks.18.norm1.weight": "model-00002-of-00003.safetensors",
|
|
@@ -323,29 +323,29 @@
|
|
| 323 |
"blocks.35.attn.wk.weight": "model-00002-of-00003.safetensors",
|
| 324 |
"blocks.35.attn.wv.weight": "model-00002-of-00003.safetensors",
|
| 325 |
"blocks.35.attn.wo.weight": "model-00002-of-00003.safetensors",
|
| 326 |
-
"blocks.35.ff.w1.weight": "model-
|
| 327 |
-
"blocks.35.ff.w2.weight": "model-
|
| 328 |
-
"blocks.35.ff.w3.weight": "model-
|
| 329 |
-
"blocks.35.norm1.weight": "model-
|
| 330 |
-
"blocks.35.norm2.weight": "model-
|
| 331 |
-
"blocks.36.attn.wq.weight": "model-
|
| 332 |
-
"blocks.36.attn.wk.weight": "model-
|
| 333 |
-
"blocks.36.attn.wv.weight": "model-
|
| 334 |
-
"blocks.36.attn.wo.weight": "model-
|
| 335 |
-
"blocks.36.ff.w1.weight": "model-
|
| 336 |
-
"blocks.36.ff.w2.weight": "model-
|
| 337 |
-
"blocks.36.ff.w3.weight": "model-
|
| 338 |
-
"blocks.36.norm1.weight": "model-
|
| 339 |
-
"blocks.36.norm2.weight": "model-
|
| 340 |
-
"blocks.37.attn.wq.weight": "model-
|
| 341 |
-
"blocks.37.attn.wk.weight": "model-
|
| 342 |
-
"blocks.37.attn.wv.weight": "model-
|
| 343 |
-
"blocks.37.attn.wo.weight": "model-
|
| 344 |
-
"blocks.37.ff.w1.weight": "model-
|
| 345 |
-
"blocks.37.ff.w2.weight": "model-
|
| 346 |
-
"blocks.37.ff.w3.weight": "model-
|
| 347 |
-
"blocks.37.norm1.weight": "model-
|
| 348 |
-
"blocks.37.norm2.weight": "model-
|
| 349 |
"blocks.38.attn.wq.weight": "model-00003-of-00003.safetensors",
|
| 350 |
"blocks.38.attn.wk.weight": "model-00003-of-00003.safetensors",
|
| 351 |
"blocks.38.attn.wv.weight": "model-00003-of-00003.safetensors",
|
|
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
| 3 |
+
"total_size": 13754776394
|
| 4 |
},
|
| 5 |
"weight_map": {
|
| 6 |
"tok_emb.weight": "model-00001-of-00003.safetensors",
|
|
|
|
| 160 |
"blocks.17.attn.wq.weight": "model-00001-of-00003.safetensors",
|
| 161 |
"blocks.17.attn.wk.weight": "model-00001-of-00003.safetensors",
|
| 162 |
"blocks.17.attn.wv.weight": "model-00001-of-00003.safetensors",
|
| 163 |
+
"blocks.17.attn.wo.weight": "model-00002-of-00003.safetensors",
|
| 164 |
+
"blocks.17.ff.w1.weight": "model-00002-of-00003.safetensors",
|
| 165 |
+
"blocks.17.ff.w2.weight": "model-00002-of-00003.safetensors",
|
| 166 |
+
"blocks.17.ff.w3.weight": "model-00002-of-00003.safetensors",
|
| 167 |
+
"blocks.17.norm1.weight": "model-00002-of-00003.safetensors",
|
| 168 |
+
"blocks.17.norm2.weight": "model-00002-of-00003.safetensors",
|
| 169 |
+
"blocks.18.attn.wq.weight": "model-00002-of-00003.safetensors",
|
| 170 |
+
"blocks.18.attn.wk.weight": "model-00002-of-00003.safetensors",
|
| 171 |
+
"blocks.18.attn.wv.weight": "model-00002-of-00003.safetensors",
|
| 172 |
+
"blocks.18.attn.wo.weight": "model-00002-of-00003.safetensors",
|
| 173 |
+
"blocks.18.ff.w1.weight": "model-00002-of-00003.safetensors",
|
| 174 |
"blocks.18.ff.w2.weight": "model-00002-of-00003.safetensors",
|
| 175 |
"blocks.18.ff.w3.weight": "model-00002-of-00003.safetensors",
|
| 176 |
"blocks.18.norm1.weight": "model-00002-of-00003.safetensors",
|
|
|
|
| 323 |
"blocks.35.attn.wk.weight": "model-00002-of-00003.safetensors",
|
| 324 |
"blocks.35.attn.wv.weight": "model-00002-of-00003.safetensors",
|
| 325 |
"blocks.35.attn.wo.weight": "model-00002-of-00003.safetensors",
|
| 326 |
+
"blocks.35.ff.w1.weight": "model-00003-of-00003.safetensors",
|
| 327 |
+
"blocks.35.ff.w2.weight": "model-00003-of-00003.safetensors",
|
| 328 |
+
"blocks.35.ff.w3.weight": "model-00003-of-00003.safetensors",
|
| 329 |
+
"blocks.35.norm1.weight": "model-00003-of-00003.safetensors",
|
| 330 |
+
"blocks.35.norm2.weight": "model-00003-of-00003.safetensors",
|
| 331 |
+
"blocks.36.attn.wq.weight": "model-00003-of-00003.safetensors",
|
| 332 |
+
"blocks.36.attn.wk.weight": "model-00003-of-00003.safetensors",
|
| 333 |
+
"blocks.36.attn.wv.weight": "model-00003-of-00003.safetensors",
|
| 334 |
+
"blocks.36.attn.wo.weight": "model-00003-of-00003.safetensors",
|
| 335 |
+
"blocks.36.ff.w1.weight": "model-00003-of-00003.safetensors",
|
| 336 |
+
"blocks.36.ff.w2.weight": "model-00003-of-00003.safetensors",
|
| 337 |
+
"blocks.36.ff.w3.weight": "model-00003-of-00003.safetensors",
|
| 338 |
+
"blocks.36.norm1.weight": "model-00003-of-00003.safetensors",
|
| 339 |
+
"blocks.36.norm2.weight": "model-00003-of-00003.safetensors",
|
| 340 |
+
"blocks.37.attn.wq.weight": "model-00003-of-00003.safetensors",
|
| 341 |
+
"blocks.37.attn.wk.weight": "model-00003-of-00003.safetensors",
|
| 342 |
+
"blocks.37.attn.wv.weight": "model-00003-of-00003.safetensors",
|
| 343 |
+
"blocks.37.attn.wo.weight": "model-00003-of-00003.safetensors",
|
| 344 |
+
"blocks.37.ff.w1.weight": "model-00003-of-00003.safetensors",
|
| 345 |
+
"blocks.37.ff.w2.weight": "model-00003-of-00003.safetensors",
|
| 346 |
+
"blocks.37.ff.w3.weight": "model-00003-of-00003.safetensors",
|
| 347 |
+
"blocks.37.norm1.weight": "model-00003-of-00003.safetensors",
|
| 348 |
+
"blocks.37.norm2.weight": "model-00003-of-00003.safetensors",
|
| 349 |
"blocks.38.attn.wq.weight": "model-00003-of-00003.safetensors",
|
| 350 |
"blocks.38.attn.wk.weight": "model-00003-of-00003.safetensors",
|
| 351 |
"blocks.38.attn.wv.weight": "model-00003-of-00003.safetensors",
|