update internlm 7B

This commit is contained in:
KMnO4-zx
2023-11-16 20:13:43 +08:00
parent 78a7e947db
commit 44bea5a727
6 changed files with 15 additions and 3 deletions
+10 -2
View File
@@ -59,7 +59,6 @@ git checkout 3028f07cb79e5b1d7342f4ad8d11efad3fd13d17
```
最后取消镜像加速,因为该加速可能对正常网络造成一定影响,避免对后续下载其他模型造成困扰。
```shell
unset http_proxy && unset https_proxy
```
@@ -77,5 +76,14 @@ cd /root/autodl-tmp/InternLM
streamlit run web_demo.py --server.address 127.0.0.1 --server.port 6006
```
`autodl `的端口映射到本地的 [http://localhost:6006](http://localhost:6006/) 仅在此处展示一次,以下两个 Demo 都是同样的方法把 `autodl `中的 `6006 `端口映射到本机的 `http://localhost:6006`的方法都是相同的,方法如图所示
`autodl `的端口映射到本地的 [http://localhost:6006](http://localhost:6006/) 仅在此处展示一次,以下两个 Demo 都是同样的方法把 `autodl `中的 `6006 `端口映射到本机的 `http://localhost:6006`的方法都是相同的,方法如图所示
![Alt text](images/image-4.png)
注意:要在浏览器打开`http://localhost:6006`页面后,模型才会加载,如下图所示:
![Alt text](images/image-5.png)
在加载完模型之后,就可以既可与InternLM-Chat-7B进行对话了,如下图所示:
![Alt text](images/image-6.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

+5 -1
View File
@@ -13,13 +13,17 @@
- Qwen
- [ ] Qwen-7B
- [ ] Qwen-VL
- ~ ~ ~
- 欢迎提交新模型
# 通用环境配置
## pip、conda 换源
## 开放端口
`autodl `的端口映射到本地的 [http://localhost:6006](http://localhost:6006/) 仅在此处展示一次,以下两个 Demo 都是同样的方法把 `autodl `中的 `6006 `端口映射到本机的 `http://localhost:6006`的方法都是相同的,方法如图所示。
![Alt text](images/image-4.png)
## 模型下载
### hugging face
Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB