π€ https://github.com/nicolay-r/nlp-thirdgate/blob/master/llm/transformers_phi4.py
π https://github.com/nicolay-r/nlp-thirdgate/blob/master/tutorials/llm_phi4.py
Findings on adaptation: I was able to reproduce only the pipeline based model launching. This version is for textual llm only. Microsoft also released multimodal Phi-4 which is out of scope of this wrapper.
π nlp-thirdgate: https://lnkd.in/ef-wBnNn