r/deeplearning • • Oct 30 '26

Why Torch dominates Tensorflow?

112 Upvotes

I have been used Tensorflow since its version 1.X (1.8 was my first tensorflow as i remember).

So i started from graph based building modeling, staying as much away from 'python' as possible.

Keras keeps its philosophy, even under different interfaces.

At that time, torch was more python-oriented, not optimized for graph building, so i never considered using it; running epochs on python loop seems crazy in negative sense

Recently i had to use torch, since huggingface ecosystem is mostly built on torch. I have no idea why torch have been taken over tensorflow.

I know tensorflow now is not even a competitor to torch. Please give your opinions :)


r/deeplearning • • Oct 31 '26

Affordable ML model training and fine-tuning for students and researchers (PEFT, CV, deep learning)

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 31 '26

Is Lambda GPU Cloud down?

0 Upvotes

The GPUs are up but the frontend and API seems down, and I cannot even shutdown my instance while it is running.


r/deeplearning • • Oct 30 '26

Ollada - The Ollama for Diffusion Text Models

Post image
8 Upvotes

r/deeplearning • • Oct 31 '26

I made a fake AI lab with a real language model that only learns sentences people pay $5 to teach it

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 30 '26

BlueprintML — An open source project for AI/ML papers

Post image
2 Upvotes

r/deeplearning • • Oct 30 '26

Cathay Pacific Says Amadeus Breach Exposed Data From 53,000 Bookings

0 Upvotes

Cathay Pacific confirmed that a breach at Amadeus, a third-party travel technology provider, exposed records from 53,000 passenger bookings. The entry point was compromised credentials at the vendor level, not a flaw in Cathay's own systems.

This is the pattern that keeps getting harder to manage as AI pipelines mature. Sensitive traveler data moves routinely through personalization engines, fraud-detection models, and recommendation systems that call out to multiple downstream vendors. The actual data exposure happens at whichever hop an attacker lands on. The originating airline or operator may have clean internal controls and still end up in the headline.

The 53,000 figure is also likely a floor. The realistic exposure window covers everything that moved through that integration before the breach was discovered and contained, and in most architectures, reconstructing exactly what transited which vendor during that window is extremely difficult or impossible after the fact.

For those running AI systems that process passenger or customer PII through third-party integrations: how are you limiting what raw data actually reaches a vendor endpoint? And if a vendor credential is compromised right now, can you tell within an hour exactly which records moved through that integration and which did not?


r/deeplearning • • Oct 30 '26

Studying Large Language Models in retrospect

8 Upvotes

Generally, in machine learning, we move from CNNs to ResNets. And then in parallel, we study about how RNNs evolved out of state space modelling —> HiPPO —> Mamba etc.

But in science, learning it alongside the historical evolution of these models need not be the best way to understand it intuitively. I have seen peple describe outer product memory update for key/Value embedding and then working our way up to attention as another form of learning.

How would you suggest someone who loves linear algebra and graphs to intuitively build up an understanding of this?


r/deeplearning • • Oct 29 '26

LLM = Overhyped

Post image
134 Upvotes

(meme only, plz take nothing personally) A meme regarding on algorithms used for computer vision video tasks. (object Tracking). By LLM I meant using Transformers Architecture from the (2017 attention is all you need paper)


r/deeplearning • • Oct 30 '26

I dpo post-trained llama-3.1-8b to be 100% more robust against jailbreaks (and measured what it costs)

Thumbnail gallery
0 Upvotes

r/deeplearning • • Oct 29 '26

Arc: a ~70 MB streaming speech model that transcribes links names and metadata to your own list as they're spoken, with no second model

15 Upvotes

I built Arc-Transcriber, which does ASR-NL in 1-step. Every 100 ms, one model returns the transcript plus:

- Names linked to a list you give it (a roster, contacts, product names); new names are flagged "not on the list"
- Numbers with their values (scores, clocks, money, dates)
- Speakers and roles;
- Sound and channel events (telephone audio, clipping, poor audio)
- Whether the speech was addressed to an assistant.

200+ labels are trained heads on the shared encoder states: queries per frame, span, utterance, speaker and event, emitted every 100 ms.

The usual ASR, then NER, then entity-linking and then LLM chain is collapsed into the model's own heads, so live "fact-checking" against your list happens inside the stream, not in a second pass.

Currently it has two variants Arc mini (which uses moonshot pretrained encoder) and second Arc-v1 (which uses parakeet pretrained encoder).

Weights: huggingface.co/WhissleAI/arc-v1.1
Code and CLI: github.com/WhissleAI/arc_transcriber

We use it on-device in our Mac app. Voice search over 61k books primes Arc with matching titles while you're still talking. Here is a video to give a glimpse on how it works.


r/deeplearning • • Oct 30 '26

Building a Code-Switching Language Model: My Ongoing Experiment I've been working on an experimental language model focused on code-switching, particularly the ability to understand and generate text that combines multiple languages within a single sentence or conversation. The motivation behind t

Thumbnail gallery
1 Upvotes

r/deeplearning • • Oct 30 '26

Black Duck launches AI agent to fix vulnerabilities as fast as attackers exploit them

