]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
py : cleanup the code
authorPavol Rusnak <redacted>
Wed, 29 Mar 2023 19:31:24 +0000 (21:31 +0200)
committerPavol Rusnak <redacted>
Fri, 31 Mar 2023 08:32:01 +0000 (10:32 +0200)
commitcbef542879962fdc491656cd0c8cadd65a5f1356
treeba31f66c0613411466b31c822fb5bac2b24c910a
parent9733104be5389ebb1ff05095eca2a70280cd875a
py : cleanup the code

- use f-strings where possible
- drop first param of encode/decode functions since "utf-8" is the default
convert-ggml-to-pth.py
convert-gpt4all-to-ggml.py
convert-gptq-to-ggml.py
convert-pth-to-ggml.py
convert-unversioned-ggml-to-ggml.py
migrate-ggml-2023-03-30-pr613.py