C3W2_Assignment Diving deeper into the BBC News archive

I have problem with ValueError: Could not interpret initializer identifier: 120, when I run the model.fit. This is my code:

START CODE HERE

model = tf.keras.Sequential([
    tf.keras.layers.Embedding(NUM_WORDS, EMBEDDING_DIM, MAXLEN),
    tf.keras.layers.GlobalAveragePooling1D(),
    tf.keras.layers.Dense(32, activation = 'relu', kernel_initializer=tf.keras.initializers.Zeros()), 
    tf.keras.layers.Dense(5, activation = 'softmax')
])

model.compile(loss ='sparse_categorical_crossentropy',
optimizer='adam',
metrics=['accuracy'])

### END CODE HERE

I failed when I tried to run this.

NOTE: Please do not edit this cell

model = create_model(NUM_WORDS, EMBEDDING_DIM, MAXLEN)

history = model.fit(train_padded_seq, train_label_seq, epochs=30, validation_data=(val_padded_seq, val_label_seq))

Hi @ML23-0195_Wilianto_G

I believe this question is not for Natural Language Processing specialization.