mirror of
https://github.com/karpathy/nanochat.git
synced 2025-12-06 04:12:13 +00:00
get report right
This commit is contained in:
parent
e872e798c4
commit
370de99bbf
|
|
@ -71,7 +71,7 @@ if ddp_rank == 0:
|
|||
|
||||
# Log to report
|
||||
from nanochat.report import get_report
|
||||
get_report().log(section="Base model loss", data=[
|
||||
get_report(exp_name=model_tag).log(section="Base model loss", data=[
|
||||
{
|
||||
"train bpb": bpb_results["train"],
|
||||
"val bpb": bpb_results["val"],
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ print0(f"Minimum validation bpb: {min_val_bpb:.4f}")
|
|||
|
||||
# Log to report
|
||||
from nanochat.report import get_report
|
||||
get_report().log(section="Base model training", data=[
|
||||
get_report(exp_name=run).log(section="Base model training", data=[
|
||||
user_config, # CLI args
|
||||
{ # stats about the training setup
|
||||
"Number of parameters": num_params,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user