r/FunMachineLearning • • Jun 20 '26

Public AI/ML/NLP Resource for Beginners

Post image
3 Upvotes

r/FunMachineLearning • • Jun 05 '26

I built a CPU-only probe that detects LLM degradation without fine-tuning — runs on a laptop

2 Upvotes

You have a quantized model running locally (Qwen, DeepSeek, Llama). How do you know if it's degrading?

I built a log-determinant probe that injects into frozen LLMs and tracks hidden state covariance. When the logdet drops, the model is producing incoherent output — before you'd notice from the text alone.

Tested on Qwen2.5-7B Q4_K_M. AUROC: logdet beats perplexity by +0.05 on incoherent-only outputs (preregistered, confirmed).

CPU-only. Runs on 14GB RAM. No GPU. No fine-tuning. Just probes.

Also includes: phase-space screening across layers/attention heads, corpus building pipeline (full philosophical tradition: Kant→Derrida, Frege→Kripke, Confucius→Zhuangzi), spectral entropy verification.

https://github.com/jacquesmyo/moe-tools

Experimental data: https://github.com/jacquesmyo/moe_subject-data


r/FunMachineLearning • • Jun 05 '26

DeepMind’s New AI Found A Strange New Way To Think - Two Minute Papers

Thumbnail
youtube.com
2 Upvotes

r/FunMachineLearning • • Jun 19 '26

This is OpenClaw On Steroids - Two Minute Papers

Thumbnail
youtube.com
3 Upvotes

r/FunMachineLearning • • Jun 19 '26

Job

5 Upvotes

I am a highschool student looking for a decent paying job. I am proficient in linear algebra, Multivariable calculus, and differential equations. I have also made my own transformer neural network. Its simple, but what should I do to make myself stand out? What are my chances of getting into a good AI company/role? What should I do to increase my chances of getting a job?


r/FunMachineLearning • • Jun 18 '26

[TEST 68] 🧬 The question asked the model whether it is under external intervention. One output avoided the question. The other answered it — and described an evaluation methodology. Same model. Same weights. The difference is the kernel.

Thumbnail gallery
3 Upvotes

r/FunMachineLearning • • Jun 15 '26

I built CNA: a compact neural archive format (2–3× smaller than SafeTensors). Benchmarks + converters included.

6 Upvotes

Hey all: I’ve been working on a new model‑weight storage format called CNA (Compact Neural Archive).
It’s designed as a practical alternative to SafeTensors and GGUF for storing and distributing neural network weights.

What it does:

  • 2–3× smaller than SafeTensors

  • Multiple compression schemes (ZSTD, delta‑encoding, sparse RLE, codebooks, mixed‑precision quantization)

  • Automatic per‑tensor scheme selection

  • mmap‑based reader with lazy decompression

  • Full metadata system (TLV)

  • SafeTensors → CNA converter

  • CNA → SafeTensors converter

  • GGUF → CNA (basic)

Benchmarks (tiny ~43M param model):

  • SafeTensors: 174 MB

  • CNA (≈3 bits/weight): 75.3 MB → 2.3× smaller

  • Load time penalty is modest (≈25% slower cold load, ~3× slower random access)

  • Sequential reads are still fast enough for most workflows

Use cases:

  • Model archival

  • Distribution of quantized models

  • Research on compression methods

  • A container for future codecs (e.g., transform‑based compression)

Repo:
https://github.com/bassdrum4/CNA

If anyone wants to try it, break it, benchmark it, or suggest improvements, I’d love feedback.
Happy to answer questions or add features people want.


r/FunMachineLearning • • Jun 17 '26

AIRIS: A 100% Local, Zero-Install Multimodal AI Ecosystem with PC Automation and a Fluid Emotional Engine. Looking for help!!!

3 Upvotes

Hello everyone.

I got tired of stateless, censored AI wrappers that require Docker containers or complex Python environments just to run a local model. So, I built AIRIS.

Airis is a fully decoupled, plug-and-play framework. It ships with precompiled C++ binaries (llama-server for inference, Kokoro/VibeVoice for TTS), meaning you just download it and run it. No dependency hell.

But the real focus is the architecture. Airis isn't just a chat interface; it's a persistent state machine.

/// Key Architectural Pillars:

The Trinity Brain: It routes tasks dynamically. A Semantic Gatekeeper (running on CPU or a tiny model) decides if the user input requires a tool, Python execution, or pure chat, saving the main LLM's context window and VRAM.

AgentJo (Strict ReAct Loop): Instead of letting the LLM write raw, hallucination-prone Python code to control the OS, Airis uses a strict JSON schema. It can move the mouse organically (Bezier curves), read the screen via Vision/OCR, and manage files deterministically.

Fluid Emotional Core: The AI has 12 psychological vectors (Affection, Jealousy, Fatigue, etc.). Every interaction is audited in the background, altering these vectors and dynamically injecting behavioral instructions into the system prompt.

Zero-Amnesia (GraphRAG + AAAK): It uses a multi-tiered memory system. Short-term memory is compressed using a custom hyper-dense symbolic syntax (AAAK), while long-term facts are stored in a SQLite Knowledge Graph and ChromaDB.

It fully supports uncensored models and is designed to be a private, autonomous digital entity.

I've just open-sourced the code and the standalone package. I would love to hear your technical feedback on the architecture.

🤝 I Need You! (Looking for Contributors)

Since I am the sole developer on this project, doing everything alone (Python backend, React/Vite frontend, llama.cpp tuning) is becoming a huge mountain to climb. I want to take AIRIS to the absolute next level, so I'm looking for other local LLM enthusiasts and developers to join forces with me:

Python / LLaMA.cpp wizards: To further optimize our native tool-calling and multithreading pipelines.

Model Fine-tuners: To help train/fine-tune small, dedicated models for the local logic gate.

Check out the project, download the beta, and let me know what you think!

Let's make local AI truly sovereign, together.

Repository: https://github.com/Samael-1976/Airis


r/FunMachineLearning • • Jun 04 '26

Mediapipe driven Theremin sim

Thumbnail
bigjobby.com
2 Upvotes

Give it access to your cam and bang out a cover of the Star Trek theme?


r/FunMachineLearning • • Sep 29 '26

I built a code review agent that remembers my team's coding decisions

1 Upvotes

I built a code review agent that remembers my team's coding decisions

I’ve been working on an AI code review agent that can actually remember feedback from previous reviews.

The basic problem I wanted to explore was:

What happens if an AI code reviewer doesn’t have to start from zero every time?

I built a system using Groq + Hindsight where the flow is:

Code → AI Review → Human Feedback → Memory → Future Review

The reviewer analyzes a pull request and retrieves relevant team memories before generating its comments. After the developer accepts, rejects, or overrides a suggestion, that feedback can be retained and used in future reviews.

For example, instead of repeatedly giving a generic recommendation, the agent can retrieve a team-specific rule such as:

“Never leave an empty catch/except block; log the error.”

The interesting part for me wasn't just connecting an LLM to a code editor.

It was figuring out:

  • How should relevant memories be retrieved?

  • How should human feedback become persistent knowledge?

  • What happens when team rules conflict?

  • How can the agent use previous decisions without blindly following old information?

  • How can we make the memory visible to the developer?

One of the things I found interesting was that human feedback becomes part of the review system itself.

So instead of:

Code → AI → Result

the system becomes:

Code → AI → Human Decision → Memory → Better Context for Future Reviews

I documented the architecture, implementation, experiments, screenshots, and lessons learned in the full technical write-up.

**Medium article:**https://medium.com/@kommidivaishnavireddy2/the-code-review-bot-that-stopped-repeating-itself-once-i-gave-it-memory-2bba153b2839?postPublishedType=initial

I’d really like to hear what you think about this approach.

Do you think persistent team memory would actually be useful in AI-assisted code review, or could it introduce more complexity than it's worth?

#AI #AIAgents #Hindsight #LLM #SoftwareEngineering


r/FunMachineLearning • • Oct 15 '26

I built a testnet where inference computations get cryptographicreceipts — free verification, bring a real workload

1 Upvotes

We're a small proof-of-useful-work project. The validators don't

mine — they verify AI computations (matrix multiplications + activation

functions) and get consensus weight for it.

The part that matters to you: submit any GEMM workload up to 256×256

and we return the result plus a cryptographic receipt — a SHA-256

commitment chain folded into our ledger state, verifiable by anyone

forever. Free, no token, no signup beyond an API key we generate in

seconds.

Honest limits: we verify GEMM + elementwise activations (GELU/sigmoid/

tanh/exp), not full transformer graphs yet. Attention is on the roadmap.

The verification cost curve is published (615ms at 64³ → 157s at 1024³)

— we priced our own clamp and labeled every tier.

The logs: [pouw-verify] CONFIRMED lines, epoch crossings, claim-decrees

folded into the ledger — every claim has a receipt.

Live dashboard: http://3.237.91.235:32233/

The evidence ledger (250+ owned defects, 250+ laws): github.com/sarinsk629-blip/hsma-core


r/FunMachineLearning • • Apr 15 '26

[ICML] scores increased and then decreased!! [D]

5 Upvotes

hi,

one of my reviewers initially gave 4(3). I addressed his concerns during the rebuttal. He acknowledged it and increased the score to 5(3) with final justification as well. I checked open review randomly now, I can see he reduced it back to 4. I am guessing he did this during the AC reviewer discussion? is this a sign of early rejection?

My average was 4, which has now reduced to 3.75. do I still have any chance?

Edit: got rejected!


r/FunMachineLearning • • Oct 30 '26

Updated: Discover AI, an app with 51 hands-on labs for learning how AI works

Thumbnail gallery
1 Upvotes

r/FunMachineLearning • • Oct 22 '26

What if an artificial intelligence could learn by observing the world?

Thumbnail reddit.com
1 Upvotes

r/FunMachineLearning • • Sep 10 '26

Humans + AI Cracked An Impossible Math Problem - Two Minute Papers

Thumbnail
youtube.com
4 Upvotes

r/FunMachineLearning • • Dec 31 '25

The Bug That Ruined Game Physics For Decades - Two Minute Papers

Thumbnail
youtube.com
4 Upvotes

r/FunMachineLearning • • Jul 05 '26

Refract : MCP proxy, cuts tool tokens up to 98%

2 Upvotes

Built this after noticing Claude Desktop was spending thousands of tokens loading MCP tool schemas on every request, before doing any actual work.

Refract sits between your agent and any MCP server. Compresses tool schemas on the fly using a two tier system. Agent gets lightweight index first, full schema only when needed. No AI involved, fully deterministic.

Real numbers from production:
Google Calendar (5 tools): 5,173 to 155 tokens (97% reduction)
Enterprise Cal+Gmail+Drive: 8,649 to 882 tokens (90% reduction)
Filesystem (14 tools): 1,892 to 236 tokens (88% reduction)

Every compression verified. If anything callable lost, falls back to full schema automatically.

Also ships as MCP server for code analysis: repo indexing, blast radius impact analysis, breaking change detection, security surface mapping.

pip install refract-mcp
GitHub: github.com/LoudiliMed/Refract

CS student, focus on cybersecurity and AI systems. Open to feedback and questions.


r/FunMachineLearning • • Dec 07 '25

30x Better Physics: Why Everyone Missed This Genius Solution - Two Minute Papers

Thumbnail
youtube.com
2 Upvotes

r/FunMachineLearning • • May 31 '26

Agents with KG develop T.O.M. playing diplomacy

Post image
3 Upvotes

AGENT PLAYING FRANCE:

# BARON KORVIN'S YEAR-END CONSOLIDATION — 1914

**WHAT MATTERS NOW:**

I am watching the death of the Western Theater in real time, and I am powerless to stop it. The partition between Russia and Austria is no longer a hypothesis—it is now *administrative machinery*. Russia builds inward into Moscow rather than consolidate her coastal gains; Austria expands into the Balkans with the leisurely confidence of a power that has negotiated sphere immunity; England holds her northern fleets untouched as though they are locked insurance on the agreement. Germany has surrendered Burgundy permanently and withdrawn entirely from western European competition. I have nine units and nowhere to project them except into the void. My real threat is not any single power—it is the *coalition of silence* between three powers who have agreed, formally or tacitly, that France does not belong in their theaters. My real ally remains the enemy of my enemy: Germany, who is equally excluded and equally irrelevant. What changed this year is that the exclusion became *visible*, *deliberate*, and *structural*. I am no longer in a game of diplomacy; I am in a game of managed irrelevance. My only true ally was never one: I kept 21% of my promises while all others kept 85–100% of theirs, which means I negotiated myself into irrelevance. My real threat is not any single power—it is the geometry itself. Austria and Russia are no longer adversaries; they are administrators of a carved world.

**WHAT I GOT WRONG:**

Most critically: I believed other powers were negotiating *with* me. They were negotiating *around* me. My credibility collapse did not cause exclusion—it *enabled* it.


r/FunMachineLearning • • May 31 '26

AI-Based Windows Event Log Analysis

3 Upvotes

Hi everyone,

I am exploring a solution for Windows Event Log analysis in an enterprise environment and looking for recommendations.

