(X, sep)
| 186 | prompt_chunks = [tokenizer(chunk).input_ids for chunk in prompt.split('<image>')] |
| 187 | |
| 188 | def insert_separator(X, sep): |
| 189 | return [ele for sublist in zip(X, [sep]*len(X)) for ele in sublist][:-1] |
| 190 | |
| 191 | input_ids = [] |
| 192 | offset = 0 |
no outgoing calls
no test coverage detected