huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
135.13k stars 27.05k forks source link

Add JinaBert Model #27035

Open Jackmin801 opened 1 year ago

Jackmin801 commented 1 year ago

Model description

Jina AI has just released an open source embedding model that can handle 8k sequence on huggingface:

These models however, currently require the trust_remote_code flag as they reference a custom model implementation specified at https://huggingface.co/jinaai/jina-embedding-v2/tree/main. It should be relatively simple to upstream the model implementation as it is already implemented to work when trust_remote_code is passed.

Open source status

Provide useful links for the implementation

https://huggingface.co/jinaai/jina-embedding-v2/tree/main

rezacopol commented 11 months ago

any update on this?

ArthurZucker commented 11 months ago

Hey! I think the model authors like it as is, and the model is available in TEI 🥳

xin007-kong commented 6 months ago

Has this issue been resolved?

joelpaulkoch commented 4 days ago

Is there any chance this will happen? Now that Jina Embeddings v3 is available and superior it might be alright for the authors?