Instructions to use QuantFactory/Book-Gut12B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/Book-Gut12B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/Book-Gut12B-GGUF", dtype="auto") - llama-cpp-python
How to use QuantFactory/Book-Gut12B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/Book-Gut12B-GGUF", filename="Book-Gut12B.Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use QuantFactory/Book-Gut12B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/Book-Gut12B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/Book-Gut12B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/Book-Gut12B-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/Book-Gut12B-GGUF: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 QuantFactory/Book-Gut12B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/Book-Gut12B-GGUF: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 QuantFactory/Book-Gut12B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/Book-Gut12B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/Book-Gut12B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/Book-Gut12B-GGUF with Ollama:
ollama run hf.co/QuantFactory/Book-Gut12B-GGUF:Q4_K_M
- Unsloth Studio new
How to use QuantFactory/Book-Gut12B-GGUF 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 QuantFactory/Book-Gut12B-GGUF 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 QuantFactory/Book-Gut12B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/Book-Gut12B-GGUF to start chatting
- Docker Model Runner
How to use QuantFactory/Book-Gut12B-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/Book-Gut12B-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/Book-Gut12B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/Book-Gut12B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Book-Gut12B-GGUF-Q4_K_M
List all available models
lemonade list
QuantFactory/Book-Gut12B-GGUF
This is quantized version of ClaudioItaly/Book-Gut12B created using llama.cpp
Original Model Card
merge
This is a merge of pre-trained language models created using mergekit.
Merge Details
Merge Method
This model was merged using the SLERP merge method.
Models Merged
The following models were included in the merge:
Configuration
The following YAML configuration was used to produce this model:
models:
- model: nbeerbower/Stella-mistral-nemo-12B-v2
- model: nbeerbower/mistral-nemo-gutenberg-12B-v2
merge_method: slerp
tokenizer_merge_method: slerp
tokenizer_parameters:
t: 0.3 # Dà più peso al tokenizer
base_model: nbeerbower/mistral-nemo-gutenberg-12B-v2
dtype: bfloat16
parameters:
t: [0, 0.2, 0.4, 0.5, 0.4, 0.2, 0] # Curva che favorisce leggermente
temp: 1.3 # Temperatura per smoothare il merge
density: # Density merging per bilanciare le caratteristiche dei due modelli
- threshold: 0.1
t: 0.7
- threshold: 0.5
t: 0.5
- threshold: 0.9
t: 0.3
- Downloads last month
- 75
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit