Skip to content

Commit 88a4338

Browse files
authored
Update README.md
1 parent 6ab2123 commit 88a4338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ cfg = ExperimentConfig(
9999
n_examples_test=100, # Number of examples shown to the scorer models
100100
n_quantiles=10, # Number of quantiles to divide the data into
101101
example_ctx_len=32, # Length of each example
102-
n_random=100, # Number of non-activating examples shown to the scorer model
102+
n_non_activating=100, # Number of non-activating examples shown to the scorer model
103103
train_type="quantiles", # Type of sampler to use for training
104104
test_type="even", # Type of sampler to use for testing
105105
)
106106

107-
constructor = partial(default_constructor, tokens=dataset.tokens, n_random=cfg.n_random, ctx_len=cfg.example_ctx_len, max_examples=cfg.max_examples)
107+
constructor = partial(default_constructor, tokens=dataset.tokens, n_not_active=cfg.n_non_activating, ctx_len=cfg.example_ctx_len, max_examples=cfg.max_examples)
108108
sampler = partial(sample, cfg=cfg)
109109
```
110110

0 commit comments

Comments
 (0)