- Updated: January 18, 2026
- 5 min read
Qwen2.5‑7B Fine‑Tuned on 100 Films: Probabilistic Story Graphs Boost AI Film Analysis
Qwen2.5‑7B, a compact yet powerful large language model, has been fine‑tuned on a curated set of 100 iconic films, enabling it to generate and reason over probabilistic story graphs that capture narrative structure, character arcs, and thematic motifs with unprecedented precision.

Qwen2.5‑7B Fine‑Tuned on 100 Films: A New Frontier in AI Film Analysis
In a collaborative effort between the research community and the generative‑AI startup AI news hub at UBOS, the 7‑billion‑parameter Qwen2.5 model was exposed to a diverse corpus of 100 feature‑length movies spanning classic cinema, contemporary blockbusters, and indie gems. The fine‑tuning process infused the model with deep narrative knowledge, allowing it to construct probabilistic story graphs—structured representations where each node denotes a plot event and edges encode the likelihood of transitions based on genre, character motivation, and cinematic conventions.
This breakthrough not only pushes the envelope of AI film analysis but also opens a pathway for developers to embed sophisticated storytelling intelligence into applications ranging from script‑writing assistants to recommendation engines. For a deeper dive into the technical underpinnings, see the original research at CineGraphs AI.
Probabilistic Story Graphs – The Core Innovation
Traditional story‑graph approaches treat narrative flow as deterministic, mapping a fixed sequence of events. In contrast, the probabilistic framework introduced by the Qwen2.5‑7B fine‑tuning assigns a probability distribution to each possible transition, reflecting the inherent ambiguity and creative choices present in filmmaking.
How Probabilistic Story Graphs Work
- Each node represents a discrete narrative element (e.g., “hero discovers secret”).
- Edges carry conditional probabilities derived from the model’s learned understanding of genre tropes and character dynamics.
- Graph traversal can be performed stochastically, yielding multiple plausible storylines from a single seed event.
- The model can query the graph to answer “what‑if” scenarios, such as “What if the antagonist survived the climax?”
Why This Matters for Film AI
By quantifying narrative uncertainty, developers can create tools that suggest alternative plot twists, evaluate script coherence, or even generate personalized story arcs for interactive media. The probabilistic nature also aligns with how human audiences perceive stories—multiple interpretations coexist, and the model’s confidence scores help surface the most compelling possibilities.
Experimental Results and Community Reaction
The fine‑tuned Qwen2.5‑7B was benchmarked against two baselines: a vanilla Qwen2.5‑7B (no film data) and a GPT‑4‑based narrative analyzer. Evaluation focused on three dimensions: graph fidelity, story generation quality, and computational efficiency.
| Metric | Vanilla Qwen2.5‑7B | GPT‑4 Analyzer | Fine‑tuned Qwen2.5‑7B |
|---|---|---|---|
| Graph Fidelity (BLEU‑4) | 21.3 | 28.7 | 35.9 |
| Story Coherence (Human Rating) | 3.1 / 5 | 3.8 / 5 | 4.4 / 5 |
| Inference Latency (ms) | 78 | 112 | 65 |
The fine‑tuned model outperformed both baselines, especially in graph fidelity, where the probabilistic edges aligned more closely with human‑annotated story structures. Qualitative feedback highlighted the model’s ability to surface “hidden” plot connections that even seasoned screenwriters missed.
“Seeing a model that can not only recount a film’s plot but also quantify the likelihood of alternative narrative paths feels like giving a director a new kind of storyboard—one that’s mathematically grounded yet creatively open.” – Dr. Lina Ortega, Computational Narrative Lab
Community Reaction and Real‑World Applications
The release sparked lively discussions on forums such as Reddit’s r/MachineLearning and the UBOS generative‑AI hub. Practitioners praised the model’s compact size, noting that a 7B‑parameter architecture can now rival larger, more expensive systems for niche narrative tasks.
Top Use‑Case Scenarios
- Script Development Assistants: Generate alternative scene orders or suggest character motivations based on probability scores.
- Dynamic Storytelling in Games: Real‑time plot branching that adapts to player choices while staying narratively coherent.
- Educational Tools: Visualize story arcs for film studies courses, helping students explore “what‑if” analyses.
- Content Recommendation: Match viewers with movies that share high‑probability narrative patterns to their preferences.
- Automated Summarization: Produce concise, probability‑weighted synopses for large video libraries.
Early adopters have already integrated the model into Workflow Automation Studio to auto‑generate story‑graph visualizations for incoming video assets, cutting manual annotation time by 70 %.
Positioning Within the Generative AI Landscape
While models like OpenAI’s ChatGPT and Anthropic’s Claude dominate general‑purpose conversation, Qwen2.5‑7B’s domain‑specific fine‑tuning demonstrates the power of “specialist” LLMs. By focusing on a well‑defined corpus (100 films), the model achieves higher fidelity in narrative reasoning without the overhead of billions of parameters.
Integration Opportunities with UBOS
The UBOS platform offers a suite of tools that can amplify the impact of this model:
- UBOS platform overview – Deploy the fine‑tuned model as a micro‑service with one‑click scaling.
- AI news feed – Keep developers updated on the latest model releases and community tutorials.
- UBOS partner program – Collaborate on joint solutions for media companies.
- UBOS templates for quick start – Jump‑start a story‑graph analytics app using pre‑built UI components.
- UBOS pricing plans – Choose a cost‑effective tier for low‑latency inference.
Moreover, the model can be paired with other UBOS integrations such as the ChatGPT and Telegram integration to deliver interactive narrative queries via messaging platforms, or with the Chroma DB integration for efficient vector storage of story‑graph embeddings.
Get Started with Probabilistic Story Graphs Today
Whether you’re a filmmaker, a game developer, or an AI researcher, the fine‑tuned Qwen2.5‑7B model offers a ready‑to‑use engine for narrative intelligence. Explore the model on the UBOS AI news portal, experiment with the generative‑AI playground, or dive straight into a pre‑built template like the AI SEO Analyzer to see how story graphs can boost content strategy.
Join the conversation on About UBOS and become part of a growing ecosystem that blends cutting‑edge machine learning with real‑world creativity. The future of film analysis is probabilistic—embrace it now.
Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.