Discover and explore top open-source AI tools and projects—updated daily.
CodeWithKyrianPHP toolkit for machine learning projects
Top 48.2% 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/transformersextension=ffi and ffi.enable=true are set in php.ini.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 month ago
1 day
stanford-crfm
huggingface
guillaume-be
huggingface
explosion
huggingface