Repository navigation
Count emitted missing text constants in DiskGraph token budgets - #516
Conversation
Change map
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
Note
|
Victsm
left a comment
There was a problem hiding this comment.
Native token planning now counts the missing text constant exactly when the row policy emits it, using the fitted encoder rather than another counting rule. All 59 native length-planning tests passed with text dependencies available.
…t-budget # Conflicts: # packages/experimental/kumo-pytorch/tests/test_native_length_planning.py
Fixes #499.
A masked training batch with a missing text constant used to fail as soon as a token budget was set. DiskGraph now counts the missing token with the same fitted encoder it uses for other text constants.
Change map
Testing
On main, one of the four cases from #447 failed. All four passed with the fix. The package regression also checks that a four-token budget rejects the five-token sample. The length-planning and target-layout modules passed all 85 tests.