What is a Large Commerce Model?
A Large Commerce Model, or LCM, is a generative AI model built to understand commerce. It learns from product information, shopper behavior, and context to understand what shoppers want and which products are relevant. For example, an LCM can help find products that match a shopper’s request, rank recommendations, or predict how likely a shopper is to purchase a product.How is an LCM different from a Large Language Model?
A Large Language Model, or LLM, primarily learns patterns in language. An LCM learns from commerce signals, including product catalogs, shopper interactions, and purchases. This helps T-Brain account for both what a product is and how shoppers interact with it.What can I use T-Brain for?
T-Brain supports four main capabilities:- Retrieval: Find relevant products for search results and recommendations.
- Prediction: Estimate outcomes such as product clicks and purchases.
- Ranking: Order organic products, sponsored products, or both according to the outcome you want to optimize.
- Understanding: Generate embeddings, numerical representations of products and shoppers that capture similarities and relationships. You can also use these in your own models.
Do I need to be an existing Topsort customer?
No. You can upload data from your existing systems, train models, evaluate them, deploy them, and call them through an API without using Topsort’s ad server. Existing Topsort customers can also use datasets already synced from Topsort.What data do I need?
Provide your product catalog and at least one month of event history, including all purchases and paid product clicks and impressions. T-Brain organizes data into three dataset types: categories, products, and events. Events must include a consistent shopper identifier so interactions and purchases can be connected. If you are a Topsort customer, you will already have three datasets synced:Topsort-categoriesTopsort-productsTopsort-events
How do I upload data?
See Data Requirements for instructions on creating datasets, uploading Parquet files, and adding updated data.How do I train a model?
A task defines what you want a model to do and which datasets it should learn from.- Review the available models in the Model Garden tab. Choose the model and capability appropriate for your use case, such as product ranking or conversion prediction.
- Prepare your datasets in the Data tab. Use synced Topsort datasets or upload your own files.
- Create a task in the Tasks tab. Choose the capability, select the datasets it requires, and name the task. For example, a product-ranking task uses product and event datasets.
- Start training. T-Brain trains the model using the selected datasets.
- Follow progress in the Training tab. Review queued, running, and completed training jobs.
- Review the results in the Evals tab. Inspect model-quality metrics and compare performance before choosing to deploy.
- Deploy the model. Your application can then call it through an API.
- Test the deployed model in the Playground tab. Try requests and inspect the returned predictions and response times.
What does fine-tuning mean?
Fine-tuning adapts a base model using your retailer’s data. It specializes the model for your catalog, shoppers, and use case. T-Brain’s base model provides a starting point. Fine-tuning helps it learn the patterns specific to your store.How can I evaluate a model?
Use the Evals tab to assess model quality and compare trained models with a reference model or baseline. You can also provide baseline data to compare your existing approach with T-Brain. Evaluations can include:- Model quality: How well a model performs its prediction or ranking task. For example, AUC ROC measures how well a prediction model distinguishes positive outcomes from negative ones.
- Business impact: Comparisons such as sales value per session, conversion rate, advertising revenue, and return rate.
- Performance: Response time, including P95 latency, the time within which 95% of requests complete.
What safeguards and controls are available?
T-Brain provides several points of review and control:- Data validation: Uploaded files are checked against the required dataset structure.
- Evaluation before deployment: You can inspect training results and compare model quality before deploying.
- Runtime monitoring: In the Runtime tab, you can monitor request volume, latency, and error rates for deployed models.