ierhon commited on
Commit
3a28199
1 Parent(s): 29e9c37

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -32,4 +32,12 @@ while True:
32
  message = input("Message: ")
33
  response = test.generate(message, verbose=0)
34
  print(f"Bot: {response}")
35
- ```
 
 
 
 
 
 
 
 
 
32
  message = input("Message: ")
33
  response = test.generate(message, verbose=0)
34
  print(f"Bot: {response}")
35
+ ```
36
+ ## todset.py
37
+ This file converts a file into a dataset used by `train.py`. The file has lines, each of them has two parts, before "→" is the input and after is the output. Here's an example:
38
+ ```txt
39
+ Hey→Hello.
40
+ Hi.→Hello.
41
+ How are you?→I'm fine. How's your day?
42
+ ```
43
+ This can also be used to classify text, just instead of the outputs use the class names.