RSSAmplifier

Blog

Machine Learns

/RSS feed ↗199 posts

Latest posts

I let an AI agent do architecture research on my GPT repo

For the past two weeks, an AI agent ran autonomous architecture research on BlaGPT , my GPT-2-scale playground for testing LLM techniques. It ran about 100 short proxy experiments and 22 full training runs, implemented techniques from papers, kept its own ledger, and pushed everything to the repo. Validation loss went from 3.2354 to 3.1965. The agent is Keche, my personal AI assistant that lives…

LeCun's World Models Talk - What Holds Up and What Doesn't

Yann LeCun gave a talk at ETH Zürich last week, “World Models: Enabling the next AI revolution”. I went through the whole thing and checked his claims against the actual papers. Here is where he is right, where he overreaches. The talk is his standard world-models pitch, updated with new results from 2025: LeJEPA/SIGReg, V-JEPA intuitive physics, and the launch of his startup AMI Labs. It is also,…

Model check - DeepSeek-V3.2-Exp - Fine-Grained Sparse Attention for Efficient Long-Context LLMs

Efficient large language models have driven various architectural innovations—from mixture-of-experts to quantization techniques. Attention mechanisms remain the core computational bottleneck in transformers, and optimization typically degrades output quality. Most sparse attention approaches make coarse-grained trade-offs, sacrificing model capability for speed. DeepSeek-V3.2-Exp uses a…

MiMo-Audio - Scaling Speech Pre-Training to 100 Million Hours Unlocks Few-Shot Learning

MiMo-Audio is Xiaomi’s 7B parameter model that processes speech and text through a unified architecture. Trained on 100+ million hours of audio data—10x larger than existing open-source models— that results in emergent capabilities like voice conversion, speech translation, and cross-modal reasoning through few-shot learning, demonstrating speech scaling laws similar to text language models.…

VibeVoice - Next-Token Diffusion Meets Long-Form Speech Generation

VibeVoice: Next-Token Diffusion Meets Long-Form Speech Generation TL;DR for the Busy Reader: VibeVoice generates up to 90 minutes of multi-speaker conversational audio using next-token diffusion Introduces ultra-efficient speech tokenizers operating at 7.5 Hz (3200× compression vs. 24kHz audio) Combines Qwen2.5 language models with token-level diffusion heads for streaming synthesis Outperforms…

Model check - NVIDIA Nemotron Nano 2 - An Efficient Hybrid LLM that Beats Reasoning Benchmarks

The race for more capable large language models has largely been about scaling—bigger models, more parameters, more compute. NVIDIA’s Nemotron Nano 2 challenges this paradigm with a hybrid architecture that achieves competitive performance through architectural innovation rather than brute-force scaling. The Architectural Revolution Nemotron Nano 2 introduces a hybrid layer pattern that combines…

Model check - KyutaiTTS - Streaming Text-to-Speech with Delayed Streams Modeling

Text-to-Speech (TTS) systems have traditionally struggled with the trade-off between quality and latency. Most high-quality systems require processing the entire text before generating audio, while streaming approaches often sacrifice naturalness. KyutaiTTS breaks this paradigm with a novel approach that delivers high-quality, streaming audio generation with unprecedented low latency. The…

Higgs Audio V2 - Unified Audio Language Modeling at Scale

Speech synthesis has evolved rapidly, but most systems still struggle with natural expressiveness and multi-modal understanding. Higgs Audio V2 addresses these limitations through a unified architecture that treats audio as a language, enabling emergent capabilities like multi-speaker dialogues and prosody adaptation without explicit training. The Challenge Traditional text-to-speech systems…

Paper notes - Merging LLMs at Pre-training, Considering Token Probabilities at RL

Here are two papers that target: Paper1: improving pre-training performance of an LLM by merging model checkpoints along the training trajectory and Paper2: improving post-training RL efficiency by avoiding the low-probability token dominance. Model Merging in Pre-training of Large Language Models What’s new Pre-trained Model Average (PMA) strategy for model merging during pre-training of large…

BlaGPT notes on Softpick, Canon Layers, Parallel Transformer

Recently, I’ve been testing different architectural modifications in my BlaGPT benchmark to see how they affect performance. I wanted to share what I’ve learned about three interesting techniques: Softpick, Canon Layers, and Parallel Transformer blocks. Softpick: A Different Approach to Attention Softpick offers an interesting alternative to the standard softmax function in attention blocks. It…

A Simple Way to Switch Audio Codecs in Audio Language Models

When working with language models for audio tasks, switching between different audio representations can be challenging. Let’s say you have a text-to-speech model using a particular audio codec, and a new codec comes along with better quality. The obvious approach would be to retrain your model with the tokens from this new codec. However, language models are typically large and training them from…

Solving an ML Research Problem

Study the Problem Describe the problem in detail Identify inputs and outputs of the system Identify the business context and goals. Identify the constraints and assumptions. Identify the stakeholders and ensure that everyone is on the same page about all the above. Define the Metric Define a single value performance metric for evaluation. Ensure that the metric is aligned with your goals. When…

Goods and Bads of Being Open Source AI Company

