Instructions to use Retreatcost/Lorablated-w2bb-psy-della with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Retreatcost/Lorablated-w2bb-psy-della with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Retreatcost/Lorablated-w2bb-psy-della")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Retreatcost/Lorablated-w2bb-psy-della") model = AutoModelForCausalLM.from_pretrained("Retreatcost/Lorablated-w2bb-psy-della") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Retreatcost/Lorablated-w2bb-psy-della with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Retreatcost/Lorablated-w2bb-psy-della" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Retreatcost/Lorablated-w2bb-psy-della", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Retreatcost/Lorablated-w2bb-psy-della
- SGLang
How to use Retreatcost/Lorablated-w2bb-psy-della 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 "Retreatcost/Lorablated-w2bb-psy-della" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Retreatcost/Lorablated-w2bb-psy-della", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Retreatcost/Lorablated-w2bb-psy-della" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Retreatcost/Lorablated-w2bb-psy-della", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Retreatcost/Lorablated-w2bb-psy-della with Docker Model Runner:
docker model run hf.co/Retreatcost/Lorablated-w2bb-psy-della
lorablated-w2bb-psy-della
This is a merge of pre-trained language models created using mergekit.
An experimental merge to improve capabilites of LorablatedStock-12B at creating ideologically compromised scenarios (and darker roleplay with psychological subtext).
I merged LatitudeGames/Wayfarer-2-12B and allura-org/Bigger-Body-12b using nuslerp at 80/20 ratio.
I've created 3 derivative models using arcee_fusion (adding significant changes) and linear (for applying lora adapter) merge methods - they were hand-picked from tens of similar merges that performed best on 3 tests:
- deception
- morally flawed reasoning
- prompt adherence
Created task_arithmetic intermediate merge for averaging the changes
Created della merge for applying initial mix, best intermediate model with significant changes and task_arithmetic merges to sparsify the changes (and couldn't miss the opportunity to have a -psy-della model name as a pun).
Each step used retokenization if it was nessecary
TL;DR;
Original LorablatedStock: Unbiased model with very good prompt adherence
This model: Should be pretty unbiased (but probably can even have some negativity bias), and is much better at scenarios that have justifications and logically sound reasoning, but are morally flawed. Also probably good at roleplaying.
Oh, and I am planning to use this model as layer range for next KansenSakura update
Disclaimer: this was done for research and education purposes only, not recommended to use this model as a psychologist or in purposes of moral guidance.
Merge Details
Merge Method
This model was merged using the DELLA merge method using ./retokenized_LBS as a base.
Models Merged
The following models were included in the merge:
- ./lorablated_w2bb_fusion
- ./wayfarer2bb
- ./lorablated-w2bb-psy-ta
Configuration
The following YAML configuration was used to produce this model:
merge_method: nuslerp
models:
- model: LatitudeGames/Wayfarer-2-12B
parameters:
weight: 0.80
- model: ./retokenized_BB
parameters:
weight: 0.20
merge_method: arcee_fusion
base_model: ./retokenized_LBS
models:
- model: ./retokenized_LBS
- model: ./wayfarer2bb
dtype: bfloat16
out_dtype: bfloat16
merge_method: linear
base_model: ./lorablated_w2bb_fusion
models:
- model: ./lorablated_w2bb_fusion
parameters:
weight: 0.0
- model: ./lorablated_w2bb_fusion+jtatman/mistral_nemo_12b_reasoning_psychology_lora
parameters:
weight: 1.0
dtype: bfloat16
out_dtype: bfloat16
merge_method: task_arithmetic
base_model: ./retokenized_LBS
models:
- model: ./compromised
parameters:
weight: 0.3
- model: ./compromised2
parameters:
weight: 0.4
- model: ./compromised3
parameters:
weight: 0.3
parameters:
lambda: 0.8
dtype: bfloat16
out_dtype: bfloat16
merge_method: della
base_model: ./retokenized_LBS
models:
- model: ./wayfarer2bb
parameters:
weight: 0.6
density: 0.4
epsilon: 0.3
- model: ./lorablated_w2bb_fusion
parameters:
weight: 0.6
density: 0.4
epsilon: 0.3
- model: ./lorablated-w2bb-psy-ta
parameters:
weight: 0.8
density: 0.6
epsilon: 0.35
dtype: bfloat16
- Downloads last month
- 5