]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
py : fix StableLM conversion after config.json changes (#5703)
authorAnas Ahouzi <redacted>
Sun, 25 Feb 2024 09:54:04 +0000 (10:54 +0100)
committerGitHub <redacted>
Sun, 25 Feb 2024 09:54:04 +0000 (11:54 +0200)
commit69917dfa55674c608360638bb4d6a12a315e2810
tree76bf37a8e692bd3109787ee045350abba93b48a8
parent9e359a4f47c1b2dceb99e29706c9f7403d32ab5e
py : fix StableLM conversion after config.json changes (#5703)

* Fix issues during StableLM models conversion

* Fix hard coded layer_norm_eps

* Support layer_norm_eps for LlavaStableLM

Co-authored-by: Jared Van Bortel <redacted>
* Add missing parenthesis

Co-authored-by: Jared Van Bortel <redacted>
* Support rotary_factor for LlavaStableLM

Co-authored-by: Jared Van Bortel <redacted>
* fix typo

* Add StableLMEpochForCausalLM for safety

Co-authored-by: compilade <redacted>
* Add StableLMEpochForCausalLM for safety 2

Co-authored-by: compilade <redacted>
---------

Co-authored-by: Jared Van Bortel <redacted>
Co-authored-by: Jared Van Bortel <redacted>
Co-authored-by: compilade <redacted>
convert-hf-to-gguf.py