r/deeplearning • • 16h ago

Seed: an experiment in building a small modular AI from scratch on a GTX 1660 Ti, looking for feedback

5 Upvotes

I'm not an ML researcher. I'm a decorative concrete contractor who got into this because I want my family to have capable AI we own and can run at home. My hardware is a GTX 1660 Ti (6 GB) with 16 GB of RAM, and I hold myself to a 2 GB budget for model weights. Quantized 7B to 27B models either didn't fit well or lost too much quality, so I started building something small from scratch instead. It's very much a work in progress.

The idea

Seed is a pool of small specialist models I call seeds, each about 4 to 10M parameters, all trained from scratch with a shared 4,096-token BPE tokenizer. Each seed is trained on one job, then frozen. A small router reads the context and picks which few seeds run, currently the top 3. Facts and arithmetic go to tools (a wiki search and a calculator) instead of being memorized, on the bet that a small model can be decent at deciding what to look up and how to use the result, even if it can't store much knowledge.

Current seeds (about 26M parameters, 50 MB at fp16)

  • A small general-language base trained on TinyStories
  • A tools and reasoning seed (search and calculator calls)
  • JSON and tool-call formatting
  • Turning tool results into short answers
  • Math word problems into plans plus calculator calls
  • Step-by-step reasoning chains

Training now: a word-problem planner (4.4M and 10M versions, to test whether size helps), a Python writer, a seed that writes code, runs it, and fixes errors, an instruction follower, and one seed each for C, JavaScript, PowerShell and shell.

Results so far, against Qwen 2.5 Coder 3B at Q4 as a reference point. These are my own small evals, 20 items each, so take them loosely:

  • Fact questions with a search tool: Seed 18/20. Qwen scored 0, but that's mostly because it never called the tool in my setup, so it isn't a fair knowledge comparison.
  • Held-out GSM8K word problems: Seed 2/20, Qwen 9/20.
  • My 20-problem Python test: Seed 0/20, Qwen 15/20.
  • Valid JSON output: 100% with top-3 routing.
  • Speed: about 27 tok/s on the GPU and 36 tok/s on the CPU.

So right now it's fast and tiny, decent at tool-shaped tasks, and clearly behind on reasoning and code. Those gaps are what the current seeds are aimed at.

Open questions I'd love input on

  • Is the frozen-specialists-plus-router approach a dead end compared with one dense model of the same total size?
  • What's a better routing scheme than top-k from context? I'm considering a dynamic number of seeds based on router confidence.
  • What are good small, clean datasets for planning and code repair?
  • How would you evaluate this fairly against bigger models that weren't built around tool use?

Eventually I'd like to test it on hackmud, a text-based hacking game, as a long-running benchmark, and maybe run it on a phone.

Repo: github.com/SocioSanity/seed

Thanks for reading. Criticism is welcome.


r/deeplearning • • 23h ago

Perceora - training and comparing object detectors on your own GPU, with no code

1 Upvotes

Perceora is an end-to-end AI computer vision platform with no code. This film builds an object detection check for a tray of parts, with the focus on training and picking the model.

https://perceora.ai

The steps in the film:

  1. Label: add images (blurry and near-duplicate shots are flagged), label a few, and the AI suggests the rest.
  2. Train: train several object detection models on the same labeled images, on your own GPU.
  3. Validate: compare them on validation images, not on the training data, and pick the best.
  4. Test: check it on images it has never seen and go through the mistakes image by image, to see which class fails before trusting the score.
  5. Deploy: count each part, then PASS or FAIL, on new images, a folder, a video or a live camera.

Image classification, segmentation and anomaly detection are in the same app, and it runs on your own computer. Free to start; Pro (shown in the video) is a paid plan: perceora.ai/pricing

When two detectors score almost the same on validation images, how do you choose between them?

Disclosure: I work on Perceora. Synthetic images, computer-generated voice.


r/deeplearning • • 8h ago

In Other News: Tanker Cyberattacks, EU Quantum Act, New VirusTotal Capabilities

3 Upvotes

The EU Quantum Act passed, VirusTotal added new threat-intelligence capabilities, and a rash of tanker cyberattacks hit maritime infrastructure this week. The piece that keeps coming up in security circles is quieter: AI is compressing the timeline on cryptanalytic attacks against classical schemes. The assumption baked into most long-lived data stores and signed artifacts is that RSA and ECDSA hold for the foreseeable future. That floor is shifting. Harvest-now-decrypt-later attacks mean adversaries do not need to break crypto today — they collect ciphertext now and wait for the compute curve to catch up. The EU Quantum Act signals that regulators have already priced this in and expect organizations to have a migration path. Most enterprise infrastructure does not. TLS termination, signing pipelines, secrets managers, and inter-service auth tokens are almost universally classical. Migrating any one of them is a multi-team project; migrating all of them simultaneously while keeping services running is an unsolved operational problem for most shops. How are practitioners actually sequencing this in real environments — are you prioritizing data-at-rest, in-transit, or signing infrastructure first, and what is forcing that order?


r/deeplearning • • 16h ago

Rubiks cube solver using Reinforcement Learning (Beating Sebastian Lague's solver)

Thumbnail reddit.com
3 Upvotes

r/deeplearning • • 3h ago

Your LLM is LYING to you. Here's how to fix it.

Thumbnail youtube.com
1 Upvotes

I built a Hello World RAG App in Python

Normal LLM = Answers from training data (can hallucinate)

RAG LLM = Answers from YOUR documents

I asked it Saudi it didn't say Saudi Arabia.

It said "Contractor at Saudi Aramco" - because it read MY LinkedIn PDF.

This is how it works:

  1. Load PDF
  2. Split into Chunks
  3. Create Embeddings (Google Gemini)
  4. Store in ChromaDB
  5. Search Top 3 Chunks
  6. Send Context + Question to Groq LLM

Tech: Python + LangChain + ChromaDB + Groq + Gemini Embeddings

Save this for your next interview

Comment "RAG" and I'll send you the full code + next part.

Follow for AI Engineer series - Part 2 coming next.