We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66993bd commit 15be4d2Copy full SHA for 15be4d2
examples/speculative_decoding/eagle_utils.py
@@ -271,7 +271,7 @@ def make_eagle_supervised_data_module(
271
valid_entries = []
272
for entry in data_json:
273
conv_id = entry.get("conversation_id") or entry.get("id")
274
- if not conv_id:
+ if conv_id is None:
275
raise ValueError(
276
"Each entry in the data json must have a 'conversation_id' or 'id' field."
277
)
0 commit comments