https://vt.tiktok.com/ZSQrMg4m4/
Category Archives: AI
AI Hallucination Fixed By Physics
CODEX OpenAI
CODEX Plus recommended, Pro for company
Free Claude Code
Seadance2.0
Seadance2.0 is the engine available from many platform:
- jimeng 即梦 (*)
- Dola 豆包(*)
(*)Need 斗音 ton register Seadance, but 斗音 only in China.
Note : Seadance has an international version “Dreamina”. It is free from the portal:
dreamina.capcut.com


AI / ML Maths
https://vt.tiktok.com/ZS9M7rbkF/
- Calculus: Gradient Discent
- Linear Algebra: SVD
- Probability: Bayesian
- Statistics
- Object Oriented / Functional Programming (Category, eg Monad)
Python *args,**kwargs
Claude Shortcut Prompts
Python Data
AI Frameworks
AI Build Prep Documents
LLM Comparison
Python UI builder
Python Web Scrapping , Automation
Building Machine Learning Model
Matrix applied in Social Media
How matrix & cosine similarity (vector for 2orc3 dim data, or tensor for > 3 dim data, applied in social media apps (Netflix,TikTok, …) to recommend movies/videos
TikTok uses your personal ” interest” (from your past historical viwership record ), FB uses your friends’ interests… that’s why TikTok beats FB.
eLearning with LLM RAG from YouTube videos
AI Roadmap

Claude MCP & Skills
Python GUI
Python GUI
Yann LeCun funded by Temasek

Claude Code
https://vt.tiktok.com/ZSu6ounFv/
Install
https://vt.tiktok.com/ZSH2DFffe/
Tutorial:
https://vt.tiktok.com/ZSH546xNF/
6 plug-in
/ghost/OODA…
https://vt.tiktok.com/ZSHaw8coH/
Andrew Ng: build, train LLM with mini Jax
Python Calendar
Claude Code Stack
Claude Code, hosting, front-end, backend, password,resend, GitHub …
https://vt.tiktok.com/ZSmvcjCEa/
Five stages (levels) of AI
Five stages (levels) of AI:
- LLM (2024/2025) aka GAI (Generative AI)
- Agentic AI (LLM plan, coordinate actions performed byv tools/agents : excel, word, calendar, email, project manager … )
- Multi-Agents (2 or more Agents work as a team concurrently)
- AGI (2035 ?) human-like Artificial General Intelligence
- Super-Intelligence (like God, can learn by itself, surpass & “control” humans).
4 Basic AI Models

Lens in CATEGORY Theory
Lens in CATEGORY Theory implemented in Haskell & Python codes
Python ZIP
Tensor Flow Keras

Google 15 AI Tools

Nobel AlphaGo & AlphaFold
This video features the 2024 Nobel Prize in Chemistry lecture delivered by Demis Hassabis, CEO of Google DeepMind. In his talk, Hassabis outlines his journey from competitive chess to developing Artificial General Intelligence (AGI) systems that solve fundamental scientific problems, culminating in the breakthrough of AlphaFold.
Summary of the Lecture
- From Games to AI
- Origins: Hassabis shares his early fascination with “thinking about thinking” through competitive chess and programming his first AI at age 11 [01:28].
- DeepMind’s Mission: Founded in 2010, the goal was to build AGI using games as a “proving ground” because they offer massive data and clear objectives (win/loss) [03:20].
- AlphaGo Breakthrough: He highlights the 2016 victory of AlphaGo over Lee Sedol. He specifically mentions Move 37 [05:24], a move so creative and unexpected that it demonstrated AI’s ability to discover new knowledge rather than just mimic human play.
- Solving the Protein Folding Problem
- Applying AI to Science: Hassabis looks for problems that fit three criteria: a massive combinatorial search space, a clear objective function to optimize, and abundant data [08:43].
- The Challenge: He chose the “Protein Folding Problem”—predicting a protein’s 3D structure from its amino acid sequence. This was a 50-year-old grand challenge known for Levinthal’s Paradox, which suggests a protein has 10^{300} possible shapes, yet folds instantly in nature [11:44].
- AlphaFold’s Success:
- AlphaFold 1 (2018): Showed significant progress in the CASP competition [14:25].
- AlphaFold 2 (2020): Achieved atomic-level accuracy, effectively solving the problem [15:38].
- Global Impact: DeepMind folded all 200 million known proteins and released the AlphaFold Database for free. This resource has been used by over 2 million researchers for applications ranging from plastic pollution to neglected diseases [17:35].
- The Future: Digital Biology & AGI
- AlphaFold 3: The latest version models the dynamics and interactions of proteins with DNA, RNA, and ligands, moving closer to simulating biological processes for drug discovery [19:32].
- Digital Biology: Hassabis proposes that biology is an information processing system. While math is the language of physics, he suggests AI is the perfect description language for biology [22:15].
- Isomorphic Labs: He mentions his new venture focused on reimagining the drug discovery process from first principles to operate at “digital speed” [22:41].
- Theoretical & Ethical Reflections
- Hassabis’s Conjecture: He proposes that any pattern found in nature can be efficiently discovered and modeled by a classical learning algorithm (as opposed to needing quantum computing) [24:41].
- Beyond Biology: DeepMind is applying these techniques to other fields, including controlling fusion reactors, weather prediction, and material science [25:53].
- Responsibility: He concludes by emphasizing that AI is a dual-purpose technology. It must be built responsibly and requires engagement with a wide range of stakeholders to ensure it benefits humanity [26:46].
Analysis - Paradigm Shift in Science: Hassabis frames AI not just as a tool but as a new epistemological framework. By treating scientific discovery as a search problem within a massive combinatorial space, AI can navigate complexities that are intractable for human minds or brute-force computing.
- “Digital Speed” Discovery: The transition from AlphaFold 2 (static structures) to AlphaFold 3 (interactions) and the founding of Isomorphic Labs signals a shift from descriptive biology to predictive and engineering biology. The goal is to compress scientific timelines from years to days.
- Democratization of Knowledge: A recurring theme is accessibility. By open-sourcing the AlphaFold database, DeepMind likely accelerated global research by decades, reinforcing the “Bell Labs” vision of high-impact, centralized research benefiting the wider community.
- Philosophical Optimism: Hassabis presents a fundamentally optimistic view of classical computing. His conjecture challenges the notion that we need exotic hardware (like quantum computers) to simulate nature, suggesting that learning algorithms are the key to unlocking physical reality.
https://www.youtube.com/watch?v=YtPaZsasmNA
YouTube video views will be stored in your YouTube History, and your data will be stored and used by YouTube according to its Terms of Service
AI 6 Distributions
Yann Lecun : ESIEE skipped Préparatoire
It is a significant distinction because it challenges the traditional narrative that top French scientists must come exclusively from the “royal path” (Polytechnique, ENS, etc.). LeCun’s journey is a powerful counter-example to the French élitisme of the Classes Préparatoires.
Here is a summary of the updated record regarding Yann LeCun’s education and his views on the French system, based on the details you provided:
- The Rejection of the “Royal Path”
Contrary to the typical path of the French scientific elite, LeCun did not complete the grueling two-year Classes Préparatoires aux Grandes Écoles (CPGE).
- The Drop-out: He enrolled in Maths Sup at Lycée Jacques Amyot in Melun in 1978 but left after only a few weeks.
- The Reason: He explicitly rejected the “intellectual hazing” (bizutage intellectuel), the dogmatic teaching style, and the obsession with ranking rather than learning. He viewed the system as a mechanism for social reproduction and creating CEOs, rather than fostering scientific innovation.
- The Strategic Choice of ESIEE
His move to ESIEE Paris (École Supérieure d’Ingénieurs en Électronique et Électrotechnique) was a deliberate pursuit of practical innovation over prestige.
- Curriculum Gap: In the late 70s/early 80s, the “top” schools (X, Mines, Centrale) focused heavily on abstract mathematics and physics. Computer science was barely treated as a distinct discipline.
- Hands-on Access: ESIEE offered access to actual microprocessors and allowed for hands-on programming. This environment was crucial for LeCun, who was interested in building machines and understanding intelligence, not just solving abstract equations. It was at ESIEE that he built his own computer and started reading about automata and early neural networks.
- The “Godfather” of AI who avoided the System
LeCun’s success is often cited as a critique of the French academic system’s rigidity.
- Innovation vs. Selection: He argues that the prépa system selects for conformity and speed in solving known problems, whereas research requires creativity, patience, and the ability to define new problems.
- Peers: As you noted, he shares this trait with other top researchers like Yoshua Bengio, highlighting that the “elite” path is not the only (or even the best) generator of AI talent.
Updated Profile Summary
Yann LeCun
——– Interesting to note those French who succeeded in their field (Science, Maths , Engineering ) outside the royal path of “Preparatoire – X / ENS”. Yann LeCun (inventor :Convolution Network) , who won “Turing Prize” aka “3 AI God Fathers” with his Postdoc Canadian Benjio (for “Backpropagation , Word2Vec”) , and his own mentor Hinton (for “Deeplearning”) is one such exception case from ESIEE (5 year private Grande Ecole sans Préparatoire), although he quit after 3 weeks from Preparatoire sick of Concours-focus Abstract Algebra. https://grok.com/share/bGVnYWN5LWNvcHk_4c460ec1-8956-4483-9b7a-660b2074f778
- Education: Diplôme d’Ingénieur from ESIEE Paris (1983); PhD from Pierre and Marie Curie University (1987).
- Key Narrative: Dropped out of Maths Sup to avoid the toxic competitive culture; chose ESIEE for its practical focus on electronics and computing, which allowed him to explore neural networks when prestigious schools ignored them.
- Philosophy: Vocal critic of the French prépa/concours system, advocating for research-driven education over intense abstract selection.
AI & Maths (ENS)
AI & Maths — Ecole Normale Superieure










Python Vs Haskell Productivity
Productivity Gain Summary Table
(Task: Safe division of two string inputs with full validation & error accumulation using Monad/Applicative style) Language Approach / Library Lines of Real Code* Productivity Gain vs Python Python Category-theory style using returns + Result + Validation-like error accumulation 38–42 lines Baseline (1×) Haskell Pure Haskell with built-in Either + Applicative (<*>) 4–5 lines~9–10× fewer linesHaskell (one-liner) Ultra-concise using point-free + Applicative3–4 lines~12× fewer lines
*Lines counted: only the actual function implementation + tiny helpers, no imports/comments.
Verdict in Numbers Metric Value Python lines ≈ 40 Haskell lines ≈ 4 Real-world ratio10:1 (40 → 4 lines) Meme accuracy 100% confirmed
Yes — the legendary “40 lines of Python vs 4 lines of Haskell” is not exaggeration. It’s reality when you truly use monads and applicatives the way they were meant to be used. Haskell wins by an order of magnitude in expressiveness. Haskell doesn’t just save keystrokes — it removes entire classes of boilerplate that Python cannot escape.
*Lines counted: only the actual function implementation + tiny helpers, no imports/comments.
Verdict in Numbers Metric Value Python lines ≈ 40 Haskell lines ≈ 4 Real-world ratio10:1 (40 → 4 lines) Meme accuracy 100% confirmed
Yes — the legendary “40 lines of Python vs 4 lines of Haskell” is not exaggeration. It’s reality when you truly use monads and applicatives the way they were meant to be used. Haskell wins by an order of magnitude in expressiveness. Haskell doesn’t just save keystrokes — it removes entire classes of boilerplate that Python cannot escape.
Python Module
Pandas Tutorial
Agentic AI
Python Data Types

Naive Bayes
10 Python libraries
ML Python Cheatsheet

API Library
Character Recognition
Prompt Research Paper
https://vt.tiktok.com/ZSUsQd8o8/
Prompts to write good research papers.
Qwen Multimodal Cross Training
Alibaba Qwen 千文 “text+media” cross training model
Convolution Neural Network
CNN invented in 1983 by Yann LeCun, a French engineer from ESIEE , a non-traditional (sans strong math background from Classe Préparatoire) Ecole engineering of Électrotechnique & Electronic.
Yann received Turing Prize for CNN : a Nobel Prize IT, together with Prof Hinton (Deeplearning inventor).
He is Meta (FaceBook) Chief AI Scientist.
Google Agentic AI
Agentic AI :
From LLM as “server” thru a standard API Interface to any external tools (excel, word, calendar , travel booking apps for hotel, air ticket, etc) .
Category Theory for AGI Potential
Category Theory (CT) is increasingly being explored as a foundational framework for achieving Artificial General Intelligence (AGI). Its abstract, compositional, and unifying mathematical nature offers potential solutions to key AGI challenges, such as integration of diverse cognitive functions, interpretability, and cross-domain reasoning. Below is a detailed analysis of its potential applications, supported by current research and theoretical insights.
🔍 1. Unification of Disparate AI Paradigms
Category Theory provides a “universal language” to describe and connect diverse mathematical structures, which is crucial for integrating the multiple specialized components required for AGI. For instance:
· Neuro-symbolic Integration: CT can bridge neural networks (subsymbolic) and symbolic reasoning by representing both as categories, with functors mapping between them. This allows seamless integration of learning (e.g., LLMs) and logical reasoning (e.g., verification systems) .
· Cross-Domain Generalization: CT’s emphasis on relationships (morphisms) rather than internal structures enables AGI systems to transfer knowledge across domains (e.g., from vision to language) by identifying common compositional patterns .
🧠 2. Enhanced Interpretability and Explainability
A major critique of deep learning models is their “black-box” nature. CT addresses this by:
· Compositional Models: CT encourages designing AI systems with explicit compositional structures, where each component’s role is defined via morphisms and functors. This makes decisions traceable and interpretable, reducing reliance on post-hoc explanations .
· Diagrammatic Reasoning: String diagrams (a tool in CT) visually represent AI architectures and data flows, enabling developers and users to understand how inputs are transformed into outputs . For example, Quantinuum scientists use CT to create inherently interpretable models, mitigating issues like hallucination in LLMs .
⚙️ 3. Optimization and Architecture Design
CT offers formal tools for designing and optimizing AGI architectures:
· Neural Network Design: CT-based approaches like “neural string diagrams” and “neural circuit diagrams” provide blueprints for composing neural networks in a modular, hierarchical manner, improving scalability and efficiency .
· Hardware-Agnostic Code Generation: By abstracting computations as categorical objects (e.g., matrices as objects in a monoidal category), CT enables functors to map algorithms to optimized code for diverse hardware (GPUs, quantum processors) . This is critical for AGI to adapt to heterogeneous computational environments.
🔄 4. Reasoning and Cognitive Abstraction
CT’s ability to model abstract reasoning processes aligns with AGI’s need for human-like cognition:
· Mathematical Foundations for Cognition: Some researchers argue that cognition is inherently mathematical (e.g., based on stochastic differential equations or topological invariants), and CT provides the language to formalize this. For instance, reasoning processes can be modeled as morphisms in categories derived from SDEs or PDEs, enabling AGI to handle uncertainty and dynamics .
· Kan Extensions for Generalization: The concept of Kan extensions in CT allows systems to “complete” partial knowledge universally, enabling AGI to infer new structures and knowledge from limited data—a key aspect of general intelligence .
🔬 5. Formal Verification and Safety
AGI systems must be verifiably safe and robust. CT contributes through:
· Categorical Semantics: CT can model the semantics of programming languages and logical systems, allowing formal verification of AGI behaviors. For example, functors can map high-level specifications to low-level implementations while preserving correctness properties .
· Ethical Transparency: CT-based models explicitly represent decision pathways, making it easier to audit for biases or ethical violations . This is vital for high-stakes domains like healthcare or finance.
💡 6. Current Research and Challenges
While promising, CT-based AGI research faces hurdles:
· Abstraction Complexity: CT’s high abstraction level requires significant mathematical maturity, limiting accessibility for AI practitioners . Initiatives like Quantum Formalism aim to democratize CT education .
· Integration with Existing AI: Most applications are theoretical or experimental. For example, the integration of CT with probabilistic programming languages is still nascent .
· Debates on Sufficiency: Some argue CT is a “theory of everything” for AGI , while others caution it is one tool among many .
💎 Conclusion
Category Theory holds significant potential for AGI by providing a unified, rigorous, and interpretable framework to integrate learning, reasoning, and adaptation. Its emphasis on compositionality and abstraction aligns with the need for systems that generalize across domains and remain verifiable. However, realizing this potential requires overcoming challenges related to complexity and practical integration. Ongoing research (e.g., by Quantinuum, Zaiku Group, and academic institutions) continues to explore CT as a pathway to AGI . As these efforts mature, CT may indeed become a cornerstone of AGI development.
📊 Table: Key Applications of Category Theory in AGI
Application Area CT Tool/Concept Used Benefit for AGI Example
Neuro-Symbolic AI Functors, Natural Transformations Integrates learning and reasoning Mapping neural networks to symbolic rules
Interpretability String Diagrams, Compositional Models Provides inherent transparency Quantinuum’s framework for explainable AI
Code Optimization Monoidal Categories, Functors Generates hardware-agnostic code GPU/quantum code generation for matrix multiplication
Generalization Kan Extensions Enables universal inference from partial data New York General Group’s “Category Is All You Need” approach
Verification Categorical Semantics Ensures correctness and safety Formal verification of AGI decision pathways
For further details, you can explore the sources cited in this response.









