nextcloud / translate

A Machine translation provider using Opus models by University of Helsinki running locally on CPU
11 stars 1 forks source link

add notice regarding AIO #33

Closed szaimen closed 11 months ago

marcelklehr commented 11 months ago

Does localAI actually have LLMs that are multilingual?

szaimen commented 11 months ago

Does localAI actually have LLMs that are multilingual?

I guess so see https://github.com/go-skynet/model-gallery/blob/main/index.yaml

marcelklehr commented 11 months ago

i heavily doubt it. To my knowledge there are no multilingual open source llms out there atm. integration_openai will simply query the llm to simulate machine translation, so this will fail with localAI, afaict

szaimen commented 11 months ago

I see. However the models of the translate app could potentially be used via local AI, right?

marcelklehr commented 11 months ago

However the models of the translate app could potentially be used via local AI, right?

I doubt it. How do you come to that conclusion?

szaimen commented 11 months ago

How do you come to that conclusion?

Because local AI uses debian as base. So why should it not be possible?

marcelklehr commented 11 months ago

Well, sure it can be implemented, but localAI only implements a subset of the models available on huggingface, AFAIK. See https://localai.io/model-compatibility/ - The Opus models by University Helsinki are using a Marian-NMT architecture which is not in that list.

szaimen commented 11 months ago

Well, sure it can be implemented, but localAI only implements a subset of the models available on huggingface, AFAIK. See localai.io/model-compatibility - The Opus models by University Helsinki are using a Marian-NMT architecture which is not in that list.

all right

marcelklehr commented 11 months ago

You could add the libretranslate container and integration to AIO, though.

szaimen commented 11 months ago

You could add the libretranslate container and integration to AIO, though.

ah you mean as community container? Good idea!