Views
No views yet
nn-tech/MetalGPT-1 model for use with GGUF-compatible runtimes.⚠️ Disclaimer:
This repository is not affiliated with the original authors of MetalGPT-1.
These are pure quantizations of the original model weights - no additional training, fine-tuning, or modifications were applied.
Quality, correctness, and safety of the quantized variants are not guaranteed.
| File name | Quantization | Size (GB) | Notes |
|---|---|---|---|
MetalGPT-1-32B-Q8_0.gguf | Q8_0 | 34.8 | Best quality among these quants; requires more VRAM |
MetalGPT-1-32B-Q6_K.gguf | Q6_K | 26.9 | High quality; lower VRAM usage than Q8_0 |
MetalGPT-1-32B-Q4_K_M.gguf | Q4_K_M | 19.8 | Good quality; memory-efficient |
MetalGPT-1-32B-Q4_K_S.gguf | Q4_K_S | 18.8 | Slightly more aggressive quantization than Q4_K_M |
Note: Try adding the/thinktag to your prompts if you want to explicitly trigger reasoning capabilities.
Note: partial offload (keeping some layers in system RAM) can significantly reduce throughput vs full GPU offload.
LM StudioOllamaollama command is available in your terminal.ollama run hf.co/NuisanceValue/MetalGPT-1-GGUF:Q4_K_Mollama listNote: You can also use Ollama through a web UI such as OpenWebUI by configuring it to connect to your Ollama server.
llama.cppMetalGPT-1-32B-Q4_K_M.gguf) and run:1./llama-cli \
2 -m MetalGPT-1-32B-Q4_K_M.gguf \
3 -p "Назови плюсы и минусы хлоридной и сульфатной технологии производства никеля." \
4 --temp 0.7 \
5 --top-p 0.8 \
6 --top-k 70 \
7 --n-predict 512 \
8 --ctx-size 8192Tip (GPU offload): you can add-ngl N(aka--n-gpu-layers) — it controls how many layers are offloaded to VRAM, while the rest stays in system RAM. Start with-ngl -1(try to offload all layers); if you hit an out-of-memory error, lower it (e.g.,-ngl 20,-ngl 30, …) until it fits.
llama-cpp-pythonllama-cpp-python if you haven't already:pip install llama-cpp-python1from llama_cpp import Llama
2
3# Path to your GGUF file
4model_path = "MetalGPT-1-32B-Q4_K_M.gguf"
5
6# Initialize the model
7llm = Llama(
8 model_path=model_path,
9 n_gpu_layers=-1, # Offload all layers to GPU. If you get an OOM error, change this number to offload some layers to RAM (e.g., to 20 or 30).
10 n_ctx=8192, # Context window (adjust based on VRAM)
11 verbose=False
12)
13
14messages = [
15 {"role": "system", "content": "Ты специалист в области металлургии."},
16 {"role": "user", "content": "Назови плюсы и минусы хлоридной и сульфатной технологии производства никеля."},
17]
18
19output = llm.create_chat_completion(
20 messages=messages,
21 max_tokens=2048,
22 temperature=0.7,
23 top_p=0.8
24)
25
26print(output["choices"][0]["message"]["content"])