Venkat.R commited on
Commit ·
57f6953
1
Parent(s): 975257f
tech: update config to enable inference
Browse files1234567891011121314151617181920212223{"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","Movies & Entertainment","Food & Dining","Others"]}1234567891011121314151617181920212223242526272829303132333435{"model_type": "custom","architectures": ["LSTM"],"library_name": "tensorflow","task_specific_params": {"text-classification": {"vocab_size": 500,"embedding_dim": 64,"hidden_size": 64,"num_layers": 2,"dropout_rate": 0.2,"max_sequence_length": 10}},"training_params": {"batch_size": 8,"epochs": 50,"loss_function": "sparse_categorical_crossentropy","optimizer": "adam","metrics": ["accuracy"]},"train_data_size": 5000,"id2label": {"0": "Lifestyle","1": "Movies & Entertainment","2": "Food & Dining","3": "Others"},"label2id": {"Lifestyle": 0,"Movies & Entertainment": 1,"Food & Dining": 2,"Others": 3}}
config.json+32-20