mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-14 15:18:55 +02:00
NSFW filter adjustment
adjusted the nsfw filter prediction to be better
This commit is contained in:
parent
90d7ea370e
commit
8c9f977247
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user