Closed Th3G33k closed 4 months ago
Thanks! Are these methods present in the python version of the image feature extraction pipeline? If so, can you please link to the original documentation? If not, please note that we're trying to match the python API as closely as possible, and may make it difficult to merge the PR.
I don't think there in an equivalent in Python transformers.
However, I think it would be really handful to have those fonctions directly into the library transformers.js image feature extraction pipeline.
It's used in hugging face spaces and in examples model code
To not differ from the Python library, I will add the custom pipeline separetely, with register_pipeline. #684
Add
get_text_embeddings
andget_similarities
methods toImageFeatureExtractionPipeline