Learn how to integrate custom embedding models with Pixeltable
Pixeltable provides extensive built-in support for popular embedding models, but you can also easily integrate your own custom embedding models. This guide shows you how to create and use custom embedding functions for any model architecture.
Here’s a simple example using a custom BERT model:
The quick start example works but isn’t production-ready. Below we’ll cover how to optimize your custom embedding UDFs.
Always cache your model instances to avoid reloading on every call:
Use Pixeltable’s batching capabilities for better performance:
Always implement proper error handling in production UDFs:
Complete UDF documentation
More embedding examples
Find embedding models
Learn how to integrate custom embedding models with Pixeltable
Pixeltable provides extensive built-in support for popular embedding models, but you can also easily integrate your own custom embedding models. This guide shows you how to create and use custom embedding functions for any model architecture.
Here’s a simple example using a custom BERT model:
The quick start example works but isn’t production-ready. Below we’ll cover how to optimize your custom embedding UDFs.
Always cache your model instances to avoid reloading on every call:
Use Pixeltable’s batching capabilities for better performance:
Always implement proper error handling in production UDFs:
Complete UDF documentation
More embedding examples
Find embedding models