[作业] 书生·浦语大模型实战营-第二节
输入“/”快速插入
[作业] 书生·浦语
大模型
实战营-第二节
飞书用户6850
1月13日创建
笔记:
书生·浦语大模型实战营-第二节
基础作业
作业一
使用 InternLM-Chat-7B 模型生成 300 字的小故事(需截图)。
作业二
熟悉 hugging face 下载功能,使用
huggingface_hub
python 包,下载
InternLM-20B
的 config.json 文件到本地(需截图下载过程)。
Bash
vim download_internlm_20b.py
Python
import os
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="internlm/internlm-20b", filename="config.json", cache_dir="./internlm-20b")
(使用
hf_hub_download
下载需要能
ping
通
huggingface.co
)
进阶作业
作业三
完成浦语·灵笔的图文理解及创作部署(需截图)
图文生成: