]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : add Phi-4-mini support (supersede #12099) (#12108)
authorXuan-Son Nguyen <redacted>
Fri, 28 Feb 2025 11:44:11 +0000 (12:44 +0100)
committerGitHub <redacted>
Fri, 28 Feb 2025 11:44:11 +0000 (12:44 +0100)
commitc43a3e7996e585e2addde1e44057a4f3cdbadef8
tree0669cbbc4b1877974ae13ed2da01915d83b31e08
parent84d5f4bc195b9540fcb902d869015fba7ef6baa4
llama : add Phi-4-mini support (supersede #12099) (#12108)

* Added Phi-4-mini-instruct support

* Update regex per ngxson

* Change the vocab base to Xenova/gpt-4o

* fix conversion update script

* no need to check longrope

* minor style fix

* fix python style

---------

Co-authored-by: Nicholas Sparks <redacted>
convert_hf_to_gguf.py
convert_hf_to_gguf_update.py
include/llama.h
models/ggml-vocab-gpt-4o.gguf.inp [new file with mode: 0644]
models/ggml-vocab-gpt-4o.gguf.out [new file with mode: 0644]
src/llama-model.cpp
src/llama-vocab.cpp