Wandb logging in example only logs one metrics data-point

I have a wandb logging issue when running the run_ner.py example. Wandb logs only one data-point to its metrics graphs although i have set the log steps to be 10 (of around 100 steps). I have also set report_to to “wandb”. This is all via the command line switches, not in code.

Using hand written scripts logs the details correctly. Maybe the details are not passed correctly from command line to code?

Any help would be appreciated.

To answer my own question: If you use the Trainer you would want to pass in the value evaluation_strategy = 'steps'. This adds the additional logging to wandb.

3 Likes