ketir commited on
Commit
4d44cc2
·
verified ·
1 Parent(s): f758016

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +49 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": ["BiLSTM"],
3
+ "model_type": "text-classification",
4
+ "task_specific_params": {
5
+ "text-classification": {
6
+ "model_class": "TensorFlow"
7
+ }
8
+ },
9
+ "framework": "tf",
10
+ "pipeline_tag": "text-classification",
11
+ "language": ["id"],
12
+ "tags": ["emotion-classification", "indonesian", "bilstm", "tensorflow"],
13
+ "library_name": "tensorflow",
14
+ "license": "apache-2.0",
15
+ "datasets": ["emotion-dataset"],
16
+ "widget": [
17
+ {
18
+ "text": "Saya sangat bahagia hari ini!"
19
+ },
20
+ {
21
+ "text": "Aku merasa sedih sekali"
22
+ },
23
+ {
24
+ "text": "Mengapa ini terjadi? Aku marah!"
25
+ }
26
+ ],
27
+ "model_details": {
28
+ "max_sequence_length": 100,
29
+ "vocab_size": 10000,
30
+ "embedding_dim": 128,
31
+ "hidden_units": 64,
32
+ "dropout": 0.5,
33
+ "num_labels": 5,
34
+ "labels": {
35
+ "0": "angry",
36
+ "1": "fear",
37
+ "2": "happy",
38
+ "3": "love",
39
+ "4": "sad",
40
+
41
+ }
42
+ },
43
+ "preprocessing": {
44
+ "tokenizer_type": "custom",
45
+ "padding": "post",
46
+ "truncation": true,
47
+ "max_length": 100
48
+ }
49
+ }