Streamlit code completed
Browse files- README.md +1 -1
- sent_model/config.json +8 -1
README.md
CHANGED
@@ -5,7 +5,7 @@ colorFrom: green
|
|
5 |
colorTo: gray
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.37.1
|
8 |
-
app_file:
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
---
|
|
|
5 |
colorTo: gray
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.37.1
|
8 |
+
app_file: main.py
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
---
|
sent_model/config.json
CHANGED
@@ -1 +1,8 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "CNNForSentimentAnalysis",
|
3 |
+
"num_classes": 2,
|
4 |
+
"max_length": 128,
|
5 |
+
"pretrained_model_name": "Davlan/naija-twitter-sentiment-afriberta-large",
|
6 |
+
"id2label": {"0": "negative", "1": "positive"},
|
7 |
+
"label2id": {"negative": 0, "positive": 1}
|
8 |
+
}
|