Run this model with HF Jobs
Run redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS") model = AutoModelForCausalLM.from_pretrained("redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS
- SGLang
How to use redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS 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 "redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS" \ --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": "redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS", "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 "redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS" \ --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": "redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS with Docker Model Runner:
docker model run hf.co/redrix/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS
AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS
They say โHeโ will bring the apocalypse. She seeks understanding, not destruction.
This is a merge of pre-trained language models created using mergekit.
This is my fourth model. I wanted to test della_linear. The point of this model was to use the negative properties of DavidAU/MN-GRAND-Gutenberg-Lyra4-Lyra-12B-DARKNESS to counter potential positivity bias while keeping up stability.
Testing stage: testing
(18/12/2024): The model seems to hold up very well over context, and keeps to the character/prompt nicely. It has expansive, varied prose, lacking GPTisms mostly. The only problem is that the model always seems to interpret the input in a similar manner (probably due to self_attn layers). Thusly the output always tends to follow a certain theme/direction, even if the wording is different per swipe (the longer the response, the more it'll deviate from this set direction at the beginning). A peculiar quirk is that errors are predictable - if the model writes the name of the user in a wrong manner (scrambling letters, etc; I myself have a more complex name), it will ALWAYS missspell that instance of the name in consequent swipes. But it automatically fixes itself. If the first instance of the name is spelt wrong, further instances will be fixed, though. Repetition is low, and DRY can help if it does appear. But I've not had it pick up on any patterns. Higher Temperature (1.25) seems to work better. Sometimes it gives quite the impressive answers. XTC can improve it a lot, without decreasing intelligence - but I've not really defined the difference between responses via neutralized sampler answers and XTC. If you find that the model gives bogus on swipes, add some characters at the end of your input to sort-of scramble the output (add some asterisks or whatever; or write some useless extra sentence if you so desire).
EDIT: This 'theme' of swipes being similar seems to be an issue with inflatebot/MN-12B-Mag-Mell-R1. Perhaps I'll reduce the weight of it/balance it with ArliAI/Mistral-Nemo-12B-ArliAI-RPMax-v1.2](https://huggingface.co/ArliAI/Mistral-Nemo-12B-ArliAI-RPMax-v1.2) by putting that as the last model (the model order matters with DELLA-Linear, 'lower' models in the config hold more prevalence). Perhaps I can experiment with using the base models that inflatebot/MN-12B-Mag-Mell-R1 utilizes to perhaps remerge the whole model to try to alleviate this issue via different merge methods.
Parameters
- Context size: Not more than 20k recommended - coherency may degrade.
- Chat Template: ChatML
- Samplers: A Temperature-Last of 1-1.25 and Min-P of 0.1-0.25 are viable, but haven't been finetuned. Activate DRY if repetition appears. XTC seems to work well.
Quantization
- Static GGUF Quants available at mradermacher/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS-GGUF
- iMatrix Quants available at mradermacher/AngelSlayer-12B-Unslop-Mell-RPMax-DARKNESS-i1-GGUF โค๏ธ Thanks.
Merge Details
Merge Method
This model was merged using the della_linear merge method using TheDrummer/UnslopNemo-12B-v4.1 as a base.
Models Merged
The following models were included in the merge:
- inflatebot/MN-12B-Mag-Mell-R1
- ArliAI/Mistral-Nemo-12B-ArliAI-RPMax-v1.2
- DavidAU/MN-GRAND-Gutenberg-Lyra4-Lyra-12B-DARKNESS
Configuration
The following YAML configuration was used to produce this model:
models:
- model: TheDrummer/UnslopNemo-12B-v4.1
parameters:
weight: 0.25
density: 0.6
- model: ArliAI/Mistral-Nemo-12B-ArliAI-RPMax-v1.2
parameters:
weight: 0.25
density: 0.6
- model: DavidAU/MN-GRAND-Gutenberg-Lyra4-Lyra-12B-DARKNESS
parameters:
weight: 0.2
density: 0.4
- model: inflatebot/MN-12B-Mag-Mell-R1
parameters:
weight: 0.30
density: 0.7
base_model: TheDrummer/UnslopNemo-12B-v4.1
merge_method: della_linear
dtype: bfloat16
chat_template: "chatml"
tokenizer_source: union
parameters:
normalize: false
int8_mask: true
epsilon: 0.05
lambda: 1
- Downloads last month
- 72