From 1a6f1552d2cc18c18e58886153aa235dcc28a5e3 Mon Sep 17 00:00:00 2001 From: Stevezhangz Date: Mon, 26 Apr 2021 13:08:41 +0800 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3036558..92fea93 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ Next, I will enrich the language generation as well as conversation process. # How to use -### Bash code(preparation) +## preparation: +### if your develop env is unbuntu, plz load the terminal, and input the fellow bash codes. sudo apt-get install ipython3 sudo apt-get install pip @@ -22,6 +23,21 @@ Next, I will enrich the language generation as well as conversation process. git clone https://github.com/stevezhangz/BERT-pytorch.git cd BERT-pytorch pip install -r requirements.txt + +### for win users, if u utlize the python IDEs such as pycharm, please find terminals of pycharm, and input the bash codes as shown in fellows: + + pip install git + git clone https://github.com/stevezhangz/BERT-pytorch.git + cd BERT-pytorch + pip install -r requirements.txt + +part of you may use anaconda3, so you have to load "anaconda3 prompt" and input fellow bash codes: + + conda install pip + conda install git + git clone https://github.com/stevezhangz/BERT-pytorch.git + cd BERT-pytorch + pip install -r requirements.txt I prepare a demo for model training(your can select poem or conversation in the source code) run train_demo.py to train -- GitLab