You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the RubixML/Sentiment train.php example, it creates a new model with:
$estimator = new PersistentModel(
new Pipeline([
new TextNormalizer(),
new WordCountVectorizer(10000, 0.00008, 0.4, new NGram(1, 2)),
new TfIdfTransformer(),
new ZScaleStandardizer(),
], new MultilayerPerceptron([
new Dense(100),
new Activation(new LeakyReLU()),
new Dense(100),
new Activation(new LeakyReLU()),
new Dense(100, 0.0, false),
new BatchNorm(),
new Activation(new LeakyReLU()),
new Dense(50),
new PReLU(),
new Dense(50),
new PReLU(),
], 256, new AdaMax(0.0001))),
new Filesystem('sentiment.rbx', true)
);
If the file sentiment.rbx doesn't exist, it creates it.
Is there a way to start a training session from an existing model instead of from scratch? I save my best performing model and I was hoping I could get even better models by tweaking them instead of creating new ones each time.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the RubixML/Sentiment train.php example, it creates a new model with:
If the file sentiment.rbx doesn't exist, it creates it.
Is there a way to start a training session from an existing model instead of from scratch? I save my best performing model and I was hoping I could get even better models by tweaking them instead of creating new ones each time.
Beta Was this translation helpful? Give feedback.
All reactions