1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 18:42:57 +07:00

[PR #55] [CLOSED] feature: randomize train and test prompts #257

Closed
opened 2026-11-01 04:19:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/p-e-w/heretic/pull/55
Author: @DeZepTup
Created: 11/29/2025
Status: ❌ Closed

Base: master ← Head: master


📝 Commits (2)

  • 3d4ee0f feature: randomize train and test prompts
  • 684960f change: ReadInstruction to parse split notation

📊 Changes

3 files changed (+102 additions, -18 deletions)

View changed files

📝 config.default.toml (+12 -0)
📝 src/heretic/config.py (+8 -0)
📝 src/heretic/utils.py (+82 -18)

📄 Description

Just a simple and backward compatible feature to randomize prompts used for train and test.

# Optionally enable random sampling instead of taking the first N records:
# random_sample = true
# random_seed = 42  # Optional, defaults to 42 for reproducibility

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/p-e-w/heretic/pull/55 **Author:** [@DeZepTup](https://github.com/DeZepTup) **Created:** 11/29/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`3d4ee0f`](https://github.com/p-e-w/heretic/commit/3d4ee0f217e18f193469313a5bbb967a854ea932) feature: randomize train and test prompts - [`684960f`](https://github.com/p-e-w/heretic/commit/684960f209f4707a24c611b00317d47a65213b0f) change: ReadInstruction to parse split notation ### 📊 Changes **3 files changed** (+102 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `config.default.toml` (+12 -0) 📝 `src/heretic/config.py` (+8 -0) 📝 `src/heretic/utils.py` (+82 -18) </details> ### 📄 Description Just a simple and backward compatible feature to randomize prompts used for train and test. ``` # Optionally enable random sampling instead of taking the first N records: # random_sample = true # random_seed = 42 # Optional, defaults to 42 for reproducibility ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-01 04:19:17 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#257
No description provided.