Text Generation
Transformers
Safetensors
mistral
mergekit
Merge
conversational
text-generation-inference
Instructions to use Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated") model = AutoModelForMultimodalLM.from_pretrained("Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated") 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 Settings
- vLLM
How to use Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated
- SGLang
How to use Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated 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 "Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated" \ --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": "Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated", "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 "Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated" \ --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": "Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated with Docker Model Runner:
docker model run hf.co/Kaoeiri/MS-MagpantheonselRP-22B-14.1-Recalculated
metadata
base_model:
- Kaoeiri/MS-Inky-2409-22B
- ArliAI/Mistral-Small-22B-ArliAI-RPMax-v1.1
- qingy2024/MwM-22B-Instruct
- allura-org/MS-Meadowlark-22B
- Kaoeiri/MS_fujin-2409-22B
- Darkknight535/MS-Moonlight-22B-v3
- invisietch/MiS-Firefly-v0.2-22B
- concedo/Beepo-22B
- spow12/ChatWaifu_v2.0_22B
- InferenceIllusionist/SorcererLM-22B
- crestf411/MS-sunfall-v0.7.0
- Kaoeiri/MS_dampf-2409-22B
- Kaoeiri/Magnum-v4-Cydonia-vXXX-22B
- Kaoeiri/MS_Moingooistral-2409-22B
- Saxo/Linkbricks-Horizon-AI-Japanese-Superb-V1-22B
- Envoid/Mistral-Small-NovusKyver
- unsloth/Mistral-Small-Instruct-2409
- Kaoeiri/MS_a-coolyte-2409-22B
- Gryphe/Pantheon-RP-1.6.2-22b-Small
- DigitalSouls/BlackSheep-DigitalSoul-22B
library_name: transformers
tags:
- mergekit
- merge
merge
This is a merge of pre-trained language models created using mergekit.
Merge Details
Merge Method
This model was merged using the DARE TIES merge method using unsloth/Mistral-Small-Instruct-2409 as a base.
Models Merged
The following models were included in the merge:
- Kaoeiri/MS-Inky-2409-22B
- ArliAI/Mistral-Small-22B-ArliAI-RPMax-v1.1
- qingy2024/MwM-22B-Instruct
- allura-org/MS-Meadowlark-22B
- Kaoeiri/MS_fujin-2409-22B
- Darkknight535/MS-Moonlight-22B-v3
- invisietch/MiS-Firefly-v0.2-22B
- concedo/Beepo-22B
- spow12/ChatWaifu_v2.0_22B
- InferenceIllusionist/SorcererLM-22B
- crestf411/MS-sunfall-v0.7.0
- Kaoeiri/MS_dampf-2409-22B
- Kaoeiri/Magnum-v4-Cydonia-vXXX-22B
- Kaoeiri/MS_Moingooistral-2409-22B
- Saxo/Linkbricks-Horizon-AI-Japanese-Superb-V1-22B
- Envoid/Mistral-Small-NovusKyver
- Kaoeiri/MS_a-coolyte-2409-22B
- Gryphe/Pantheon-RP-1.6.2-22b-Small
- DigitalSouls/BlackSheep-DigitalSoul-22B
Configuration
The following YAML configuration was used to produce this model:
models:
- model: Kaoeiri/MS_Moingooistral-2409-22B
parameters:
weight: 0.10
density: 0.72
- model: Kaoeiri/Magnum-v4-Cydonia-vXXX-22B
parameters:
weight: 0.72
density: 0.80
- model: Kaoeiri/MS-Inky-2409-22B
parameters:
weight: 0.24
density: 0.70
- model: Gryphe/Pantheon-RP-1.6.2-22b-Small
parameters:
weight: 0.32
density: 0.76
- model: DigitalSouls/BlackSheep-DigitalSoul-22B
parameters:
weight: 0.12
density: 0.68
- model: InferenceIllusionist/SorcererLM-22B
parameters:
weight: 0.10
density: 0.70
- model: Envoid/Mistral-Small-NovusKyver
parameters:
weight: 0.08
density: 0.70
- model: concedo/Beepo-22B
parameters:
weight: 0.35
density: 0.78
- model: crestf411/MS-sunfall-v0.7.0
parameters:
weight: 0.14
density: 0.68
- model: Kaoeiri/MS_a-coolyte-2409-22B
parameters:
weight: 0.10
density: 0.65
- model: invisietch/MiS-Firefly-v0.2-22B
parameters:
weight: 0.12
density: 0.68
- model: Kaoeiri/MS_fujin-2409-22B
parameters:
weight: 0.08
density: 0.62
- model: Kaoeiri/MS_dampf-2409-22B
parameters:
weight: 0.10
density: 0.62
- model: qingy2024/MwM-22B-Instruct
parameters:
weight: 0.18
density: 0.72
- model: ArliAI/Mistral-Small-22B-ArliAI-RPMax-v1.1
parameters:
weight: 0.12
density: 0.65
- model: Darkknight535/MS-Moonlight-22B-v3
parameters:
weight: 0.10
density: 0.65
- model: allura-org/MS-Meadowlark-22B
parameters:
weight: 0.16
density: 0.70
- model: Saxo/Linkbricks-Horizon-AI-Japanese-Superb-V1-22B
parameters:
weight: 0.16
density: 0.62
- model: spow12/ChatWaifu_v2.0_22B
parameters:
weight: 0.20
density: 0.65
merge_method: dare_ties
base_model: unsloth/Mistral-Small-Instruct-2409
parameters:
density: 0.95
epsilon: 0.12
lambda: 1.22
dtype: bfloat16