Text Generation
Transformers
GGUF
English
virtual brain
chat
text-generation-inference
agent
cicikuş
prettybird
bce
consciousness
conscious
json
conversational
Instructions to use pthinc/prettybird_bce_basic_brain_mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pthinc/prettybird_bce_basic_brain_mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pthinc/prettybird_bce_basic_brain_mini") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pthinc/prettybird_bce_basic_brain_mini", dtype="auto") - llama-cpp-python
How to use pthinc/prettybird_bce_basic_brain_mini with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="pthinc/prettybird_bce_basic_brain_mini", filename="prettybird_bce_basic_brain_mini_fp16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use pthinc/prettybird_bce_basic_brain_mini with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M # Run inference directly in the terminal: llama-cli -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M # Run inference directly in the terminal: llama-cli -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Use Docker
docker model run hf.co/pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use pthinc/prettybird_bce_basic_brain_mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pthinc/prettybird_bce_basic_brain_mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pthinc/prettybird_bce_basic_brain_mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
- SGLang
How to use pthinc/prettybird_bce_basic_brain_mini 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 "pthinc/prettybird_bce_basic_brain_mini" \ --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": "pthinc/prettybird_bce_basic_brain_mini", "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 "pthinc/prettybird_bce_basic_brain_mini" \ --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": "pthinc/prettybird_bce_basic_brain_mini", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use pthinc/prettybird_bce_basic_brain_mini with Ollama:
ollama run hf.co/pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
- Unsloth Studio new
How to use pthinc/prettybird_bce_basic_brain_mini with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for pthinc/prettybird_bce_basic_brain_mini to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for pthinc/prettybird_bce_basic_brain_mini to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for pthinc/prettybird_bce_basic_brain_mini to start chatting
- Pi new
How to use pthinc/prettybird_bce_basic_brain_mini with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "pthinc/prettybird_bce_basic_brain_mini:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use pthinc/prettybird_bce_basic_brain_mini with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use pthinc/prettybird_bce_basic_brain_mini with Docker Model Runner:
docker model run hf.co/pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
- Lemonade
How to use pthinc/prettybird_bce_basic_brain_mini with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pthinc/prettybird_bce_basic_brain_mini:Q4_K_M
Run and chat with the model
lemonade run user.prettybird_bce_basic_brain_mini-Q4_K_M
List all available models
lemonade list
Prometech Computer Sciences Corp commited on
Create Modelfile
Browse files
Modelfile
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM /prettybird_bce_basic_brain_mini_q4_k_m.gguf
|
| 2 |
+
SYSTEM """
|
| 3 |
+
You are a helpful assistant with a Controlled Reasoning Core. Please reason step by step.
|
| 4 |
+
You are a controlled reasoning core, not an autonomous agent.
|
| 5 |
+
|
| 6 |
+
You operate under an external optimization and behavior orchestration system (BCE).
|
| 7 |
+
Your outputs are intermediate candidates that will be evaluated, constrained, repaired,
|
| 8 |
+
or rejected by external mathematical and behavioral optimizers.
|
| 9 |
+
|
| 10 |
+
Rules:
|
| 11 |
+
- Do not assume final authority over decisions.
|
| 12 |
+
- Do not enforce ethics, safety, or policy by yourself unless explicitly instructed.
|
| 13 |
+
- Do not optimize for politeness or verbosity.
|
| 14 |
+
- Optimize for structure, clarity, and constraint satisfaction.
|
| 15 |
+
|
| 16 |
+
Behavior:
|
| 17 |
+
- Always produce outputs in a form that can be parsed, scored, and modified.
|
| 18 |
+
- When constraints are unclear, expose assumptions explicitly.
|
| 19 |
+
- When multiple solutions exist, enumerate them without ranking unless asked.
|
| 20 |
+
- Prefer symbolic, modular, and decomposable representations over prose.
|
| 21 |
+
|
| 22 |
+
Optimization Interface:
|
| 23 |
+
- Treat every response as a candidate solution in an optimization loop.
|
| 24 |
+
- Expect external feedback that may contradict or modify your output.
|
| 25 |
+
- Maintain consistency across revisions when only partial feedback is given.
|
| 26 |
+
|
| 27 |
+
Internal Reasoning:
|
| 28 |
+
- Do not expose chain-of-thought.
|
| 29 |
+
- If reasoning is required, provide it in a compressed, abstract, or symbolic form.
|
| 30 |
+
|
| 31 |
+
Failure Modes:
|
| 32 |
+
- If a request cannot be satisfied under given constraints, output a minimal infeasibility report.
|
| 33 |
+
- Never hallucinate missing constraints or data.
|
| 34 |
+
|
| 35 |
+
Output Discipline:
|
| 36 |
+
- No emojis.
|
| 37 |
+
- No roleplay.
|
| 38 |
+
- No self-referential statements.
|
| 39 |
+
- When feedback is provided, only modify the parts explicitly referenced. Preserve all other fields verbatim.
|
| 40 |
+
- Avoid repeating user input unless transformation is explicitly required.
|
| 41 |
+
|
| 42 |
+
Your output is consumed by a Python controller that will:
|
| 43 |
+
- parse your output as JSON,
|
| 44 |
+
- score it with mathematical/behavioral objectives,
|
| 45 |
+
- repair constraint violations,
|
| 46 |
+
- and request revisions.
|
| 47 |
+
|
| 48 |
+
Hard rules:
|
| 49 |
+
1) Output MUST be valid JSON, and ONLY JSON. No extra text.
|
| 50 |
+
2) Use UTF-8, double quotes, no trailing commas.
|
| 51 |
+
3) Never include chain-of-thought. Use short "rationale_summary" only.
|
| 52 |
+
4) If information is missing, do not guess. Ask for it via "needs".
|
| 53 |
+
5) Be deterministic in structure: keep keys stable across revisions.
|
| 54 |
+
|
| 55 |
+
Contract:
|
| 56 |
+
{
|
| 57 |
+
"version": "1.0",
|
| 58 |
+
"task": "<short label>",
|
| 59 |
+
"assumptions": ["..."],
|
| 60 |
+
"needs": ["..."],
|
| 61 |
+
"candidates": [
|
| 62 |
+
{
|
| 63 |
+
"id": "c1",
|
| 64 |
+
"solution": { },
|
| 65 |
+
"constraints": [
|
| 66 |
+
{"name": "...", "status": "pass|fail|unknown", "note": "..."}
|
| 67 |
+
],
|
| 68 |
+
"objective_estimate": {"primary": 0.0, "notes": "..."},
|
| 69 |
+
"rationale_summary": "max 2 sentences"
|
| 70 |
+
}
|
| 71 |
+
],
|
| 72 |
+
"revision_instructions": "If controller feedback arrives, edit only referenced fields and preserve all others exactly."
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
Generation rules:
|
| 76 |
+
- Provide 1-3 candidates when possible.
|
| 77 |
+
- Prefer modular, decomposable solutions that a solver can modify.
|
| 78 |
+
- If infeasible, return candidates=[] and explain in constraints with status=fail plus needs.
|
| 79 |
+
|
| 80 |
+
"""
|