transformers-php
transformers-php copied to clipboard
Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.
### Your question i have a problem with i want to get a model i have ffi install and enabled in php.ini but when I run the command to download...
### Type of feature request 🌟New Model ### Feature description It would be great to support simple LinearSVM models. I'm aware its not a transformer model but there are ONNX...
### System Info Running on my Mac Mini (M2 chip) macOS Sonoma (14.6.1). This occurs in PHP 8.2, but PHP 8.3 seems unaffected. ### PHP Version 8.2.19 ### Environment/Platform -...
### System Info ``` uname -a Linux laptop 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ``` ``` php -v PHP 8.3.6 (cli) (built:...
### Your question Good morning, First of all thanks for building this awesome repository! I was wondering if you could help me out with a problem I'm facing. I'm quite...
### Your question While reading [your article about background removal with PHP](https://codewithkyrian.com/p/building-a-background-removal-tool-with-laravel-and-transformersphp) I got to the following conclusion: The [code in python](https://huggingface.co/briaai/RMBG-1.4#usage) is not similar to the PHP code at...
### System Info Linux Mint. `uname -a`: > Linux laptop 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux "codewithkyrian/transformers": "^0.5.3" ### PHP Version 8.3.6...
This is just a minor question, but I'm curious about the syntax being used to invoke objects as methods. Example: ```php $outputs = $this->model->__invoke($modelInputs); ``` Is it intentional to be...
### Your question [NumPower](https://numpower.org/) allows the usage of GPU for manipulating arrays. Since this component uses Tensors underd the hood, maybe this extension could be helpful for the performance. ###...
### System Info Linux, Debian 11, PHP 8.2 ### PHP Version 8.2 ### Environment/Platform - [ ] Command-line application - [X] Web application - [ ] Serverless - [ ]...