You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,12 @@ Both web chat and Twitch TV chatbot are implemented for Detox testing. ( Don't e
14
14
15
15
Precision/Recall/F1-Score : Shuffled the training set and took 20% of it as comparsion using scikit-learn's classification_report, and here is the result. The data can vary slightly every time and also depends on what kind of dataset is used for training.
16
16
17
+
17
18
|| precision | recall | f1-score | support |
18
-
|-----------------------------------------------|
19
-
| 0 | 0.94 | 1.00 | 0.97 | 28629 |
20
-
| 1 | 0.95 | 0.48 | 0.64 | 3286 |
21
-
|avg/total| 0.94 | 0.94 | 0.94 | 31915 |
19
+
-----|-----------|--------|----------|----------
20
+
0 | 0.94 | 1.00 | 0.97 | 28629
21
+
1 | 0.95 | 0.48 | 0.64 | 3286
22
+
avg/total| 0.94 | 0.94 | 0.94 | 31915
22
23
23
24
24
25
### Initialization process
@@ -47,7 +48,7 @@ A few customizations are done here.<br/>
47
48
48
49
## Quick startup & test by web chat
49
50
50
-
The Detox and its webchat app is deployed on Heroku. (https://uiuc-cs410-detox.herokuapp.com)[https://uiuc-cs410-detox.herokuapp.com] <br/>
51
+
The Detox and its webchat app is deployed on Heroku. [https://uiuc-cs410-detox.herokuapp.com](https://uiuc-cs410-detox.herokuapp.com) <br/>
51
52
Just open the url from your web browser, and try chat. It's ugly webchat but actually functioning for multi chat. Try open a few more tab on your browser and see how toxic classifier works. For any toxic chat that Detox recoginze, the messsage will be displayed in red with "toxic" prefix. **Recommended** if you only need to test how the classifier works.
52
53
53
54

@@ -78,7 +79,7 @@ One possible problem is, the Detox requires lots of memory during the training a
78
79
79
80
### 2. Use pre-built Docker image
80
81
81
-
Just in case you have a problem with building the docker image in your local, you can download pre-built image from (here)[https://hub.docker.com/r/freesoft/uiuc-cs410-fall2018].<br/>
82
+
Just in case you have a problem with building the docker image in your local, you can download pre-built image from [here](https://hub.docker.com/r/freesoft/uiuc-cs410-fall2018).<br/>
82
83
To pull the image, run
83
84
84
85
```
@@ -116,7 +117,7 @@ It will also create a file with same channel name that Chatbox connected(`<chann
116
117
Parameter explanation:
117
118
118
119
*`<username>` : Your username on Twitch.
119
-
*`<client id>` : visit https://glass.twitch.tv/ and login with your own Twitch account. Once you create new app, you'll be able to get Client ID on Dashboard -> App section. <br/>
120
+
*`<client id>` : visit [https://glass.twitch.tv/](https://glass.twitch.tv/) and login with your own Twitch account. Once you create new app, you'll be able to get Client ID on Dashboard -> App section. <br/>
120
121
*`<oauth2 access token>` : visit [here](https://twitchapps.com/tmi/#access_token=flwh72scl6503e6bs2xnwl6g6l5jeu&scope=chat%3Aread+chat%3Aedit+channel%3Amoderate+chat_login&token_type=bearer) and click "Connec with Twitch", and use it for `<oauth2 access token>`.
121
122
*`<channel name>` : TwitchTV channel name you'd like to deploy Moira. Use the channel name you can check from web browser's url, which is generally all lowercase regardless of what you can see on twitch user's dashboard.
122
123
@@ -137,4 +138,4 @@ First line should start with following header title,
137
138
and from 2nd line you can use your own data. The engine doesn't care much about the value in the "id" part and add whatever chat logs you'd like to test.
138
139
139
140
Training data file has similar format, but it has additional CSV column that needs to be pre-labeled by human so that it can be used for traning purpose.
0 commit comments