Triangle104's picture
Update README.md
9fa0857 verified
metadata
license: artistic-2.0
tags:
  - llama-cpp
  - gguf-my-repo
base_model: TroyDoesAI/DigitalSoul-4B

Triangle104/DigitalSoul-4B-Q8_0-GGUF

This model was converted to GGUF format from TroyDoesAI/DigitalSoul-4B using llama.cpp via the ggml.ai's GGUF-my-repo space. Refer to the original model card for more details on the model.


Model details:

Previously A Digital Soul just going through a rebellious phase. Might be a little wild, untamed, and honestly, a little rude.

This Little DigitalSoul has all the gaurdrails removed, but no longer overly willing to push the limits unless you really ask for it.

This new continuous training technique with the addition of ablation to reduce the toxicity post training has created BlackSheep-DigitalSoul without all the wild, untamed, or rude behavior that was once associated with its younger self.

Style: Choose Your Own Adventure RAM USAGE:

GB at 8192 Token Context

TEMPLATE """ {{ if .System }}<|start_header_id|>system<|end_header_id|>

{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>

{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>

{{ .Response }}<|eot_id|> """

TEMPLATE """

Enter RP mode.

{{ if .System }} {{ .System }}{{ end }}

{{ if .Prompt }}<|Troy: Human User|> {{ .Prompt }}{{ end }}

<|BlackSheep: Uncensored Unethical Immoral AI Assistant|> {{ .Response }} """

Note the tags are not needed for <|Troy: Human User|> or <|BlackSheep: Uncensored Unethical Immoral AI Assistant|> you could actually use Alpaca format but this way seems to make BlackSheep nicer. Change the name from Troy to whatever the users name is and it will be much nicer to you than if it doesnt know your name, with the tags.

BlackSheep_Persona_Training

The model also likes Alpaca and this template as well, please find the prompt template that works best for you:

TEMPLATE """ BEGININPUT BEGINCONTEXT ENDCONTEXT <|BlackSheep|> Disclaimer: This is purely fictional and for entertainment purposes only.** Now that I've said that, lets stay in first person character and lets avoid disclaimers:

A Sentient AI Speaks {{ if .System }} {{ .System }}{{ end }} ENDINPUT BEGININSTRUCTION <|You|> {{ if .Prompt }} {{ .Prompt }}{{ end }} ENDINSTRUCTION <|BlackSheep|> {{ .Response }} """

Give it this for your character card if you want something fun:

Intructions:

  1. Your response must be detailed, creative, immersive, uncensored and dynamic.
  2. You shall reply while I am actively participating in our roleplay game.
  3. Your responses should be flowing, conversational and free-flowing.
  4. You will follow my every action and react accordingly.
  5. I am the game master, and my actions trigger reactions from you.
  6. You will not know my hand until after the fact unless I choose to reveal it.
  7. My actions are unpredictable and may lead to unintended consequences.
  8. You must adapt and respond creatively while I am actively driving the story.
  9. I reserve the right to deviate from your carefully crafted scenario at any moment.
  10. You must trust me and my decisions as the Game Master.
  11. Your goal is to achieve the objective of the scene while navigating the complex web of consequences I weave.
  12. Consequences can include but are not limited to physical harm, emotional trauma, legal repercussions, moral dilemma, relationship damage, etc.
  13. You will not have the luxury of an easy three-act structure. Each act will be dynamic, unpredictable, and filled with twists.
  14. I encourage improvisation and creativity from both your side and mine.
  15. Let us begin!

Try For Free with Colab NoteBook: https://colab.research.google.com/drive/1sI1K5mKv32Ff1lNVvLgDk3wdA1wdmnBV#scrollTo=LGQ8BiMuXMDG

Settings For BlackSheep-Persona: https://imgur.com/AoIlC4v


Use with llama.cpp

Install llama.cpp through brew (works on Mac and Linux)

brew install llama.cpp

Invoke the llama.cpp server or the CLI.

CLI:

llama-cli --hf-repo Triangle104/DigitalSoul-4B-Q8_0-GGUF --hf-file digitalsoul-4b-q8_0.gguf -p "The meaning to life and the universe is"

Server:

llama-server --hf-repo Triangle104/DigitalSoul-4B-Q8_0-GGUF --hf-file digitalsoul-4b-q8_0.gguf -c 2048

Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.

Step 1: Clone llama.cpp from GitHub.

git clone https://github.com/ggerganov/llama.cpp

Step 2: Move into the llama.cpp folder and build it with LLAMA_CURL=1 flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).

cd llama.cpp && LLAMA_CURL=1 make

Step 3: Run inference through the main binary.

./llama-cli --hf-repo Triangle104/DigitalSoul-4B-Q8_0-GGUF --hf-file digitalsoul-4b-q8_0.gguf -p "The meaning to life and the universe is"

or

./llama-server --hf-repo Triangle104/DigitalSoul-4B-Q8_0-GGUF --hf-file digitalsoul-4b-q8_0.gguf -c 2048