ketir's picture
Create config.json
4d44cc2 verified
Raw History Blame Contribute Delete
1.04 kB
Invalid JSON:Expected double-quoted property name in JSONat line 41, column 5
{
"architectures": ["BiLSTM"],
"model_type": "text-classification",
"task_specific_params": {
"text-classification": {
"model_class": "TensorFlow"
}
},
"framework": "tf",
"pipeline_tag": "text-classification",
"language": ["id"],
"tags": ["emotion-classification", "indonesian", "bilstm", "tensorflow"],
"library_name": "tensorflow",
"license": "apache-2.0",
"datasets": ["emotion-dataset"],
"widget": [
{
"text": "Saya sangat bahagia hari ini!"
},
{
"text": "Aku merasa sedih sekali"
},
{
"text": "Mengapa ini terjadi? Aku marah!"
}
],
"model_details": {
"max_sequence_length": 100,
"vocab_size": 10000,
"embedding_dim": 128,
"hidden_units": 64,
"dropout": 0.5,
"num_labels": 5,
"labels": {
"0": "angry",
"1": "fear",
"2": "happy",
"3": "love",
"4": "sad",
}
},
"preprocessing": {
"tokenizer_type": "custom",
"padding": "post",
"truncation": true,
"max_length": 100
}
}