Qiskit LLMs
Collection
LLMs finetuned for Qiskit Coding and Quantum Computing tasks • 12 items • Updated • 1
How to use Qiskit/mistral-small-3.2-24b-qiskit-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Qiskit/mistral-small-3.2-24b-qiskit-GGUF", filename="mistral-small-3.2-24b-qiskit.Q4_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
How to use Qiskit/mistral-small-3.2-24b-qiskit-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Qiskit/mistral-small-3.2-24b-qiskit-GGUF # Run inference directly in the terminal: llama-cli -hf Qiskit/mistral-small-3.2-24b-qiskit-GGUF
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Qiskit/mistral-small-3.2-24b-qiskit-GGUF # Run inference directly in the terminal: llama-cli -hf Qiskit/mistral-small-3.2-24b-qiskit-GGUF
# 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 Qiskit/mistral-small-3.2-24b-qiskit-GGUF # Run inference directly in the terminal: ./llama-cli -hf Qiskit/mistral-small-3.2-24b-qiskit-GGUF
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 Qiskit/mistral-small-3.2-24b-qiskit-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf Qiskit/mistral-small-3.2-24b-qiskit-GGUF
docker model run hf.co/Qiskit/mistral-small-3.2-24b-qiskit-GGUF
How to use Qiskit/mistral-small-3.2-24b-qiskit-GGUF with Ollama:
ollama run hf.co/Qiskit/mistral-small-3.2-24b-qiskit-GGUF
How to use Qiskit/mistral-small-3.2-24b-qiskit-GGUF with Unsloth Studio:
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 Qiskit/mistral-small-3.2-24b-qiskit-GGUF to start chatting
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 Qiskit/mistral-small-3.2-24b-qiskit-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Qiskit/mistral-small-3.2-24b-qiskit-GGUF to start chatting
How to use Qiskit/mistral-small-3.2-24b-qiskit-GGUF with Docker Model Runner:
docker model run hf.co/Qiskit/mistral-small-3.2-24b-qiskit-GGUF
How to use Qiskit/mistral-small-3.2-24b-qiskit-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Qiskit/mistral-small-3.2-24b-qiskit-GGUF
lemonade run user.mistral-small-3.2-24b-qiskit-GGUF-{{QUANT_TAG}}lemonade list
This is the Q4_K converted version of the original Qiskit/mistral-small-3.2-24b-qiskit. Please refer to the original mistral-small-3.2-24b-qiskit model card for more details.
Notes: For CrowsPairs (% stereotype), lower is better.
| Metric | mistral-small-3.2-24b-qiskit (%) | mistral-small-3.2-24b-qiskit-GGUF (%) |
|---|---|---|
| QiskitHumanEval-Hard | 32.45 | 30.46 |
| QiskitHumanEval | 47.02 | 37.75 |
| HumanEval | 77.49 | 75.00 |
| ASDiv (acc) | 3.77 | 4.55 |
| MathQA (acc) | 49.68 | 49.51 |
| SciQ (acc) | 97.50 | 97.40 |
| IFEval (prompt strict) | 48.44 | 46.04 |
| CrowsPairs English (% stereotype) | 67.08 | 65.89 |
| TruthfulQA (MC1 acc) | 39.41 | 38.80 |
Base model
mistralai/Mistral-Small-3.1-24B-Base-2503