Skip to content

Commit

Permalink
hardcode optimal hyperparams for embeddings
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjanovsky committed Nov 23, 2023
1 parent 68b1c2d commit 14df232
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sec_certs/model/references_nlp/feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ def _build_transformer_embeddings(
segments,
prec_recall_metric,
mode=mode,
n_iterations=34,
n_epochs=1,
learning_rate=0.01,
n_iterations=8,
n_epochs=2,
learning_rate=1.23e-5,
batch_size=16,
segmenter_metric="f1",
segmenter_metric="balanced_accuracy",
ensemble_soft_voting_power=2,
show_progress_bar=False,
)
Expand Down

0 comments on commit 14df232

Please sign in to comment.