ierhon commited on
Commit
12b0423
·
1 Parent(s): bd0541a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -24,7 +24,7 @@ Hello.
24
  ## train.py
25
  To start training, use `python3 train.py` in the terminal. By default, it reads a file `dataset.json` in the current directory (you can change it on the line 11). This will save the model to `chatbot.keras`, you can change this on the line 52. **Warning** The model file name should always end with `.keras`, until if it's outdated.
26
  ## test.py
27
- To use the model, run `python3 test.py`, it will open a chat to test this bot. To use this chatbot in your code, put the `chatbot.keras` and the `test.py` (it's better to rename it) into your project directory. Then, to use the model, just `import test` or how you named the file, and use `test.generate("text")`. Here's an example of a chat.
28
  ```py
29
  import test
30
 
 
24
  ## train.py
25
  To start training, use `python3 train.py` in the terminal. By default, it reads a file `dataset.json` in the current directory (you can change it on the line 11). This will save the model to `chatbot.keras`, you can change this on the line 52. **Warning** The model file name should always end with `.keras`, until if it's outdated.
26
  ## test.py
27
+ To use the model, run `python3 test.py`, it will open a chat to test this bot. To use this chatbot in your code, copy the `chatbot.keras`, `model_settings.py` and the `test.py` file (it's better to rename it) into your project directory. Then, to use the model, just `import test` or how you named the file, and use `test.generate("text")`. Here's an example of a chat.
28
  ```py
29
  import test
30