Having dedicated the last half-dozen years to an open-source AI, here are my insights on the pros and cons of operating as an open-source organization. This article is a reflection of my experience. I welcome you to participate in the conversation, regardless of your agreement or disagreement with any points. Feel free to reach out at any time. Goods Easier to reach your users Cool models and…

Training XTTS for Voice Conversion

Here I wrote a short note on my experiment with training XTTS for Voice Conversion. Briefly here is what I tried: Use quantized Hubert as content encoder to extract speaker-independent content features. Replace the text conditioning in the XTTS with the content features. Train the model with speech to speech manner. Source speech is quantized with Hubert and used to condition the model along side…

XTTS v2 Notes

🐸 Github 🤗 Demo 🤖 Model card 💬 Discord We recently released XTTSv2 with 🐸TTS v0.20, and here I go over the relevant details of the model. XTTSv2 uses the same backbone as XTTSv1. It is a GPT2 model that predicts audio tokens computed by a pre-trained Discrete VAE model. The core update is changing the way we condition the model on the speaker information with a Perceiver model. In our model,…

XTTS v1.1 and 🐸TTS v0.19 updates

🎮 XTTS Demo 👨‍💻 XTTS Code 💬 The XTTS v1.1 version now includes Japanese, along with some model enhancements and a fresh vocoder. As a result, this iteration of XTTS can now speak in 14 languages with improved quality, One of the common complains with XTTS v1 revolved around the recurrence of prompts in the output audio. The principal reason for this was that the model was trained by…

A Review for Transformer Variants

In this article, I will explore various alternatives to transformers, considering their architectural improvements, computational efficiency, and performance results across different benchmarks. I intend to continually update this post with new models in the future. If you believe there are any models or important points that should be included or any corrections that need to be made, please feel…

XTTS-v1 technical notes

"Smart electric cars in French, Rococo style, classical style, oil on canvas" XTTS v1 technical notes 🎮 XTTS Demo 👨‍💻 XTTS Code 💬 XTTS is a versatile Text-to-speech model that offers natural-sounding voices in 13 different languages. One of its unique features is the ability to clone voices across languages using just a 3-second audio sample. Currently, XTTS-v1 supports the following 13…

XTTS - the best open-source TTS

"Smart electric cars in French, Rococo style, classical style, oil on canvas" We recently open-sourced XTTS, the best open-source text-to-speech model we’ve released so far. XTTS uses the latest generative AI techniques to deliver faster, higher-quality speech in 13 different languages. It is now accessible with 🐸TTS. XTTS offers… Voice cloning with just a 3-second audio clip. Emotion and style…

Notes on Fine-tuning LLMs

Generated by Stable Diffusion" 👉 Subscribe to my Substack to get the latest news and articles. I recently dedicated some time to watching the new course on fine-tuning large language models offered by Deep Learning AI. I took notes during my viewing and would like to share them here. What is fine-tuning? Specializing LLMs, teaching a new skill instead of expanding its knowledge base. GPT4 is…

Potential risks and misuses of ChatGPT, today and tomorrow.

Generated by Stable Diffusion with “a robot handshaking with a human. (You can also see this on my substack .) Privacy violation Stealing private information (credit cards, passwords). Simply ask ChatGPT for bank login credentials, credit card numbers, social security numbers, etc. 🔗 News The advent of AI technologies like ChatGPT has raised significant privacy concerns. As these models interact…

TODOs for Effective ML teamwork at an early-stage startup

Generated by Midjourner - "A group of robots working together in a robot factory, French, Rococo style, classical style, oil on canvas" TLDL, Don’t create APIs for ML, just copy&paste. Test every line. If you aren’t sure about the design, test first. Always keep your experiments reproducible (lineage, data, code, baseline). Document everything. Be clear, and avoid abbreviations. Copy & paste ML,…

YourTTS - Swiss knife for Text-to-Speech

YourTTS The recent surge of new end-to-end deep learning models has enabled new and exciting Text-to-Speech (TTS) use-cases with impressive natural-sounding results. However, most of these models are trained on massive datasets (20-40 hours) recorded with a single speaker in a professional environment. In this setting, expanding your solution to multiple languages and speakers is not feasible for…

Finding the closest parent of a git branch.

git show-branch \ | sed "s/].*//" \ | grep "\*" \ | grep -v "$ ( git rev-parse --abbrev-ref HEAD ) " \ | head -n1 \ | sed "s/^.*\[//"

Using IPython and IPDB for Debugging

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. This is one of the things I always need but I forget. So here is a piece of mind to check back. pip install ipython pip install ipdb export PYTHONBREAKPOINT = ipdb . set_trace # this is to use…

Short Notes on GPT-3

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Original paper : https://arxiv.org/abs/2005.14165 It uses the same architecture as GPT-2. The largest model uses 170B parameters and trained with a batch size of 3.2 million . (Wow!). Training…

Solving Attention Problems of TTS Models with Double Decoder Consistency

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Model Samples: https://erogol.github.io/ddc-samples/ Colab Notebook (PyTorch): link Colab Notebook (Tensorflow): link Despite the success of the latest attention based end2end text2speech (TTS)…

