Skip to content

Commit

Permalink
]
Browse files Browse the repository at this point in the history
jcollopy-tulane committed Apr 29, 2024
1 parent 87b7abd commit 6507b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nlp/cli.py
Original file line number Diff line number Diff line change
@@ -234,7 +234,7 @@ def tokenize(sentences, max_length=100, padding='max_length'):
model.compile(
optimizer=optimizer,
loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True),
metrics = ["accuracy")
metrics = ["accuracy"])

model.fit(
x=train_dataset,

0 comments on commit 6507b05

Please sign in to comment.