6 Upvotes

Black Duck just shipped an AI agent that identifies and patches vulnerabilities at machine speed — fast enough to outpace active exploitation windows. The capability is real and the use case is legitimate.

But the same speed that makes the agent useful is what makes it dangerous if something goes wrong.

An agent operating at that tempo does not wait for human review between actions. It calls tools, writes code, opens PRs, and pushes changes in sequence. If that agent is compromised, misconfigured, or fed a malicious payload through a dependency scan result, its second action can land before any human notices the first one was wrong.

The hard number from the announcement is 50ms — the window the agent is designed to close against attackers. That same 50ms is now the window you have to catch the agent itself before a bad action propagates through your codebase or supply chain.

Most security tooling was built to inspect humans or static artifacts. It was not designed to evaluate live agent actions mid-execution against a policy that knows what that specific agent is supposed to be allowed to do.

How are teams actually handling this today? Are you gating on CI/CD after the agent runs, building per-agent allowlists, relying on human review of the PRs it opens, using a separate monitoring layer, or something else entirely?


r/deeplearning • • Oct 29 '26

[Anomaly Detection] PatchCore on Orange line 🍊

32 Upvotes

r/deeplearning • • Oct 29 '26

I trained LLaMa from scratch

41 Upvotes

I trained the LLaMA model from scratch. Implemented RoPE, grouped-query attention, RMSNorm, SwiGLU, and KV cache with batched inference.Used Umar Jamil's great video on LLaMA for learning. Used three datasets for training: 1. tiny-shakespeare (character-level), to check that everything was working fine; 2. TinyStories-v2, a 41M-parameter model; 3. FineWeb, a 125M-parameter model trained on 5.27B tokens on 2x A5000 GPUs for 11 hours.

From few time I am also learning and implementing RL algorithms. I think the next project will be an RLHF one. But I have to look at what model I can fit on my GPU.


r/deeplearning • • Oct 30 '26

[Tutorial] Bedrock AgentCore Multi-Agent Orchestration

1 Upvotes

Bedrock AgentCore Multi-Agent Orchestration

https://debuggercafe.com/bedrock-agentcore-multi-agent-orchestration/

When working with LLM agents, it is a common practice to have different agents for different tasks. In complex and long-running workflows, the orchestrator-worker agent pattern works well. In this, there is a primary orchestrator agent that delegates tasks to different worker agents, compiles the final answer, and passes it to the user. The benefit of this is that each agent does not need oversight into the context of every other agent, and they focus on their granular tasks & tools only. In this article, we will achieve a simpler but similar workflow. We will use Bedrock AgentCore along with LangGraph for multi-agent orchestration.


r/deeplearning • • Oct 29 '26

vprojectx/Lewis-44M-Bert-V3 · Hugging Face

Thumbnail huggingface.co
2 Upvotes

I trained a BERT-style language model from scratch on ONE laptop GPU.

Lewis-44M-Bert-V3: small, fast, open source (Apache-2.0).

HOW IT WAS BUILT

• 44M parameters, ELECTRA-style pre-training

• 2.7B tokens in ~22 hours on a single RTX 5050 (8 GB)

• ~53 GPU-hours across all three versions, no cloud cluster

• Data: FineWeb-Edu, Wikipedia, Project Gutenberg, news, Cosmopedia and ELI5-style Q&A

v1 → V3 (SAME SIZE)

GLUE dev average: 75.0 → 80.5

Improvements: a better training objective (V3 was trained from scratch, not fine-tuned from v1) and a better fine-tuning recipe, with no extra parameters.

V3 RESULTS

• GLUE: 80.5 dev | 77.6 on the official test server (8 tasks)

• SQuAD v1.1: 75.2 EM / 83.8 F1

• NER (CoNLL-2003): 87.8 test F1

• Speed: ~17 ms per sentence on GPU, under 600 MB memory

I share both dev and test scores, plus the exact settings, because a model card should be honest.

Built for classification, question answering, entity extraction and on-device use: it fine-tunes on a laptop and runs on CPU.

This is part of vprojectx, my open-source lab, where I build and share my projects in the open. Find the model on Hugging Face as vprojectx/Lewis-44M-Bert-V3.

More is coming. If you want to try it on your use case or collaborate, message me.

#MachineLearning #NLP #AI #OpenSource #HuggingFace


r/deeplearning • • Oct 29 '26

Field guide: five loss-curve symptoms, the likely causes, and the first check for each

3 Upvotes

A list I’d keep next to a training run. These are likely causes, not certainties, and the first check is the cheapest thing to try.

1. Loss is NaN or inf

  • Likely causes: learning rate too high; log(0) or a division by zero in a custom loss; overflow in mixed precision; bad values in the data.
  • First check: run a few steps with a much lower learning rate, check the inputs and labels for NaN, and enable your framework’s anomaly detection to find the first op that produces it.

2. Loss starts flat and stays there

  • Reference point: for cross-entropy with C balanced classes, the loss at random initialization is about ln(C), for example ln(10) ≈ 2.30. Staying at that value means the model isn’t learning anything.
  • Likely causes: learning rate far too low (or too high), frozen parameters, gradients not flowing (detached tensor, missing zero_grad or step), labels misaligned with inputs, inputs not normalized.
  • First check: try to overfit a single small batch. If the loss can’t go close to zero on 8 or 16 examples, the problem is in the code or the setup, not the data volume.