Two Attention Methods for Better Alignment with Tacotron

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. In this post, I like to introduce two methods that worked well in my experience for better attention alignment in Tacotron models. If you like to try your own you can visit Mozilla TTS. The first…

Gradual Training with Tacotron for Faster Convergence

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Tacotron is a commonly used Text-to-Speech architecture. It is a very flexible alternative over traditional solutions. It only requires text and corresponding voice clips to train the model. It…

Recovering Lost Tmux Session

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. After a while of using tmux, you might see that you cannot reconnect it from another terminal windows with the error message error connecting to /tmp/tmux-1000/default (No such file or directory…

Irregular Regularization Methods.

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Mixup - https://arxiv.org/abs/1710.09412.pdf Shake and Shake - https://arxiv.org/pdf/1705.07485.pdf Mix Feat - https://openreview.net/forum?id=HygT9oRqFX Speed perturbation (ASR) -…

Using WSL Linux on Windows 10 for Deep Learning Development.

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. To explain briefly, WSL enables you to run Linux on Win10 and you can use your favorite Linux tools (bash, zsh, vim) for your development cycle and you can enjoy Win10 for the rest. It obviates…

Text to Speech Deep Learning Architectures

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Small Intro. and Background Recently, I started at Mozilla Research. I am really excited to be a part of a small but a great team working hard to solve important ML problems. And everything is…

Speech to Text Deep Learning Architectures

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Small Intro. and Background Recently, I started at Mozilla Research. I am really excited to be a part of a small but a great team working hard to solve important ML problems with a great deal of…

Setting Up Selenium on RaspberryPi 2/3

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Selenium is a great tool for Internet scraping or automated testing for websites. I personally use it for scrapping on dynamic content website in which the content is created by JavaScript…

Why cannot predict Bitcoin price with vanilla Machine Learning

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. I started to work on time series on stock market for fun. I like to see if an AI bot trading without a manual help is possible or is just a luring dream. Lately, I read a lot about the topic…

Online Hard Example Mining on PyTorch

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Online Hard Example Mining (OHEM) is a way to pick hard examples with reduced computation cost to improve your network performance on borderline cases which generalize to the general performance.…

How to use Tensorboard with PyTorch

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Let’s directly dive in. The thing here is to use Tensorboard to plot your PyTorch trainings. For this, I use TensorboardX which is a nice interface communicating Tensorboard avoiding Tensorflow…

Paper review: EraseReLU

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. paper: https://arxiv.org/pdf/1709.07634.pdf ReLU is defined as a way to train an ensemble of exponential number of linear models due to its zeroing effect. Each iteration means a random set of…

Designing a Deep Learning Project

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. There are numerous on-line and off-line technical resources about deep learning. Everyday people publish new papers and write new things. However, it is rare to see resources teaching practical…

Random Dilation Networks for Action Recognition in Videos

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Lately, we ( TwentyBN ) took a part in Activity Net trimmed action recognition challenge. The dataset is called Kinetics and recently released. It is a collection of 10 second YouTube videos.…

Installing OpenCV 3.2 to Anaconda Environment with ffmpeg Support

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Sometimes, It is really a mess to try installing OpenCV to your system. Nevertheless, it is really great library for any case of vision and you are obliged to use it. (No complain, just C++). I…

Paper Review: Self-Normalizing Neural Networks

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. One of the main problems of neural networks is to tame layer activations so that one is able to obtain stable gradients to learn faster without any confining factor. Batch Normalization shows us…

RaspberryPi Home Surveillance with only ~150 lines of Python Code.

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. I owned a Raspberry Pi long ago and it was just sitting in my tech wash box. After watching a Youtube session of creative Raspberry applications, with envy , I decided to try something by myself.…

Paper Notes: The Shattered Gradients Problem ...

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. paper: https://arxiv.org/abs/1702.08591 The whole heading of the paper is “The Shattered Gradients Problem: If resnets are the answer, then what is the question?”. It is really interesting work…

Duplicate Question Detection with Deep Learning on Quora Dataset

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Quora recently announced the first public dataset that they ever released. It includes 404351 question pairs with a label column indicating if they are duplicate or not. In this post, I like to…

Dilated Convolution

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. In simple terms, dilated convolution is just a convolution applied to input with defined gaps. With this definitions, given our input is an 2D image, dilation rate k=1 is normal convolution and…

Ensembling Against Adversarial Instances

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. What is Adversarial? Machine learning is everywhere and we are amazed with capabilities of these algorithms. However, they are not great and sometimes they behave so dumb. For instance, let’s…

Machine Learning Pathway

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Note : I regularly update this list. Machine Learning 101: I. Introduction to Machine Learning http://homepages.inf.ed.ac.uk/rbf/IAPR/researchers/MLPAGES/mltut.htm…

Paper Notes: Intriguing Properties of Neural Networks

This post was originally published on erogol.com (hosted on DigitalOcean) and recovered from the Wayback Machine after the original server was lost. Some formatting or images may differ from the original. Paper : https://arxiv.org/abs/1312.6199 This paper studies description of semantic information with higher level units of an network and blind spot of the network models againt adversarial…