Takes output from get_rolling_token_windows and makes the context not overlap with the continuation
(pair)
| 174 | |
| 175 | |
| 176 | def make_disjoint_window(pair): |
| 177 | """Takes output from get_rolling_token_windows and makes the context not overlap with the continuation""" |
| 178 | a, b = pair |
| 179 | return a[: len(a) - (len(b) - 1)], b |
| 180 | |
| 181 | |
| 182 | def select_continuation_from_batch_left_padding( |
nothing calls this directly
no outgoing calls
no test coverage detected