Text Generation
Transformers
Safetensors
English
French
mistral
mergekit
Merge
text-only
creative
roleplay
conversational
text-generation-inference
Instructions to use NeuR0mancR/Neural-v1-24B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeuR0mancR/Neural-v1-24B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NeuR0mancR/Neural-v1-24B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NeuR0mancR/Neural-v1-24B") model = AutoModelForCausalLM.from_pretrained("NeuR0mancR/Neural-v1-24B", 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 NeuR0mancR/Neural-v1-24B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NeuR0mancR/Neural-v1-24B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NeuR0mancR/Neural-v1-24B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NeuR0mancR/Neural-v1-24B
- SGLang
How to use NeuR0mancR/Neural-v1-24B 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 "NeuR0mancR/Neural-v1-24B" \ --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": "NeuR0mancR/Neural-v1-24B", "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 "NeuR0mancR/Neural-v1-24B" \ --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": "NeuR0mancR/Neural-v1-24B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NeuR0mancR/Neural-v1-24B with Docker Model Runner:
docker model run hf.co/NeuR0mancR/Neural-v1-24B
Update mergekit_config.yml
Browse files- mergekit_config.yml +60 -13
mergekit_config.yml
CHANGED
|
@@ -1,13 +1,60 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
merge_method:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: stock
|
| 2 |
+
base_model: TheDrummer/Cydonia-24B-v4.3
|
| 3 |
+
merge_method: model_stock
|
| 4 |
+
dtype: bfloat16
|
| 5 |
+
models:
|
| 6 |
+
- model: TheDrummer/Cydonia-24B-v4.3
|
| 7 |
+
- model: zerofata/MS3.2-PaintedFantasy-v2-24B
|
| 8 |
+
- model: aixonlab/Eurydice-24b-v3.5
|
| 9 |
+
- model: PocketDoc/Dans-PersonalityEngine-V1.3.0-24b
|
| 10 |
+
---
|
| 11 |
+
name: aligned_stock
|
| 12 |
+
merge_method: nuslerp
|
| 13 |
+
base_model: anthracite-core/Mistral-Small-3.2-24B-Instruct-2506-Text-Only
|
| 14 |
+
dtype: bfloat16
|
| 15 |
+
models:
|
| 16 |
+
- model: stock
|
| 17 |
+
parameters:
|
| 18 |
+
weight: 0.45
|
| 19 |
+
- model: PocketDoc/Dans-PersonalityEngine-V1.3.0-24b
|
| 20 |
+
parameters:
|
| 21 |
+
weight: 0.18
|
| 22 |
+
---
|
| 23 |
+
name: aligned_dare
|
| 24 |
+
merge_method: dare_ties
|
| 25 |
+
base_model: anthracite-core/Mistral-Small-3.2-24B-Instruct-2506-Text-Only
|
| 26 |
+
dtype: bfloat16
|
| 27 |
+
parameters:
|
| 28 |
+
normalize: false
|
| 29 |
+
int8_mask: false
|
| 30 |
+
tokenizer_source: ReadyArt/MS3.2-The-Omega-Directive-24B-Unslop-v2.0
|
| 31 |
+
models:
|
| 32 |
+
- model: ReadyArt/MS3.2-The-Omega-Directive-24B-Unslop-v2.0
|
| 33 |
+
parameters:
|
| 34 |
+
weight: 0.5
|
| 35 |
+
density: 0.5
|
| 36 |
+
- model: CrucibleLab/M3.2-24B-Loki-V1.3
|
| 37 |
+
parameters:
|
| 38 |
+
weight: 0.5
|
| 39 |
+
density: 0.5
|
| 40 |
+
- model: Delta-Vector/MS3.2-Austral-Winton
|
| 41 |
+
parameters:
|
| 42 |
+
weight: 0.25
|
| 43 |
+
density: 0.25
|
| 44 |
+
- model: zerofata/MS3.2-PaintedFantasy-v2-24B
|
| 45 |
+
parameters:
|
| 46 |
+
weight: 0.25
|
| 47 |
+
density: 0.25
|
| 48 |
+
---
|
| 49 |
+
merge_method: slerp
|
| 50 |
+
base_model: aligned_stock
|
| 51 |
+
slices:
|
| 52 |
+
- sources:
|
| 53 |
+
- model: aligned_stock
|
| 54 |
+
layer_range: [0, 40]
|
| 55 |
+
- model: aligned_dare
|
| 56 |
+
layer_range: [0, 40]
|
| 57 |
+
parameters:
|
| 58 |
+
t: 0.35
|
| 59 |
+
dtype: bfloat16
|
| 60 |
+
embed_slerp: true
|