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 15be4d2 commit aa0ac68Copy full SHA for aa0ac68
examples/speculative_decoding/eagle_utils.py
@@ -270,7 +270,7 @@ def make_eagle_supervised_data_module(
270
# Filter to conversations that exist in the offline data and in the provided json
271
valid_entries = []
272
for entry in data_json:
273
- conv_id = entry.get("conversation_id") or entry.get("id")
+ conv_id = entry.get("conversation_id", entry.get("id"))
274
if conv_id is None:
275
raise ValueError(
276
"Each entry in the data json must have a 'conversation_id' or 'id' field."
0 commit comments