【书生·浦语大模型实战营】第2节:轻松玩转书生·浦语大模型趣味 Demo(笔记版)

1.大模型及InternLM模型介绍

定义:人工智能领域参数数量巨大、拥有庞大计算能力和参数规模的模型。

特点和应用:大量数据训练、数十亿数千亿参数、各任务展现惊人性能。

2.InternLM-Chat-7B智能对话Demo

3.Lagent智能体工具调用Demo

4.浦语灵笔图文创作理解Demo

5.通用环境配置

 pip换源设置pip默认镜像源,升级pip到最新的版本后进行配置:

python -m pip install --upgrade pip
pip config set global.index-url https://mirrors.cernet.edu.cn/pypi/web/simple

conda快速换源:

cat <<'EOF' > ~/.condarc
channels:
  - defaults
show_channel_urls: true
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors/tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
EOF

模型下载

Hugging Face下载使用Hugging Face官方提供的Huggingface-cli命令行工具。安装依赖:

pip install -U huggingface_hub
huggingface-cli download --resume-download internlm/internlm-chat-7b --local-dir your_path

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值