Commit 19ec41e5 authored by zhouxiang's avatar zhouxiang
Browse files

完善readme

parent 658b740c
# CodeLlama_lmdeploy
# CodeLlama
## 论文
- [https://arxiv.org/pdf/2302.13971.pdf](https://arxiv.org/pdf/2302.13971.pdf)
......@@ -131,7 +131,7 @@ lmdeploy serve api_server ./workspace --server_name 0.0.0.0 --server_port ${serv
打开 `http://{server_ip}:{server_port}`,即可访问 swagger,查阅 RESTful API 的详细信息。
你可以用命令行,在控制台与 server 通信:
你可以用命令行,在控制台与 server 通信(在新启的命令行页面下执行)
```shell
# restful_api_url 就是 api_server 产生的,比如 http://localhost:23333
......@@ -147,7 +147,7 @@ lmdeploy serve api_client restful_api_url
lmdeploy serve gradio restful_api_url --server_name ${server_ip} --server_port ${server_port} --restful_api True
```
关于 RESTful API的详细介绍,请参考[这份](lmdeploy/docs/zh_cn/restful_api.md)文档。
关于 RESTful API的详细介绍,请参考[这份](https://developer.hpccube.com/codes/aicomponent/lmdeploy/-/blob/dtk23.04-v0.0.13/docs/zh_cn/restful_api.md)文档。
## result
![llama](docs/codellama.gif)
......
This image diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment