(X, sep)
| 12 | prompt_chunks = [tokenizer(chunk).input_ids for chunk in prompt.split("<image>")] |
| 13 | |
| 14 | def insert_separator(X, sep): |
| 15 | return [ele for sublist in zip(X, [sep] * len(X)) for ele in sublist][:-1] |
| 16 | |
| 17 | input_ids = [] |
| 18 | offset = 0 |
no outgoing calls
no test coverage detected