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
I notice that you add the whole word embedding to the optimizer instead of just prompts?
# Add word embeddings to the optimizeroptimizer=AdamW([{'params': model.base_model.embeddings.word_embeddings.parameters()}], lr=args.learning_rate, correct_bias=False)
Would the embedding of other words also be updated?
The text was updated successfully, but these errors were encountered:
I notice that you add the whole word embedding to the optimizer instead of just prompts?
Would the embedding of other words also be updated?
The text was updated successfully, but these errors were encountered: