Run this model with HF Jobs

Run intfloat/multilingual-e5-large on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/intfloat/multilingual-e5-large. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/intfloat/multilingual-e5-large on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

How multilingual-e5-large can be used as a standalone service to support Python like OpenAIEmbeddings?

#33
by chenkun - opened

Hi,

How multilingual-e5-large can be used as a standalone service to support Python like OpenAIEmbeddings?
(Like FastChat, but multilingual-e5-large is not in the list of models supported by FastChat.)

My current deployment method is HuggingFaceEmbedding, but it cannot be shared between multiple programs:

embedding = HuggingFaceEmbeddings(
    model_name='xxx'
)

You can build a Flask application to serve the model as API and call API in other programs

Hi @TungLam , could you give me a specific code example or tutorial link? Thank you.

Sign up or log in to comment