tinyopsec commited on
Commit
02e2f97
·
verified ·
1 Parent(s): 05af71a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +135 -0
README.md ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: GenPRM/GenPRM-7B
4
+ language:
5
+ - en
6
+ library_name: llama.cpp
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - gguf
10
+ - qwen2
11
+ - process-reward-model
12
+ - prm
13
+ - math
14
+ - reasoning
15
+ - quantized
16
+ - text-generation
17
+ ---
18
+
19
+ # GenPRM-7B-GGUF
20
+
21
+ GGUF quantizations of [GenPRM/GenPRM-7B](https://huggingface.co/GenPRM/GenPRM-7B), a generative process reward model for mathematical reasoning.
22
+
23
+ ## Model Details
24
+
25
+ GenPRM-7B is a Qwen2-based process reward model trained from the DeepSeek-R1-Distill-Qwen-7B base model. It performs explicit chain-of-thought reasoning and code verification before producing process judgments. It supports test-time scaling through parallel generation and majority voting, and can be used as a verifier or critic.
26
+
27
+ ## Quantizations
28
+
29
+ | File | Bits | Size | Recommended Memory | Use Case |
30
+ | ------------------- | -----: | ------: | -----------------: | ----------------------- |
31
+ | `model_f16.gguf` | 16-bit | 15.2 GB | — | Maximum quality |
32
+ | `model_q8_0.gguf` | 8-bit | 8.1 GB | 10+ GB | Near-F16 quality |
33
+ | `model_q6_k.gguf` | 6-bit | 6.25 GB | 8+ GB | High quality |
34
+ | `model_q5_k_m.gguf` | 5-bit | 5.44 GB | 7+ GB | Quality / size balance |
35
+ | `model_q5_k_s.gguf` | 5-bit | 5.32 GB | 7+ GB | Compact 5-bit |
36
+ | `model_q4_k_m.gguf` | 4-bit | 4.68 GB | 6+ GB | Recommended general use |
37
+ | `model_q4_k_s.gguf` | 4-bit | 4.46 GB | 6+ GB | Compact 4-bit |
38
+ | `model_q3_k_l.gguf` | 3-bit | 4.09 GB | 5+ GB | Low-memory use |
39
+ | `model_q3_k_m.gguf` | 3-bit | 3.81 GB | 5+ GB | Smaller deployment |
40
+ | `model_q3_k_s.gguf` | 3-bit | 3.49 GB | 5+ GB | Maximum compression |
41
+ | `model_q2_k.gguf` | 2-bit | 3.02 GB | 4+ GB | Minimum memory |
42
+
43
+ Actual requirements depend on context length, KV cache, and runtime configuration.
44
+
45
+ ## Hardware Compatibility
46
+
47
+ | Bits | Quant | Size |
48
+ | ---: | :--- | ---: |
49
+ | 2-bit | Q2_K | 3.02 GB |
50
+ | 3-bit | Q3_K_S | 3.49 GB |
51
+ | 3-bit | Q3_K_M | 3.81 GB |
52
+ | 3-bit | Q3_K_L | 4.09 GB |
53
+ | 4-bit | Q4_K_S | 4.46 GB |
54
+ | 4-bit | Q4_K_M | 4.68 GB |
55
+ | 5-bit | Q5_K_S | 5.32 GB |
56
+ | 5-bit | Q5_K_M | 5.44 GB |
57
+ | 6-bit | Q6_K | 6.25 GB |
58
+ | 8-bit | Q8_0 | 8.1 GB |
59
+ | 16-bit | F16 | 15.2 GB |
60
+
61
+ ## Usage
62
+
63
+ ### llama.cpp
64
+
65
+ ```bash
66
+ llama-cli -hf tinyopsec/GenPRM-7B-GGUF:Q4_K_M
67
+ ```
68
+
69
+ Server:
70
+
71
+ ```bash
72
+ llama-server -hf tinyopsec/GenPRM-7B-GGUF:Q4_K_M
73
+ ```
74
+
75
+ ### llama-cpp-python
76
+
77
+ ```python
78
+ from llama_cpp import Llama
79
+
80
+ llm = Llama(
81
+ model_path="model_q4_k_m.gguf",
82
+ n_ctx=8192,
83
+ )
84
+
85
+ output = llm(
86
+ "Review the following mathematical solution step by step.",
87
+ max_tokens=2048,
88
+ )
89
+ print(output)
90
+ ```
91
+
92
+ ### LM Studio
93
+
94
+ Download the desired GGUF file and load it through LM Studio.
95
+
96
+ ### Ollama
97
+
98
+ ```bash
99
+ ollama run hf.co/tinyopsec/GenPRM-7B-GGUF:Q4_K_M
100
+ ```
101
+
102
+ ## Original Model
103
+
104
+ [GenPRM/GenPRM-7B](https://huggingface.co/GenPRM/GenPRM-7B)
105
+
106
+ GenPRM was introduced in *GenPRM: Scaling Test-Time Compute of Process Reward Models via Generative Reasoning*. The model uses explicit reasoning and verification for process supervision and supports both verifier and critic applications.
107
+
108
+ ## Features
109
+
110
+ - Generative process reward model
111
+ - Mathematical reasoning and process supervision
112
+ - Explicit chain-of-thought reasoning
113
+ - Code verification
114
+ - Relative Progress Estimation (RPE)
115
+ - Parallel test-time scaling
116
+ - Majority-vote verification
117
+ - Critique and refinement support
118
+ - Qwen2 architecture
119
+ - GGUF format for llama.cpp-compatible runtimes
120
+
121
+ ## Citation
122
+
123
+ ```bibtex
124
+ @article{zhao2025genprm,
125
+ title = {GenPRM: Scaling Test-Time Compute of Process Reward Models via Generative Reasoning},
126
+ author = {Jian Zhao and Runze Liu and Kaiyan Zhang and Zhimu Zhou and Junqi Gao and Dong Li and Jiafei Lyu and Zhouyi Qian and Biqing Qi and Xiu Li and Bowen Zhou},
127
+ journal = {arXiv preprint arXiv:2504.00891},
128
+ year = {2025}
129
+ }
130
+ ```
131
+
132
+ ## Links
133
+
134
+ - Original model: https://huggingface.co/GenPRM/GenPRM-7B
135
+ - GGUF repo: https://huggingface.co/tinyopsec/GenPRM-7B-GGUF