<aside> 💡

基础作业:

  1. 使用 InternLM-Chat-7B 模型生成 300 字的小故事

    Untitled

  2. 使用 huggingface_hub python 包,下载 InternLM-20B 的 config.json 文件到本地

    ①首先在/root/code/下创建huggingface-demo文件夹,用于存储下载的相关文件。 ②为了加快下载速度,设置镜像站 export HF_ENDPOINT=https://hf-mirror.com,下载 huggingface_hub包。 ③在/root/code/huggingface-demo新建Python文件,用于保存InternLM-20B 的 config.json 文件到本地。

    Untitled

    Untitled

<aside> 💡 进阶作业(可选做)

  1. 完成浦语·灵笔的图文理解及创作部署

    代码部署

    Untitled

    图文部署

    Untitled

    多模态对话部署

    Untitled

  2. 完成 Lagent 工具调用 Demo 创作部署

    代码部署

    Untitled

    Lagent 工具调用部署

    Untitled