mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-28 17:29:30 +00:00
change to 128 tokens to support low length rejection
This commit is contained in:
parent
10f651289c
commit
9ff24bf370
1 changed files with 3 additions and 3 deletions
|
|
@ -519,9 +519,9 @@ class DummyManagedServer:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Fixed dummy values
|
# Fixed dummy values
|
||||||
DUMMY_TOKENS = [1, 2, 3]
|
DUMMY_TOKENS = [i for i in range(128)]
|
||||||
DUMMY_MASKED_TOKENS = [-100, 2, 3]
|
DUMMY_MASKED_TOKENS = [-100] + DUMMY_TOKENS[1:]
|
||||||
DUMMY_LOGPROBS = [-0.5, -0.5, -0.5]
|
DUMMY_LOGPROBS = [-0.5 for _ in range(128)]
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue