https://github.com/InternLM/InternLM-XComposer

InternLM-XComposer包含 internlm_model、encode_img、vis_processor

问题

Gradio使用

图文创作

截屏2024-02-21 16.38.42.png

Beam Size

Repetition_penalty:生成重复率

max output tokens:输出最长字符长度

model selects images: 使用模型,从候选图中选择配图

Do_sample

逻辑

  1. 根据prompt生成文章 (LLM实现)