State-of-the-art Machine Learning for PHP. Run Transformers natively in your PHP projects.
Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.
TransformersPHP is designed to be functionally equivalent to the Python library, while still maintaining the same level of performance and ease of use. This library is built on top of the Hugging Face's Transformers library, which provides thousands of pre-trained models in 100+ languages. It is designed to be a simple and easy-to-use library for PHP developers using a similar API to the Python library. These models can be used for a variety of tasks, including text generation, summarization, translation, and more.