mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-24 17:04:55 +00:00
linting
This commit is contained in:
parent
e932369777
commit
8fabb701f8
2 changed files with 39 additions and 2 deletions
|
|
@ -249,9 +249,9 @@ def get_data(
|
|||
sample_lp = sample_item["inference_logprobs"][0] if sample_item["inference_logprobs"] else []
|
||||
print(f" [Data] ✓ inference_logprobs found in batch (sample len: {len(sample_lp)})")
|
||||
else:
|
||||
print(f" [Data] ⚠ inference_logprobs key exists but is empty!")
|
||||
print(" [Data] ⚠ inference_logprobs key exists but is empty!")
|
||||
else:
|
||||
print(f" [Data] ⚠ NO inference_logprobs in batch data!")
|
||||
print(" [Data] ⚠ NO inference_logprobs in batch data!")
|
||||
print(f" [Data] Keys in first item: {list(data['batch'][0].keys())}")
|
||||
_logged_logprob_warning = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue