--- license: apache-2.0 language: - zh tags: - game - honkai_impact - hoyoverse - dialogue - narration size_categories: - 10K", "content": "", "state": "" }} \`\`\` 3. In case of narration \`\`\`json {{ "type": "narration", "content": "" }} \`\`\`""" ``` # VLM code snippet ```python # generate for batch in tqdm(batches): msgs = [ [{"role": "user", "content": [Image.open(b["frame_path"]), format_template(b["ocr"])]}] for b in batch ] outputs = model.chat( image=None, msgs=msgs, tokenizer=tokenizer ) ```