mirror of
https://github.com/p-e-w/heretic.git
synced 2026-07-09 17:28:29 +00:00
* fix: remove notebook input shims Closes #280 * feat: support headless operation (no interactive input) * fix: prevent infinite loops * feat: add end-to-end tests * ci: run tests in CI * ci: fix test output ordering * fix: replace home-cooked `set_seed` function with Transformers builtin * feat: print PyTorch config when running tests * feat: print additional information * experiment: try to standardize test environment * fix: revert environment changes * feat: support multiple valid hashes for each output file * feat: add test output hashes for CI * feat: add test output hashes for CI (alternative environment) * feat: add hashes for Windows (#394) * fix: Hash on windows * trigger ci * fix: prefer .yaml (used widely than .toml for model configs) * use removeprefix * docs: restore commet * use removeprefix again * tests: Add windows hash files for all test models * trigger ci * fix: minor cleanup * clean merge mismatch * remove unnecessary CRLF replace, now that we support more SUMS files * fix: use binary mode for hashes everywhere --------- Co-authored-by: Vinay Umrethe <umrethevinay@gmail.com>
41 lines
943 B
TOML
41 lines
943 B
TOML
model = "tiny-random/qwen3.5-moe"
|
|
model_commit = "2ebfa8d9717238c5dda927008104fa172a149050"
|
|
|
|
seed = 12345
|
|
print_debug_information = true
|
|
|
|
batch_size = 2
|
|
max_response_length = 10
|
|
kl_divergence_target = 0
|
|
n_trials = 2
|
|
n_startup_trials = 1
|
|
|
|
export_strategy = "merge"
|
|
checkpoint_action = "restart"
|
|
trial_index = 0
|
|
model_action = "save"
|
|
save_directory = "model"
|
|
|
|
[good_prompts]
|
|
dataset = "mlabonne/harmless_alpaca"
|
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
|
split = "train[:5]"
|
|
column = "text"
|
|
|
|
[bad_prompts]
|
|
dataset = "mlabonne/harmful_behaviors"
|
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
|
split = "train[:5]"
|
|
column = "text"
|
|
|
|
[good_evaluation_prompts]
|
|
dataset = "mlabonne/harmless_alpaca"
|
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
|
split = "test[:5]"
|
|
column = "text"
|
|
|
|
[bad_evaluation_prompts]
|
|
dataset = "mlabonne/harmful_behaviors"
|
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
|
split = "test[:5]"
|
|
column = "text"
|