NSFW filter adjustment

adjusted the nsfw filter prediction to be better
This commit is contained in:
crckrbrrs 2023-05-04 19:55:03 +03:00 committed by GitHub
parent 90d7ea370e
commit 8c9f977247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ history = model.fit(
steps_per_epoch=len(ds_train)
)
model.predict(["xxx 🍑"])
model.predict(["xxx 🍑 🇫🇷"])
preds = X_val.processed_text.apply(apply_model)
print(classification_report(y_val, preds >= 0.90, digits=4))