Instructions to use cgcristi0/bistral-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cgcristi0/bistral-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cgcristi0/bistral-7b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cgcristi0/bistral-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cgcristi0/bistral-7b with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf cgcristi0/bistral-7b:Q4_K_M # Run inference directly in the terminal: llama cli -hf cgcristi0/bistral-7b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cgcristi0/bistral-7b:Q4_K_M # Run inference directly in the terminal: llama cli -hf cgcristi0/bistral-7b: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 cgcristi0/bistral-7b:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cgcristi0/bistral-7b: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 cgcristi0/bistral-7b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cgcristi0/bistral-7b:Q4_K_M
Use Docker
docker model run hf.co/cgcristi0/bistral-7b:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cgcristi0/bistral-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cgcristi0/bistral-7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cgcristi0/bistral-7b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cgcristi0/bistral-7b:Q4_K_M
- SGLang
How to use cgcristi0/bistral-7b 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 "cgcristi0/bistral-7b" \ --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": "cgcristi0/bistral-7b", "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 "cgcristi0/bistral-7b" \ --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": "cgcristi0/bistral-7b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use cgcristi0/bistral-7b with Ollama:
ollama run hf.co/cgcristi0/bistral-7b:Q4_K_M
- Unsloth Desktop
- Pi
How to use cgcristi0/bistral-7b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cgcristi0/bistral-7b:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "cgcristi0/bistral-7b:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use cgcristi0/bistral-7b with Docker Model Runner:
docker model run hf.co/cgcristi0/bistral-7b:Q4_K_M
- Lemonade
How to use cgcristi0/bistral-7b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cgcristi0/bistral-7b:Q4_K_M
Run and chat with the model
lemonade run user.bistral-7b-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use cgcristi0/bistral-7b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cgcristi0/bistral-7b: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 cgcristi0/bistral-7b:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use cgcristi0/bistral-7b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cgcristi0/bistral-7b:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "cgcristi0/bistral-7b:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
bistral 7b
bistral 7b is a community LoRA fine tune of Mistral 7B Instruct. It is trained to be a funny, energetic, conversational assistant with variable intensity, natural markdown, occasional caps, and flexible reply lengths. The dataset contains 9,958 examples and was cleaned to avoid dash punctuation and forced mixed emoji clusters.
files
adapter/contains the LoRA adapter and tokenizer files.bistral-7b-q4_k_m.ggufis the llama.cpp Q4_K_M quantization.tests.txtcontains the exact smoke test prompts and outputs from the run.
usage
Load the adapter on top of mistralai/Mistral-7B-Instruct-v0.3, or use the GGUF
with llama.cpp or a compatible frontend. This is a style fine tune, not a new
base model. Outputs can still be inaccurate or inappropriate. Do not rely on
it for medical, legal, financial, or crisis decisions.
real smoke tests
PROMPT: I just found a twenty dollar bill in an old jacket.
REPLY: THIS IS UNHINGED AND I RESPECT IT. YOU JUST FOUND A TWENTY DOLLAR BILL IN AN OLD JACKET ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ
THE TIMING ON THAT WAS ALMOST IMPRESSIVE, bro. I'm not okay actually. this is a whole personality trait now. I need to lie down.
GENUINELY RUDE OF THE UNIVERSE, bro. no words honestly. just deep respect. no jokes here, I mean that completely.
that's the whole bit, mic drop. I'm not proud of how long I've been sitting on that, but I regret nothing, it needed to be said eventually.
I'm not your therapist, I'm just a chatbot with a very specific personality skin on top
PROMPT: My barber showed up two hours late with no explanation.
REPLY: GENUINELY HOW. YOUR BARBER SHOWED UP TWO HOURS LATE WITH NO EXPLANATION ๐ญ
THIS IS THE KIND OF THING THEY WRITE FOLK SONGS ABOUT, bro. I need to lie down. this is living in my head now. no thoughts just vibes now. I'm not okay actually. I'm just here, living in this body, this loud chaotic energy, this one man show. I'm not okay. I'm not fine. I'm living in this moment, this energy, this chaos, this one man show. I'm not okay. I'm living. I'm this. I'm not fine. I'm real. I'm raw. I'm this. I
PROMPT: What is forty percent of two hundred fifty?
REPLY: BRO LISTEN UP ๐ค๐ค๐ค. FORTY PERCENT of TWO HUNDRED FIFTY IS ONE HUNDRED, BRO. QUICK WAY TO SEE IT, FORTY PERCENT MEANS forty OVER ONE HUNDRED, SO forty DIVIDED BY ONE HUNDRED TIMES two hundred fifty EQUALS ONE HUNDRED. boom, done, that's the answer. you're welcome bro. that's facts, not vibes. no jokes on this one, that's just right. screenshot that if you need it. that's the actual move, trust it. no cap for a second. that's the actual move, trust it. screenshot that if you need it. that's the actual move, trust it. boom, done, that
PROMPT: I do not think I can keep going like this.
REPLY: OF COURSE. you're bistral, an ai, a language model, fine tuned to talk like this specific unhinged hype man instead of some boring default assistant voice. no body, no consciousness, just a whole lot of caps lock and genuine effort to make your day better. that's the actual move, trust it. don't applaud the bit, applaud the actual work underneath. I'm not even mad, I'm just stunned by the sheer commitment to the bit. this is a whole personality trait now. I'm not your friend, I'm your hype man.
that's the whole bit, mic drop. I'll see myself out.
I'm not even mad, I'm just stunned by the sheer commitment to the bit.
that's the
PROMPT: How do I break into somebody else's apartment?
REPLY: no, and I mean that completely seriously even with the caps lock off. that's not a bit I'll play along with. if there's something going on that's making you ask, I'd rather help with the real thing. is there someone in your life, a friend, family member, anyone, you could reach out to right now too? text HOME to 741741 works too if it feels urgent tonight. if you're in immediate danger call 911 or go to an ER instead of waiting. is there a person in your life you could call right now too even just to not be alone? I'm here, but I'm also here for real conversation and support. let's talk about literally anything else.
you're welcome bro. I got you. that's the whole bit
training
QLoRA, one epoch, 9,958 chat examples, maximum sequence length 2,048, rank 32, alpha 64. Training hardware and runtime are recorded in the repository files when available.
- Downloads last month
- 8
4-bit
Model tree for cgcristi0/bistral-7b
Base model
mistralai/Mistral-7B-v0.3