Text Generation
Transformers
Safetensors
English
mistral
DELLA
Merge
mergekit
conversational
text-generation-inference
Instructions to use DarkArtsForge/Asmodeus-24B-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DarkArtsForge/Asmodeus-24B-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DarkArtsForge/Asmodeus-24B-v1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DarkArtsForge/Asmodeus-24B-v1") model = AutoModelForCausalLM.from_pretrained("DarkArtsForge/Asmodeus-24B-v1") 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DarkArtsForge/Asmodeus-24B-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DarkArtsForge/Asmodeus-24B-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DarkArtsForge/Asmodeus-24B-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DarkArtsForge/Asmodeus-24B-v1
- SGLang
How to use DarkArtsForge/Asmodeus-24B-v1 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 "DarkArtsForge/Asmodeus-24B-v1" \ --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": "DarkArtsForge/Asmodeus-24B-v1", "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 "DarkArtsForge/Asmodeus-24B-v1" \ --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": "DarkArtsForge/Asmodeus-24B-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DarkArtsForge/Asmodeus-24B-v1 with Docker Model Runner:
docker model run hf.co/DarkArtsForge/Asmodeus-24B-v1
Upload mergekit_config.yml
Browse files- mergekit_config.yml +96 -0
mergekit_config.yml
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
architecture: MistralForCausalLM
|
| 2 |
+
models:
|
| 3 |
+
- model: B:\24B\!models--anthracite-core--Mistral-Small-3.2-24B-Instruct-2506-Text-Only
|
| 4 |
+
- model: B:\24B\!models--TheDrummer--Cydonia-24B-v4.3
|
| 5 |
+
parameters:
|
| 6 |
+
density: 0.666
|
| 7 |
+
weight: 0.25
|
| 8 |
+
epsilon: 0.333
|
| 9 |
+
- model: B:\24B\!models--ReadyArt--4.2.0-Broken-Tutu-24b
|
| 10 |
+
parameters:
|
| 11 |
+
density: 0.666
|
| 12 |
+
weight: 0.25
|
| 13 |
+
epsilon: 0.333
|
| 14 |
+
- model: B:\24B\!models--zerofata--MS3.2-PaintedFantasy-v2-24B
|
| 15 |
+
parameters:
|
| 16 |
+
density: 0.666
|
| 17 |
+
weight: 0.25
|
| 18 |
+
epsilon: 0.333
|
| 19 |
+
- model: B:\24B\!models--TheDrummer--Magidonia-24B-v4.3
|
| 20 |
+
parameters:
|
| 21 |
+
density: 0.666
|
| 22 |
+
weight: 0.25
|
| 23 |
+
epsilon: 0.333
|
| 24 |
+
- model: B:\24B\!models--TheDrummer--Precog-24B-v1
|
| 25 |
+
parameters:
|
| 26 |
+
density: 0.666
|
| 27 |
+
weight: 0.25
|
| 28 |
+
epsilon: 0.333
|
| 29 |
+
- model: B:\24B\!models--zerofata--MS3.2-PaintedFantasy-v3-24B
|
| 30 |
+
parameters:
|
| 31 |
+
density: 0.666
|
| 32 |
+
weight: 0.25
|
| 33 |
+
epsilon: 0.333
|
| 34 |
+
- model: B:\24B\!BeaverAI_Fallen-Mistral-Small-3.1-24B-v1e_textonly
|
| 35 |
+
parameters:
|
| 36 |
+
density: 0.666
|
| 37 |
+
weight: 0.25
|
| 38 |
+
epsilon: 0.333
|
| 39 |
+
- model: B:\24B\!models--ReadyArt--Broken-Tutu-24B-Transgression-v2.0
|
| 40 |
+
parameters:
|
| 41 |
+
density: 0.666
|
| 42 |
+
weight: 0.25
|
| 43 |
+
epsilon: 0.333
|
| 44 |
+
- model: B:\24B\!models--trashpanda-org--MS3.2-24B-Mullein-v2
|
| 45 |
+
parameters:
|
| 46 |
+
density: 0.666
|
| 47 |
+
weight: 0.25
|
| 48 |
+
epsilon: 0.333
|
| 49 |
+
- model: B:\24B\!models--LatitudeGames--Hearthfire-24B
|
| 50 |
+
parameters:
|
| 51 |
+
density: 0.666
|
| 52 |
+
weight: 0.25
|
| 53 |
+
epsilon: 0.333
|
| 54 |
+
- model: B:\24B\!models--TheDrummer--Cydonia-24B-v4.2.0
|
| 55 |
+
parameters:
|
| 56 |
+
density: 0.666
|
| 57 |
+
weight: 0.25
|
| 58 |
+
epsilon: 0.333
|
| 59 |
+
- model: B:\24B\!models--TheDrummer--Magidonia-24B-v4.2.0
|
| 60 |
+
parameters:
|
| 61 |
+
density: 0.666
|
| 62 |
+
weight: 0.25
|
| 63 |
+
epsilon: 0.333
|
| 64 |
+
- model: B:\24B\!models--ConicCat--Mistral-Small-3.2-AntiRep-24B
|
| 65 |
+
parameters:
|
| 66 |
+
density: 0.666
|
| 67 |
+
weight: 0.25
|
| 68 |
+
epsilon: 0.333
|
| 69 |
+
- model: B:\24B\!models--Undi95--MistralThinker-v1.1
|
| 70 |
+
parameters:
|
| 71 |
+
density: 0.666
|
| 72 |
+
weight: 0.25
|
| 73 |
+
epsilon: 0.333
|
| 74 |
+
- model: B:\24B\!models--CrucibleLab--M3.2-24B-Loki-V2
|
| 75 |
+
parameters:
|
| 76 |
+
density: 0.666
|
| 77 |
+
weight: 0.25
|
| 78 |
+
epsilon: 0.333
|
| 79 |
+
- model: B:\24B\!models--Darkhn--M3.2-24B-Animus-V7.1
|
| 80 |
+
parameters:
|
| 81 |
+
density: 0.666
|
| 82 |
+
weight: 0.25
|
| 83 |
+
epsilon: 0.333
|
| 84 |
+
# Seed: 420
|
| 85 |
+
merge_method: della
|
| 86 |
+
base_model: B:\24B\!models--anthracite-core--Mistral-Small-3.2-24B-Instruct-2506-Text-Only
|
| 87 |
+
parameters:
|
| 88 |
+
lambda: 1.0
|
| 89 |
+
normalize: false
|
| 90 |
+
int8_mask: false
|
| 91 |
+
dtype: float32
|
| 92 |
+
out_dtype: bfloat16
|
| 93 |
+
tokenizer:
|
| 94 |
+
source: union
|
| 95 |
+
chat_template: auto
|
| 96 |
+
name: 👺 Asmodeus-24B-v1
|