Support LinearSVM models
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 models like this.
Motivation
https://huggingface.co/pirocheto/phishing-url-detection
Your contribution
Test
Have you tried manually instantiating \Codewithkyrian\Transformers\Utils\InferenceSession and calling the run method?
Have you tried manually instantiating
\Codewithkyrian\Transformers\Utils\InferenceSessionand calling therunmethod?
I can't recall - but to be clear, are you asking or are you saying it can be done that way?
I assume it's possible to do it that way. I never tried it. There are other ONNX Runtimes too, such as Ankane's one and ORT.
I don't think it makes a lot of sense to have the TransformersPHP package supporting models that are not transformers. 😅