huggingface.js
huggingface.js copied to clipboard
the `ProcessorMixin` class is not found in the huggingface.js library
Hi,
I was migrating one of the codebase to TypeScript and found out that ProcessorMixin class is not implemented yet in huggingface. Or am I missing it?
Which codebase are you referring to?
It is python version. https://github.com/huggingface/transformers/blob/main/src/transformers/processing_utils.py#L505
maybe cc @xenova, not sure if it makes sense in JS or not, tbh
@yusuf-eren Could you maybe explain your use-case? For example, if you're trying to load and run a certain processor in typescript, you should be able to with Transformers.js.