Databricks Databricks ★ 99 4 min

How FactSet cut model training and deployment from days to hours with Databricks AI Runtime

CompanyCustomers

🔗 https://www.databricks.com/blog/how-factset-cut-model-training-and-deployment-days-hours-databricks-ai-runtime

📌 FactSet 用 Databricks AI Runtime,把模型微調從天縮到小時

TL;DR:FactSet 自然語言轉公式系統導入 serverless GPU 微調,訓練部署週期從天縮短到小時。

當使用者的查詢愈來愈複雜,純粹靠檢索硬撐的 RAG 系統終究會撞牆——這正是 FactSet Text-to-Formula(TTF)團隊走到的十字路口。

🤔 當 RAG 撞上複雜度天花板

FactSet 的 TTF 系統要解決的問題很具體:把投資專業人士的自然語言請求,轉換成正確的 FactSet Query Language(FQL)公式。團隊最初以 retrieval-augmented generation(RAG)打底,靠檢索找出相關範例與資訊來生成答案。但隨著使用量成長,查詢愈趨專業化、公式也愈複雜,單靠檢索的做法開始遇到品質天花板。

🧩 把微調納入 Compound AI 架構,再交給 serverless GPU

FactSet 於是把 fine-tuned 開源模型納入 Compound AI 架構,讓模型直接學習 FQL 的結構與模式,而不只是在推論時依賴檢索。團隊在 TTF 早期導入微調模型後,發現端到端延遲降低了約 60%。

隨著訓練資料持續累積,微調不再是偶一為之的實驗,而是每兩到三週就要重跑一次的常態工作。這對基礎設施是另一種考驗:每次有新資料或新模型要測試,重新準備環境、設定 GPU 運算資源的工作都會直接疊加到開發週期裡;而不同模型、不同 prompt 長度與輸出特性,所需的運算配置也不一樣,若把訓練環境綁死在固定的 GPU 設定上,反而會讓實驗更難進行。

FactSet 選擇用 Databricks AI Runtime 在 serverless GPU 基礎設施上執行這些微調工作。工程師可以依照特定訓練任務的需求挑選運算資源,不需要事先佈建與設定底層 GPU 環境。TTF 的訓練流程同時銜接著既有的資料、實驗、模型管理與治理體系:團隊用 MLflow 追蹤模型開發與實驗過程,底層資料則維持在既有的 Lakehouse 環境中受到治理。把 GPU 訓練留在這套工作流程裡,工程師就能在受治理的資料上訓練新模型、追蹤產出的 artifacts,並往部署推進,不必為微調維護一套獨立的 GPU 堆疊。

📊 從天到小時,效果如何疊加

對 FactSet 而言,這把建置、訓練、部署一個客製化 TTF 模型所需的時間,從過去的「天」級別縮短到「小時」級別。對一個每兩到三週就要重新訓練的系統來說,這個差距會不斷累積:新資料能更快進入新模型,工程師也能把更多時間花在改善 TTF 本身,而不是準備訓練所需的基礎設施。

團隊目前持續採用與評估 Llama 系列等開源模型,模型選擇一直是 TTF 演進的核心環節之一;未來也打算針對查詢拆解(query decomposition)、元件抽取(component extraction)與函式庫識別(library identification)等子任務,探索更多專用的微調模型。微調管線本身則建立在 Databricks Lakeflow Jobs 與 Pipelines 之上,做成一套可重複使用的框架,方便其他團隊以低設定成本導入。

🎯 實務啟示

當一個系統需要頻繁重新訓練時,真正決定迭代速度的往往不是模型本身,而是「換一個模型需不需要重建訓練環境」。把 GPU 訓練整合進既有的資料治理與實驗追蹤流程,能讓工程團隊把精力放在該用哪個模型、怎麼訓練、新版本有沒有變好這些真正影響產品的問題上。

🔗 來源

#Databricks #FactSet #FineTuning #MLOps #LLM #ServerlessGPU #MLflow #CompoundAI #RAG #FinTech

原始資料 Databricks · 收集於 2026-10-15
來源原標題
How FactSet cut model training and deployment from days to hours with Databricks AI Runtime
機構
Databricks
原始標籤
Company · Customers
原始連結
https://www.databricks.com/blog/how-factset-cut-model-training-and-deployment-days-hours-databricks-ai-runtime

