> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom embedding model training

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

[localhost link]: http://localhost:3000/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/overview

[mintlify link]: https://doc.lucidworks.com/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/overview

[old doc.lw link]: https://doc.lucidworks.com/lw-platform/ai/k1zkfn

Lucidworks AI custom embedding model training lets you train and deploy custom models using the [Custom model training user interface](/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/custom-model-training-user-interface) or the [Lucidworks AI Models API](/docs/lw-platform/lw-ai/lw-ai-apis/lw-ai-models-api).

<LwTemplate />

## Training data

Custom embedding model training uses the following types of data:

* Signals acquired from user interactions on your website
* Customer questions and answers your organization collects from logs and forums your organization collects
* Information from documents obtained from queries on your website
* Datasets and other information labeled on your website

For more detailed information, see [use case training data](/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/custom-embedding-model-training-data).

## Custom model training process diagram

This diagram displays the process flow for custom model training.

<img src="https://mintcdn.com/lucidworks/GywXWQxILiA0B5jK/assets/images/lw-platform/lw-ai/lw-ai-custom-model-training-diagram.png?fit=max&auto=format&n=GywXWQxILiA0B5jK&q=85&s=7431e9d6ed4e568fe6f0841844d20b42" alt="Custom model training process diagram" width="1408" height="720" data-path="assets/images/lw-platform/lw-ai/lw-ai-custom-model-training-diagram.png" />

## RNN models

Recurrent neural network (RNN) models are excellent for understanding sequential data such as text, logs, conversations, and user behavior patterns. This provides comprehensive and accurate predictions.

Lucidworks AI supports the following types of recurrent neural network (RNN) models:

* **General.** The general RNN model is typically used by knowledge management sites that contain information, such as news or documentation. Time-efficient and accurate information based on semantic understanding enhances the user search experience.

* **ecommerce.** An ecommerce RNN model is typically used by sites that provide products for purchase. For B2B organizations, these models effectively analyze long-term customer account activity, which provides information to enhance customer product relevancy. For B2C organizations, one use of ecommerce RNN models is to provide the ability to search real-time product recommendations, which improves conversions.

For more detailed information, see [RNN models](/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/custom-embedding-rnn-models).

## Transformer RNN models

Lucidworks AI supports the transformer with the RNN head model, which is a hybrid model that combines the extensive semantic understanding of transformer encoders with client data tuned and more compact output of the RNN head model.

Best practices recommend that only B2B and knowledge management organizations use transformer RNN models. B2B organizations receive accurate tuned relevance in addition to improved associations of domain specific terms and product correlations. Knowledge Management organizations can implement recommenders based on `user_sessions-item` or `item-to-item` where the item could be content like a document.

For more detailed information, see [Transformer RNN models](/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/custom-embedding-transformer-rnn-models).

## Custom configuration

Custom configuration parameters can be used to train a custom model using either the [Custom model training user interface](/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/custom-model-training-user-interface) or the [Lucidworks AI Models API](/docs/lw-platform/lw-ai/lw-ai-apis/lw-ai-models-api).

For more detailed information, see [Custom configuration](/docs/lw-platform/lw-ai/lw-ai-custom-embedding-model-training/custom-embedding-model-configuration).
