unalignment/toxic-dpo-v0.2
Viewer • Updated • 541 • 457 • 140
How to use ResplendentAI/Paradigm_7B with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="ResplendentAI/Paradigm_7B") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("ResplendentAI/Paradigm_7B")
model = AutoModelForCausalLM.from_pretrained("ResplendentAI/Paradigm_7B")How to use ResplendentAI/Paradigm_7B with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "ResplendentAI/Paradigm_7B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "ResplendentAI/Paradigm_7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/ResplendentAI/Paradigm_7B
How to use ResplendentAI/Paradigm_7B with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "ResplendentAI/Paradigm_7B" \
--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": "ResplendentAI/Paradigm_7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "ResplendentAI/Paradigm_7B" \
--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": "ResplendentAI/Paradigm_7B",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use ResplendentAI/Paradigm_7B with Docker Model Runner:
docker model run hf.co/ResplendentAI/Paradigm_7B
An incredibly effective and intelligent RP model designed to be the best bot you've ever used. I hope you like it!
GGUF available here: https://huggingface.co/Lewdiculous/Paradigm_7B-GGUF-IQ-Imatrix
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 75.47 |
| AI2 Reasoning Challenge (25-Shot) | 73.63 |
| HellaSwag (10-Shot) | 88.66 |
| MMLU (5-Shot) | 64.02 |
| TruthfulQA (0-shot) | 75.19 |
| Winogrande (5-shot) | 84.53 |
| GSM8k (5-shot) | 66.79 |
The following YAML configuration was used to produce this model:
merge_method: dare_ties
base_model: ChaoticNeutrals/Eris_Remix_7B
parameters:
normalize: true
models:
- model: ChaoticNeutrals/Eris_Remix_7B
parameters:
weight: 1
- model: ResplendentAI/Datura_7B
parameters:
weight: 1
- model: liminerity/Multiverse-Experiment-slerp-7b+jeiku/Alpaca_NSFW_Shuffled_Mistral
parameters:
weight: 0.33
dtype: float16
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 75.47 |
| AI2 Reasoning Challenge (25-Shot) | 73.63 |
| HellaSwag (10-Shot) | 88.66 |
| MMLU (5-Shot) | 64.02 |
| TruthfulQA (0-shot) | 75.19 |
| Winogrande (5-shot) | 84.53 |
| GSM8k (5-shot) | 66.79 |