摘要原文

FactSet’s Text-to-Formula (TTF) system has a deceptively difficult job: take a natural-language request from an investment professional and turn it into the correct FactSet Query Language (FQL) formula. FactSet initially built TTF around retrieval-augmented generation (RAG), using retrieval to find relevant examples and information for a given request. But as consumption grew, queries became more specialized and formulas more complex; the approach hit a quality ceiling. FactSet began incorporating fine-tuned open models into its Compound AI architecture, allowing the team to train models on the structure and patterns of FQL rather than relying primarily on retrieval at inference time. In its earlier work on TTF, FactSet found that incorporating fine-tuned models reduced end-to-end latency by about 60%. As the system evolved, so did the role of fine-tuning. FactSet accumulated more training data and began updating its models regularly, turning what had been an experimental workflow into a recurring part of developing TTF. Today, the team fine-tunes models roughly every two to three weeks. Training every few weeks changes the infrastructure requirements. Preparing an environment and configuring GPU compute may be manageable for an occasional experiment. Repeating that work every time new data or a new model is ready to test adds overhead directly to the development cycle. Model requirements can change from one experiment to the next as well. FactSet has worked with Llama-based models and continues to evaluate newer open models. Different models, prompt lengths, and output characteristics can require different compute configurations, so tying the training environment to a fixed GPU setup would make it harder to adapt as the team experiments. FactSet uses Databricks AI Runtime to run these fine-tuning workloads on serverless GPU infrastructure. Engineers can choose compute based on the requirements of a particular training run without first provisioning and configuring the underlying GPU environment. TTF’s training workflow also sits alongside data, experimentation, model management, and governance already running on Databricks. FactSet uses MLflow to track model development and experiments, while its underlying data remains governed within its existing Lakehouse environment. Running fine-tuning with AI Runtime keeps GPU training inside that workflow. Engineers can work with governed data, train a new model, track the resulting artifacts, and move toward deployment without maintaining a separate GPU stack for fine-tuning. For FactSet, that reduced the time required to set up, train, and deploy a custom TTF model from days to hours. The ability to change models has been part of TTF’s evolution from the beginning. Advanced RAG, especially reliance solely on externally hosted models, becomes a bottleneck on consistent accuracy and latency as the consumption grows and more complex formulas. RAG worked until the system encountered more complex formulas. Fine-tuned open models gave FactSet another way to improve quality and latency. Now, as newer models become available, the team can evaluate them against the workload rather than treating its current model choice as permanent. TTF itself is becoming more specialized. As FactSet accumulates more data, the team is exploring additional fine-tuned models for tasks such as query decomposition, component extraction, and library identification. That creates more opportunities to use the model best suited to each part of the workflow, but also makes fast, repeatable training more important. A model change is much easier to test when it does not require rebuilding the training environment around it. With GPU compute available on demand through AI Runtime, the engineering work shifts toward the questions that actually affect TTF: which model to use, how to train it, and whether the resulting version improves the application. Additionally, the fine-tuning pipeline was built on Databricks Lakeflow Jobs and Pipelines as a plug-and-play, reusable framework — designed to be easily adopted across different TTF tasks and other teams with minimal setup effort, providing a standardized foundation that reduces onboarding friction and accelerates integration. Open models are moving quickly. The model that offers the right balance of quality, latency, and cost today may not be the one a team wants six months from now. Preserving model choice therefore requires more than the ability to download a new set of weights. The surrounding training and deployment workflow has to keep up. FactSet’s experience with TTF shows what that looks like in production. The team can continue testing new open models as its data and application evolve, while AI Runtime provides serverless GPU infrastructure within its existing Databricks workflows. Instead of spending days setting up, training, and deploying each iteration, FactSet can complete that cycle in hours. For a system that is retrained every few weeks, that difference compounds. New data can move into a new model sooner, and engineers can spend more of each iteration improving TTF rather than preparing the infrastructure required to train it. Subscribe to our blog and get the latest posts delivered to your inbox.

由 claude-code/sonnet 自動生成