How to use from
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 "BlueNipples/Apocrypha-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": "BlueNipples/Apocrypha-7b",
		"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 "BlueNipples/Apocrypha-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": "BlueNipples/Apocrypha-7b",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

image/png

Design

The design intention is to create a pseudo-philosophical, pseudo-spiritual, pseudo counseling chatbob model for sounding ideas off. Like a mirror really. This obviously does not constitute medical advice, and if you are in need seek professional help. The name Apocrypha-7B comes from the fact that it's fake - this isn't a guide, friend or a guru. It's at best, if the model works, a sounding board. But I think such things might still be helpful for organising ones own thoughts. This model should still be able to role-play, but will likely play better as a 'helper' role of some sort given the counseling and theory of mind data if you do use it for role-play.

This mistral 7b model is a task arithmetic merge of Epiculous/Fett-uccine-7B (theory of mind and gnosis datasets), GRMenon/mental-mistral-7b-instruct-autotrain (mental health counseling conversations dataset), and teknium/Hermes-Trismegistus-Mistral-7B (open-hermes + occult datasets)

I will throw a GGUF or two inside a subfolder here.

Configuration

The following YAML configuration was used to produce this model:

models:
  - model: ./Hermes-Trismegistus-7B
    parameters:
      weight: 0.35
  - model: ./mental-mistral-7b
    parameters:
      weight: 0.39
  - model: ./Fett-uccine-7B
    parameters:
      weight: 0.45
merge_method: task_arithmetic
base_model: ./Mistral-7B-v0.1
dtype: bfloat16

Resources used:

https://huggingface.co/teknium/Hermes-Trismegistus-Mistral-7B

https://huggingface.co/GRMenon/mental-mistral-7b-instruct-autotrain

https://huggingface.co/Epiculous/Fett-uccine-7B/tree/main

https://github.com/cg123/mergekit/tree/main

Downloads last month
105
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW

Model tree for BlueNipples/Apocrypha-7b

Quantizations
2 models