.task or tflitelm

#1
by VaLtEc-BoY - opened
LiteRT Community (FKA TFLite) org

Hello thank you to the l it community litert!
I would like to ask if it would be possible to make the model available in format task or tflitelm for the AI Edge Gallery application ? It would be a great help for anyone who wants to test and use it directly on their Android phone. Thank you in advance.

4 months later, any update on this?

LiteRT Community (FKA TFLite) org

The .task and .litertlm formats are for LLM models that can be run with LiteRT LM (or the older LLM Inference API). The AI Edge Gallery app is normally for LLMs and it typically uses LiteRT LM and therefore these formats.

EmbeddingGemma is a text embedding model and not an LLM . It produces a vector representations of text. It can be useful in conjunction with other models but it is not possible to chat with it as though it were an LLM. This library is an example of how this model could be used in an app.

Because it is not an LLM, we would need to create a new demo experience in the AI Edge Gallery app to showcase it. I will reach out to our product team to let them know that this is a user priority.

Sign up or log in to comment