kygbjs/web_poc
Viewer โข Updated โข 285 โข 12
How to use kygbjs/mistral-poc with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("kygbjs/mistral-poc", device_map="auto")How to use kygbjs/mistral-poc with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf kygbjs/mistral-poc:Q8_0 # Run inference directly in the terminal: llama cli -hf kygbjs/mistral-poc:Q8_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kygbjs/mistral-poc:Q8_0 # Run inference directly in the terminal: llama cli -hf kygbjs/mistral-poc:Q8_0
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf kygbjs/mistral-poc:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf kygbjs/mistral-poc:Q8_0
docker model run hf.co/kygbjs/mistral-poc:Q8_0
How to use kygbjs/mistral-poc with Ollama:
ollama run hf.co/kygbjs/mistral-poc:Q8_0
How to use kygbjs/mistral-poc with Docker Model Runner:
docker model run hf.co/kygbjs/mistral-poc:Q8_0
How to use kygbjs/mistral-poc with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kygbjs/mistral-poc:Q8_0
lemonade run user.mistral-poc-Q8_0
lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf kygbjs/mistral-poc:Q8_0# Run inference directly in the terminal:
llama cli -hf kygbjs/mistral-poc:Q8_0git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf kygbjs/mistral-poc:Q8_0# Run inference directly in the terminal:
./build/bin/llama cli -hf kygbjs/mistral-poc:Q8_0docker model run hf.co/kygbjs/mistral-poc:Q8_0This mistral model was trained 2x faster with Unsloth and Huggingface's TRL library.
8-bit
Base model
mistralai/Mistral-7B-v0.3
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf kygbjs/mistral-poc:Q8_0# Run inference directly in the terminal: llama cli -hf kygbjs/mistral-poc:Q8_0