Tech: Fix Config to enable Inference API (#15)
Browse files- tech: update config to enable inference (7d08383022b8d98de1c37709120aff0574580f37)
1234567891011121314151617181 unmodified line20212223{"model_type": "lstm","vocab_size": 10000,"embedding_dim": 128,"hidden_size": 64,"num_layers": 2,"dropout_rate": 0.2,"max_sequence_length": 150,"batch_size": 8,"epochs": 50,"loss_function": "sparse_categorical_crossentropy","optimizer": "adam","metrics": ["accuracy"],"train_data_size": 5000,"categories": ["Lifestyle",1 unmodified line"Food & Dining","Others"]}1234567891011121314151617181 unmodified line20212223{"model_type": "lstm","base_model": "LSTM","library_name": "tensorflow","vocab_size": 500,"embedding_dim": 64,"hidden_size": 64,"num_layers": 2,"dropout_rate": 0.2,"max_sequence_length": 10,"batch_size": 8,"epochs": 50,"loss_function": "sparse_categorical_crossentropy","optimizer": "adam","metrics": ["accuracy"],"train_data_size": 5000,"categories": ["Lifestyle",1 unmodified line"Food & Dining","Others"]}
config.json+7-7