Anyscale
Anyscale Endpoints Handler
This integration allows you to connect your AnyscaleEndpoints models with MindsDB as AI tables through the AnyscaleEndpoints
ML engine.
The implementation is based on the engine for the OpenAI API, as Anyscale conforms to it.
There are a few notable differences, though:
- The supported models are completely different.
- All models supported by AnyscaleEndpoints are open source. A full list can be found here for inference-only, under section “Supported models”.
- For fine-tuning, not every model is supported. You can find a list here, under section “Fine Tuning - Supported models”.
- Please check both lists regularly, as they are subject to change. If you try to fine-tune a model that is not supported, you will get a warning and subsequently an error from the Anyscale endpoint.
- This integration only offers chat-based text completion models, either for “normal” text or specialized for code.
- When providing a description, this integration returns the respective HuggingFace model card.
- Fine-tuning requires that your dataset complies with the chat format. That is, each row should contain a
context
and arole
. Thecontext
is the text that is the message in the chat, and therole
is who authored it (system
,user
orassistant
, where the last one is the model). For more information, please check the fine tuning guide in the Anyscale Endpoints docs.
Inference example
Here is an example to produce sentiment analysis predictions on some text: