Skip to content

Commit aa5291c

Browse files
authored
Merge pull request #3 from freesoft/develop
update README
2 parents a848292 + bc28e1a commit aa5291c

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ Both web chat and Twitch TV chatbot are implemented for Detox testing. ( Don't e
1414

1515
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.
1616

17+
1718
| | 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
2223

2324

2425
### Initialization process
@@ -47,7 +48,7 @@ A few customizations are done here.<br/>
4748

4849
## Quick startup & test by web chat
4950

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/>
5152
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.
5253

5354
![diagram 2](/diagram/overview_chat.png)
@@ -78,7 +79,7 @@ One possible problem is, the Detox requires lots of memory during the training a
7879

7980
### 2. Use pre-built Docker image
8081

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/>
8283
To pull the image, run
8384

8485
```
@@ -116,7 +117,7 @@ It will also create a file with same channel name that Chatbox connected(`<chann
116117
Parameter explanation:
117118

118119
* `<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/>
120121
* `<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>`.
121122
* `<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.
122123

@@ -137,4 +138,4 @@ First line should start with following header title,
137138
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.
138139

139140
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.
140-
141+

0 commit comments

Comments
 (0)