Discover and explore top open-source AI tools and projects—updated daily.
PHP toolkit for machine learning projects
Top 48.8% on SourcePulse
TransformersPHP provides PHP developers with a toolkit to integrate state-of-the-art machine learning models into their applications. It offers a familiar API, mirroring Python's Hugging Face Transformers library, enabling tasks like text generation, summarization, and translation.
How It Works
This library leverages ONNX Runtime for high-performance model execution, allowing PHP applications to utilize models converted from PyTorch or TensorFlow via 🤗 Optimum. It features a high-level pipeline
API that abstracts away preprocessing and postprocessing steps, simplifying model integration.
Quick Start & Requirements
composer require codewithkyrian/transformers
extension=ffi
and ffi.enable=true
are set in php.ini
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 days ago
1 day