mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-08 11:47:44 +00:00
commit
f662706d27
20
README.md
20
README.md
@ -32,6 +32,26 @@ Run on an RTX 4090 GPU (The origin mov not sped up!, [YouTube地址](https://www
|
|||||||
|
|
||||||
<img src="https://github.com/csunny/DB-GPT/blob/main/asserts/DB_QA.png" margin-left="auto" margin-right="auto" width="600">
|
<img src="https://github.com/csunny/DB-GPT/blob/main/asserts/DB_QA.png" margin-left="auto" margin-right="auto" width="600">
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
1. First you need to install python requirements.
|
||||||
|
```
|
||||||
|
python>=3.9
|
||||||
|
pip install -r requirements
|
||||||
|
```
|
||||||
|
or if you use conda envirenment, you can use this command
|
||||||
|
```
|
||||||
|
cd DB-GPT
|
||||||
|
conda env create -f environment.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
2. MySQL Install
|
||||||
|
|
||||||
|
In this project examples, we connect mysql and run SQL-Generate. so you need install mysql local for test. recommand docker
|
||||||
|
```
|
||||||
|
docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa123456 -dit mysql:latest
|
||||||
|
```
|
||||||
|
The password just for test, you can change this if necessary
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
1. 基础模型下载
|
1. 基础模型下载
|
||||||
关于基础模型, 可以根据[vicuna](https://github.com/lm-sys/FastChat/blob/main/README.md#model-weights)合成教程进行合成。
|
关于基础模型, 可以根据[vicuna](https://github.com/lm-sys/FastChat/blob/main/README.md#model-weights)合成教程进行合成。
|
||||||
|
@ -61,3 +61,7 @@ dependencies:
|
|||||||
- gradio-client==0.0.8
|
- gradio-client==0.0.8
|
||||||
- wandb
|
- wandb
|
||||||
- fschat=0.1.10
|
- fschat=0.1.10
|
||||||
|
- llama-index=0.5.27
|
||||||
|
- pymysql
|
||||||
|
- unstructured==0.6.3
|
||||||
|
- pytesseract==0.3.10
|
||||||
|
@ -53,3 +53,5 @@ wandb
|
|||||||
fschat=0.1.10
|
fschat=0.1.10
|
||||||
llama-index=0.5.27
|
llama-index=0.5.27
|
||||||
pymysql
|
pymysql
|
||||||
|
unstructured==0.6.3
|
||||||
|
pytesseract==0.3.10
|
Loading…
Reference in New Issue
Block a user