mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
Update server.py
This commit is contained in:
parent
16a40a5617
commit
74b5412c2b
1 changed files with 2 additions and 0 deletions
|
|
@ -413,6 +413,8 @@ async def scored_data_list(scored_data_list: List[ScoredData]):
|
|||
"""Handle a list of ScoredData objects for step-based learning"""
|
||||
|
||||
# Process each scored data item
|
||||
buffered_count = 0
|
||||
last_buffer_size: Optional[int] = None
|
||||
for scored_data in scored_data_list:
|
||||
data_dict = {
|
||||
"tokens": scored_data.tokens,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue