|
252 | 252 | " <td style=\"padding: 8px; border: 1px solid rgba(127, 127, 127, 0.2);\">A langchain llm `BaseChatModel` to be used for decomposing responses into individual claims. Also used for claim refinement. If granularity=\"claim\" and claim_decomposition_llm is None, the provided `llm` will be used for claim decomposition.</td>\n", |
253 | 253 | " </tr>\n", |
254 | 254 | " <tr>\n", |
| 255 | + " <td style=\"font-weight: bold; padding: 8px; border: 1px solid rgba(127, 127, 127, 0.2);\">nli_llm</td>\n", |
| 256 | + " <td style=\"padding: 8px; border: 1px solid rgba(127, 127, 127, 0.2);\">BaseChatModel<br><code>default=None</code></td>\n", |
| 257 | + " <td style=\"padding: 8px; border: 1px solid rgba(127, 127, 127, 0.2);\">A LangChain chat model for LLM-based NLI inference. If provided, takes precedence over nli_model_name. Only used for mode=\"unit_response\"</td>\n", |
| 258 | + " </tr>\n", |
| 259 | + " <tr>\n", |
255 | 260 | " <td style=\"font-weight: bold; padding: 8px; border: 1px solid rgba(127, 127, 127, 0.2);\">device</td>\n", |
256 | 261 | " <td style=\"padding: 8px; border: 1px solid rgba(127, 127, 127, 0.2);\">str or torch.device<br><code>default=None</code></td>\n", |
257 | 262 | " <td style=\"padding: 8px; border: 1px solid rgba(127, 127, 127, 0.2);\">Specifies the device that NLI model use for prediction. If None, detects and returns the best available PyTorch device. Prioritizes CUDA (NVIDIA GPU), then MPS (macOS), then CPU.</td>\n", |
|
297 | 302 | " <li><code>llm</code></li>\n", |
298 | 303 | " <li><code>system_prompt</code></li>\n", |
299 | 304 | " <li><code>sampling_temperature</code></li>\n", |
| 305 | + " <li><code>claim_decomposition_llm</code></li>\n", |
| 306 | + " <li><code>nli_llm</code></li>\n", |
300 | 307 | " </ul>\n", |
301 | 308 | " </div>\n", |
302 | 309 | " <div style=\"flex: 1; padding: 10px; background-color: rgba(0, 200, 0, 0.1); border-radius: 5px; border: 1px solid rgba(0, 200, 0, 0.2);\">\n", |
|
1356 | 1363 | "\n", |
1357 | 1364 | " - **PageRank** - $ \\frac{1-d}{|V|} + d \\sum_{v \\in N(s)} \\frac{C_{PR}(v)}{N(v)}$ is the stationary distribution probability of a random walk with restart probability $(1-d)$, where $N(s)$ denotes the set of neighboring nodes of $s$ and $C_{PR}(v)$ is PageRank of node $v$.\n", |
1358 | 1365 | "\n", |
1359 | | - "where $\\mathbf{y}^{(s)}_{\\text{cand}} = {y_1^{(s)}, ..., y_m^{(s)}}$ are $m$ candidate responses." |
| 1366 | + "where $\\mathbf{y}^{(s)}_{\\text{cand}} = \\{y_1^{(s)}, ..., y_m^{(s)}\\}$ are $m$ candidate responses." |
1360 | 1367 | ] |
1361 | 1368 | }, |
1362 | 1369 | { |
|
0 commit comments