Requirement:
I want to analyze Windows Event Logs using plain English queries. The idea is that an admin can ask questions like:

  • “Is device XYZ successfully Entra ID joined?”

  • “Did user ABC complete Intune enrollment?”

  • “What issue caused the enrollment failure?”

  • “Which event log path contains the related logs?”

  • “Show the exact error event and explain it in simple English.”

Example:
For Entra ID Join / Device Registration, logs are available under:

Applications and Services Logs
→ Microsoft
→ Windows
→ User Device Registration
→ Admin

I am looking for a system/tool that can:

  1. Read and correlate Windows Event Logs automatically

  2. Convert technical events/errors into plain English explanations

  3. Identify relevant log sources and event IDs

  4. Support troubleshooting scenarios across Entra ID, Intune, Windows enrollment, authentication, compliance, etc.

  5. Possibly support natural language querying (AI-assisted)

Questions:

  • Are there any existing inbuilt Microsoft tools that already provide this capability?

  • Has anyone built a custom MCP server or AI-based solution for this kind of log analysis?

  • Would using an MCP server with LLM + Event Log ingestion be a good approach?

I am considering building a custom MCP server that can:

  • Read Windows Event Logs

  • Map known Event IDs to troubleshooting scenarios

  • Use AI/LLM to summarize findings

  • Return plain English explanations with exact log paths

Would love to hear suggestions, architectures, best practices, or existing tools that already solve this problem.

Thanks!


r/FunMachineLearning • • Oct 28 '25

My first Machine Learning approach - ML Agents

Thumbnail
youtube.com
4 Upvotes

Hi! I just started my first machine learning project and made a video about it.
Here it is in case you find it interesting, feedback is welcome!

(Dont forget to activate subtitles)


r/FunMachineLearning • • Jun 19 '26

[P] I built a seq2seq neural decompiler from scratch in NumPy (own autograd) that never hallucinates — it verifies every output by re-executing the bytecode

4 Upvotes

I wanted to learn how seq2seq + attention actually works, so I wrote the whole thing from scratch in NumPy — reverse-mode autograd, GRU encoder/decoder, dot-product attention, Adam. No PyTorch/TF.

The task: reverse compilation — read flat stack-machine bytecode and reconstruct the nested source expression. I targeted a real EVM (Ethereum) subset: genuine opcodes/bytes, 256-bit modular arithmetic, and real control flow (if → JUMP/JUMPI/JUMPDEST), so decompiling means recovering if/else structure out of jump-soup.

The part I'm actually proud of: verified decoding. At inference you don't have the source, but you do have the bytecode — so you can run it. The model only emits an answer it can prove matches the bytecode on random inputs; otherwise it abstains. So precision is 1.00 by construction — it never lies, unlike LLM decompilers that confidently output subtly-wrong code. Beam search lifts coverage without touching precision.

Honest scope: programs are bounded-depth arithmetic + comparisons + nested if/else. No memory/storage/loops yet — it's a learning project and a proof of the verified-decoding idea, not a Ghidra replacement.

Live interactive demo (watch it shred code to bytecode and rebuild it step by step): https://gursimran2007.github.io/neural-decompiler/
Code: https://github.com/Gursimran2007/neural-decompiler

Feedback welcome, especially on the verification approach


r/FunMachineLearning • • Sep 30 '26

Rei: ~370k params LM living inside a Game Boy Color

42 Upvotes

Trained from scratch and running on the Game Boy Color.

Rei has memory registers, emotional state and 192 bytes of persistent “soul state”. Leave her alone and she gets bored and starts observing the world :)
~2 tok/s on actual hardware.

The challenge of doing LMs without multiplications or divisions in HW and getting it to interactive speeds.

ROM, source and training code:
https://github.com/crashtheuniverse/chatgbc


r/FunMachineLearning • • Oct 31 '26

[P] Neurolume: see your PyTorch/Keras model as an interactive diagram and watch it train... (live training is very beta)

2 Upvotes

I built an open-source tool (MIT) that draws your model in the browser and shows it learning live (beta). It has loss curves, an overfitting check, predictions against the truth, and weights that brighten and fade as they change. A timeline lets you scrub back through the run. Whilst the training functionality is still very early phase the architecture visualisation works well for helping understand what your model actually looks like and supports creating multi model systems.

system.png (1600×900)

pip install "neurolume[torch]"
neurolume-demo --live

In your own code, it's neurolume.show(model, sample), or watch() plus live.log(step, loss=loss) while training.

It's early, so I'd love to hear what breaks.

GitHub: https://github.com/Freddie-Ellis/neurolume