3. Train loss falls, validation loss rises

  • Likely causes: classic overfitting; the validation set is much easier or harder than the training set; a distribution shift between splits.
  • First check: compare the two splits’ basic statistics, add regularization or early stopping, and check that augmentation is only applied to training data.

4. Validation looks suspiciously good

  • Likely causes: leakage. Near-duplicate or identical examples across splits; splitting after augmenting; splitting rows when the unit should be a user, patient or video; using future information in time-ordered data.
  • First check: look for exact or near-duplicate items between train and validation, and re-split by the right group.

5. Validation loss is lower than training loss

  • Likely causes: not always a bug. Dropout and augmentation are active during training but not validation. The training loss is often averaged over the epoch while the model is still improving, and validation is measured at the end. A small validation set can also be easy by chance.
  • First check: evaluate the training data in eval mode, to compare under the same conditions.

A habit that helps: log a few things on every run (the seed, the data split identifier, the config), so a strange curve can be reproduced before you start guessing.

Caveats: curves depend on the task, the optimizer and the schedule, and several of these can happen together. Treat the list as a way to order your checks, not as a diagnosis.

What would you add, and what’s the first thing you check when a run looks wrong?


r/deeplearning • • Oct 29 '26

Our 27B model just out-tutored GPT-6 Sol and Opus 5.5. Here's our free data to train your own!

Post image
2 Upvotes

r/deeplearning • • Oct 29 '26

What is the smallest parameter model that can generate a 10 second video?

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • Oct 29 '26

Machine Studying with Jacob X. Li - Weaviate Podcast #148!

1 Upvotes

What should 24/7, "always-on" agents actually be doing when nobody is asking them anything? 📚🤖

I am SUPER EXCITED to publish the 148th episode of the Weaviate Podcast featuring Jacob X. Li, a Ph.D. student at MIT! 🎙️

Jacob's paper frames the answer as Machine Studying: like a student preparing for an exam they haven't seen, an agent studies a corpus (a code base, a pile of drug discovery papers, a system's logs) without knowing the downstream tasks, and still has full access to that corpus at test time.

Instead of leaning entirely on inference-time compute, the way Claude Code explores a repo from scratch every time, can an agent build arbitrarily deep understanding ahead of time?

I loved the paper's definition of expertise: an expert efficiently turns inference-time search into accurate work, measured as the area under the performance-vs-compute curve of a ReAct agent loop. Go one level higher and you get studying intelligence, which is expertise as a function of study-time budget!

Jacob lays out three bets every studying method makes: synthetic data, weight updates (LoRA, KV-cache cartridges, a trained retriever), and amortized context like notes and cheat sheets. Cheat sheets helped on DSPy but less on the larger, newer OpenClaw code base, so weights vs. context is still wide open!

We also discussed why evaluation as a science matters once recursive self-improvement happens in domains with no benchmark at all.

This was a super fun conversation, I learned so much from Jacob, and I really hope you find it interesting!

YouTube: https://www.youtube.com/watch?v=9iZIl0vZvvk

Spotify: https://spotifycreators-web.app.link/e/VfMAd8tjD7b


r/deeplearning • • Oct 29 '26

Ultra-lightweight time series model FITS beats giant AI with 10,000 parameters #parameters #Huge #AI #edgeAI #timeseries

Thumbnail youtube.com
1 Upvotes

Description: The FITS model achieves state-of-the-art performance with only 10,000 parameters using complex frequency domain interpolation and a low-pass filter. It drastically reduces computation and memory compared to existing large models, enabling real-time time series analysis on edge devices. We explain the innovative rFFT-based architecture and core principles in an easy-to-understand manner.


r/deeplearning • • Oct 29 '26

Workshop Tomorrow: Using lightweight encoders and conformal prediction for efficient AI inference

1 Upvotes

hey everyone! sharing this for anyone interested in efficient inference and practical model architectures.

a lot of AI applications rely on large generative models even for relatively simple tasks.

but lightweight encoder models can often handle classification, routing and other structured predictions with lower computational requirements.

the interesting challenge is knowing when those predictions are reliable enough.

Packt is running a hands-on workshop tomorrow, Oct 30, with Ben Auffarth that explores this using:

  • lightweight encoder models running on CPUs
  • conformal prediction for uncertainty estimation
  • deterministic workflow design
  • LangGraph orchestration
  • selective LLM escalation
  • latency and reliability benchmarking

it's a 3-hour online workshop focused on practical implementation.

full details: https://www.eventbrite.co.uk/e/deterministic-ai-on-cpus-encoders-conformal-prediction-langgraph-tickets-2002549410193?aff=rdl&discount=RDT25

thought this might be interesting for people exploring more efficient AI architectures.


r/deeplearning • • Oct 29 '26

I'm 13 and fine-tuning a decision model for JevBench — has anyone evaluated calibration on the public-231 set?

Thumbnail reddit.com
0 Upvotes