]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
finetune : fix output formatting in print_params (#4653)
authorDaniel Bevenius <redacted>
Wed, 27 Dec 2023 14:16:55 +0000 (15:16 +0100)
committerGitHub <redacted>
Wed, 27 Dec 2023 14:16:55 +0000 (16:16 +0200)
commit879b690a9e1eb1ab0a29b58236fc76978fb4d902
tree0c920afb991c6fce9d26e24a3b45562942b5574f
parentb47879b0dda43f2d26415e88b6840295817e552a
finetune : fix output formatting in print_params (#4653)

This commit fixes the output formatting in the print_params function
which currently looks like this:
```console
print_params: n_vocab:   32000
print_params: n_ctx:     128
print_params: n_embd:    4096
print_params: n_ff:      11008
print_params: n_head:    32
print_params: n_head_kv: 32
print_params: n_layer:   32
print_params: norm_rms_eps          : 0.000010
print_params: rope_freq_base        : 10000.000000
print_params: rope_freq_scale       : 1.000000
```
With this comit the output will look like this:
```console
print_params: n_vocab               : 32000
print_params: n_ctx                 : 128
print_params: n_embd                : 4096
print_params: n_ff                  : 11008
print_params: n_head                : 32
print_params: n_head_kv             : 32
print_params: n_layer               : 32
print_params: norm_rms_eps          : 0.000010
print_params: rope_freq_base        : 10000.000000
print_params: rope_freq_scale       : 1.000000
```

Signed-off-by: Daniel Bevenius <redacted>
examples/finetune/finetune.cpp