Update README.md
Browse files
README.md
CHANGED
@@ -102,51 +102,4 @@ The testing set containing 633 annotated hate speech data used to analyze perfor
|
|
102 |
|
103 |
**Overall Hamming Loss:** 3.79%
|
104 |
|
105 |
-
## 🛠️ Installation
|
106 |
-
|
107 |
-
### 📦 Clone with git-lfs
|
108 |
-
Since this repo contains large data files (>= 50MB), you need to first download and install a git plugin called git-lfs for versioning large files, and set up Git LFS using command git lfs install in console, in order to fully clone this repo.
|
109 |
-
|
110 |
-
### 🏃 How to run
|
111 |
-
|
112 |
-
#### Setup model
|
113 |
-
|
114 |
-
- Clone the repository:
|
115 |
-
```
|
116 |
-
git clone https://github.com/kenth9p3/mlthsc-thesis.git
|
117 |
-
```
|
118 |
-
- Create a virtual environment:
|
119 |
-
```
|
120 |
-
# Windows
|
121 |
-
python -m venv venv
|
122 |
-
|
123 |
-
# Linux
|
124 |
-
python3 -m venv venv
|
125 |
-
```
|
126 |
-
- Activate virtual environment:
|
127 |
-
```
|
128 |
-
# Windows
|
129 |
-
source venv/Scripts/activate
|
130 |
-
|
131 |
-
# Linux
|
132 |
-
source venv/bin/activate
|
133 |
-
```
|
134 |
-
- Install dependencies:
|
135 |
-
```
|
136 |
-
pip install -r requirements.txt
|
137 |
-
```
|
138 |
-
- Run app:
|
139 |
-
```
|
140 |
-
python ./server.py
|
141 |
-
```
|
142 |
-
|
143 |
-
#### Setup user interface
|
144 |
-
|
145 |
-
- Run `index.html` in the browser
|
146 |
-
|
147 |
-
- Input Tagalog hate speech in text box or choose one of the examples
|
148 |
-
|
149 |
-
- Click Analyze
|
150 |
-
|
151 |
-
- Save results
|
152 |
|
|
|
102 |
|
103 |
**Overall Hamming Loss:** 3.79%
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|