CodeWithKyrian/transformers-php
A PHP library that brings Hugging Face transformer models (LLMs, text generation, translation) to PHP applications via ONNX Runtime.

Velocity · 7d
+0.9
★ / day
Trend
→steady
star history
TransformersPHP provides PHP developers with access to thousands of pre-trained transformer models from Hugging Face for tasks including text generation, summarization, and translation. The library mirrors the API of the Python Transformers library while running models through ONNX Runtime, a high-performance inference engine. Users can convert PyTorch or TensorFlow models to ONNX format and run them within PHP applications.