clab / clab/dynet

Alternative for update=False for dynet.parameter

Open
#1,058 2 comments 0 reactions 0 assignees View on GitHub
moderate bug
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

I've used `dynet.parameter(regularization_term, update=False)` to accumulate a regularization term that should not be updated and to which I've added other penalty terms during a training step. `update=False` does no longer seem to work with the newest `dynet` version. How do I alternatively define a parameter that should not be updated? Is there a better way to define a regularizer in dynet?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported dynet.parameter(regularization_term, update=False) usage against the current API and inspect how the update flag is handled. Compare the current behavior with the requested non-updated parameter and regularizer use; done means documenting or validating a supported alternative.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.