Text Generation
Transformers
Safetensors
mistral
mergekit
Merge
conversational
text-generation-inference
Instructions to use Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9") model = AutoModelForCausalLM.from_pretrained("Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9" # 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-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9
- SGLang
How to use Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9 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-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9" \ --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-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9", "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-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9" \ --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-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9 with Docker Model Runner:
docker model run hf.co/Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9
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:
- Darkknight535/MS-Moonlight-22B-v3
- Gryphe/Pantheon-RP-Pure-1.6.2-22b-Small
- Gryphe/Pantheon-RP-1.6.2-22b-Small
- Jellywibble/MistralSmall1500CTX
- Saxo/Linkbricks-Horizon-AI-Japanese-Superb-V1-22B
- anthracite-org/magnum-v4-22b
- TheDrummer/Cydonia-22B-v1.1
- unsloth/Mistral-Small-Instruct-2409 + Kaoeiri/Moingooistrial-22B-V1-Lora
- TheDrummer/Cydonia-22B-v1.3
- ArliAI/Mistral-Small-22B-ArliAI-RPMax-v1.1
- byroneverson/Mistral-Small-Instruct-2409-abliterated + rAIfle/Acolyte-LORA
- crestf411/MS-sunfall-v0.7.0
- allura-org/MS-Meadowlark-22B
- TroyDoesAI/BlackSheep-MermaidMistral-22B
- InferenceIllusionist/SorcererLM-22B
- TheDrummer/Cydonia-22B-v1.2
- hf-100/Mistral-Small-Instruct-2409-Spellbound-StoryWriter-22B-instruct-0.4-chkpt-336-16bit
- spow12/ChatWaifu_v2.0_22B
Configuration
The following YAML configuration was used to produce this model:
models:
- model: anthracite-org/magnum-v4-22b
parameters:
weight: 1.0
density: 0.85
- model: TheDrummer/Cydonia-22B-v1.3
parameters:
weight: 0.24
density: 0.69
- model: TheDrummer/Cydonia-22B-v1.2
parameters:
weight: 0.14
density: 0.67
- model: TheDrummer/Cydonia-22B-v1.1
parameters:
weight: 0.16
density: 0.67
- model: Gryphe/Pantheon-RP-1.6.2-22b-Small
parameters:
weight: 0.22
density: 0.74
- model: Gryphe/Pantheon-RP-Pure-1.6.2-22b-Small
parameters:
weight: 0.12
density: 0.68
- model: allura-org/MS-Meadowlark-22B
parameters:
weight: 0.27
density: 0.71
- model: spow12/ChatWaifu_v2.0_22B
parameters:
weight: 0.27
density: 0.7
- model: Saxo/Linkbricks-Horizon-AI-Japanese-Superb-V1-22B
parameters:
weight: 0.2
density: 0.58
- model: crestf411/MS-sunfall-v0.7.0
parameters:
weight: 0.22
density: 0.71
- model: byroneverson/Mistral-Small-Instruct-2409-abliterated+rAIfle/Acolyte-LORA
parameters:
weight: 0.24
density: 0.7
- model: InferenceIllusionist/SorcererLM-22B
parameters:
weight: 0.21
density: 0.72
- model: unsloth/Mistral-Small-Instruct-2409+Kaoeiri/Moingooistrial-22B-V1-Lora
parameters:
weight: 0.32
density: 0.76
- 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.12
density: 0.62
- model: hf-100/Mistral-Small-Instruct-2409-Spellbound-StoryWriter-22B-instruct-0.4-chkpt-336-16bit
parameters:
weight: 0.28
density: 0.74
- model: TroyDoesAI/BlackSheep-MermaidMistral-22B
parameters:
weight: 0.24
density: 0.7
- model: Jellywibble/MistralSmall1500CTX
parameters:
weight: 0.25
density: 0.67
merge_method: dare_ties
base_model: unsloth/Mistral-Small-Instruct-2409
parameters:
density: 0.85
epsilon: 0.08
lambda: 1.23
dtype: bfloat16
- Downloads last month
- -
Model tree for Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9
Merge model
this model
Papers for Kaoeiri/MS-Magpantheonsel-lark-v4x1.6.2RP-Cydonia-vXXX-22B-9
Paper • 2311.03099 • Published • 36
Resolving Interference When Merging Models
Paper • 2306.01708 • Published • 19