Use embeddings etc. with php
Hello all,I know that there will be thousands of reasons to not ask this question / not to do what I want to do, but…As anyone ever tried to use all the Huggingface stuff like embeddings, transformers, models with PHP instead of Python?The reason: I want to integrate some of the stuff from here into my work but we have at most only a PHP stack here. Most of our applications are in PHP and I want to use all the nice LLM stuff with PHP…Any ideas, tipps? Anything is welcome!
2024-03-15T11:13:43Z
Check out this library I wrote:GitHub - CodeWithKyrian/transformers-php: Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.It was designed to be functionally equivalent to the HuggingFace Transformers for Python and Xenova Transformers.js, but for PHP. It supports only NLP tasks for now, but depending on what you need it for, it can serve