Machine Learning Mexico (@mexico_ml) header
Machine Learning Mexico (@mexico_ml) profile picture

Machine Learning teorico. O trabajas, desarrollas, organizas o simplemente te diviertes haciendo cosas de ML en México, te invitamos a que nos las compartas!

Mexico
Joined March 2019
Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)Photo by Machine Learning Mexico (@mexico_ml)
Machine Learning Mexico retweeted
An open-source 9B model with a 1M-token context and an Apache 2.0 license has just been released on Hugging Face. It’s designed to run on a single consumer-class GPU, such as the NVIDIA RTX 5090. This model breaks the "Compute Wall" and the "Memory Wall," achieving 3.5× faster inference and significantly lower KV-cache overhead compared to dense baselines. This is no longer an "either-or" choice between performance and efficiency. How? Full Attention mechanism's computational complexity grows quadratically with length, making edge-side long-text inference "slow and memory-intensive." Solution: MiniCPM-SALA adopts a golden ratio of 75% Linear Attention + 25% Sparse Attention. MiniCPM-SALA (9B) is OpenBMB’s long-context model aimed at running 1M to 2M tokens on a single GPU without the memory spikes and OOM failures common with dense full attention. The main idea is a sparse plus linear hybrid that keeps long-range recall accurate while keeping cost manageable as context grows. - Architecturally, about 25% of layers use InfLLM-V2 style sparse attention for high-fidelity long-range retrieval, while about 75% use Lightning linear attention, so compute scales close to linearly with sequence length. Instead of a uniform interleave, the sparse layers are placed via a 1:3 layer-selection pattern. - For positional handling and stability, SALA uses hybrid positional encoding (HyPE): RoPE stays in the linear layers but is removed in sparse layers to avoid long-range decay, and it adds QK-normalization plus output gating to improve stability and reduce attention-sink behavior. - Training is done by converting a pretrained Transformer, not training from scratch. It starts from a MiniCPM-4.0 intermediate checkpoint trained on 7T tokens, then applies HALO conversion, keeping the 1st and last layers unconverted and initially training only the converted linear layers. Conversion plus post-training totals about 2T tokens, framed as about a 75% cost reduction versus an 8T scratch run, with context ramping from 512 to 4K, then to 32K, 160K, and 520K, followed by SFT at 64K and 140K. Reported results keep standard performance strong (76.53 average, HumanEval 95.12, AIME24 83.75, AIME25 78.33) While improving long-context behavior (RULER 92.65 at 64K, 89.37 at 128K). It also reports single-GPU 1M-token inference where Qwen3-8B OOMs, 256K TTFT, improving from 180.8s to 51.6s, and RULER holding at 86.3 at 1M and 81.6 at 2M without YaRN. Go to Hugging Face/GitHub to test the model capabilities yourself.
20
65
5
576
48,793
Machine Learning Mexico retweeted
Extracts text from images instantly. 99% OCR accuracy. Production-ready document digitization. Zero manual typing.
42
388
16
4,752
196,772
🧠🔬 What if your next research breakthrough was just one triplet away? Introducing Sabia v1.0: an AI-powered biomedical knowledge discovery platform built for researchers, clinicians, and bioinformaticians (API available). sabia.short.gy/AID
1
1
24
4 days before the deadline -- Welcome to submit to this ARR Jun 15, and later commit to our #EMNLP2024 Workshop on NLP for Positive Impact! We welcome any work that explores how to use #NLProc and #LLMs to help social issues!
Excited for our 3rd NLP for Positive Impact Workshop at #EMNLP2024 in Nov, Miami! We have a strong team of speakers and organizers. ➡️Our "Call for Papers" adopts the June 15 ARR cycle, and you can commit to us by Aug 20 -- Welcome all! sites.google.com/view/nlp4po… @emnlpmeeting
5
7
2,799
Machine Learning Mexico retweeted
*Topological Deep Learning is the New Frontier for Relational Learning* Very happy to have been part of this position paper to appear in #ICML2024 where we summarize all the opportunities (and challenges) awaiting TDL in the next years! arxiv.org/abs/2402.08871
4
48
1
243
20,017
Machine Learning Mexico retweeted
Logistic bifurcation
47
4
548
33,825
Machine Learning Mexico retweeted
Maximizing mutual information (MI) is a fundamental problem. We’re releasing a package for approximately maximizing MI between any two discrete distributions. This package enables high-throughput perfectly secure steganography with language models. 1/N github.com/ssokota/mec
3
38
5
209
37,905
Machine Learning Mexico retweeted
Efficient parallel GPU-friendly batched #PyTorch implementation of edit distance (Levenshtein distance). The trick is to go diagonal. I have rarely seen it implemented this way.
2
18
1
215
19,092
Machine Learning Mexico retweeted
"Hallucinations must occur at a certain rate for language models that satisfy a statistical calibration condition appropriate for generative language models." Paper - Calibrated Language Models Must Hallucinate
4
34
1
145
16,325
Large Language Models Must Be Taught to Know What They Don't Know abs: arxiv.org/abs/2406.08391 Prompting is not enough for LLMs to produce accurate estimates of its uncertainty of its responses, but can be finetuned with as little as 1000 examples and outperform baselines for estimating LLM uncertainty.
9
129
7
715
74,902
Machine Learning Mexico retweeted
Can ChatGPT be a no-code solution for data science? How I analyzed a completely unknown data set in under 5 minutes. 🧵
2
60
2
283
39,349
Machine Learning Mexico retweeted
Is hallucination in LLMs inevitable even with an idealized model architecture and perfect training data? This work argues YES and offers a formal proof. Let's dig in ⤵ 🧵1/n
14
68
11
320
59,355
Do grant proposal texts matter for funding decisions? A field experiment Spoiler alert...NO! #Grants #academia
32
603
197
1,955
509,726
Machine Learning Mexico retweeted
Fast Exact Retrieval for Nearest-neighbor Lookup (FERN) Proposes an algorithm for fast exact vector retrieval, inspired by kd-trees, that achieves logarithmic time complexity with 100% recall for high-dimensional vectors. 📝arxiv.org/abs/2405.04435 👨🏽‍💻github.com/RichardZhu123/fer…
1
23
118
7,752
Machine Learning Mexico retweeted
🚨BREAKING: tentative ruling in AI copyright lawsuit is FAVORABLE to artists @SarahCAndersen, @kortizart & @Kelly_McKernan, allowing discovery to proceed. Quotes: "Beyond the Training Images theory (that suffices for direct infringement as to Stability, Runway, and Midjourney), plaintiffs have plausibly alleged facts to suggest compress copies, or effective compressed copies albeit stored as mathematical information, of their works are contained in the versions of Stable Diffusion identified. At this juncture, plaintiffs should be allowed to proceed with discovery. The facts regarding how the diffusion models operate, or are operated by the defendants, should be tested at summary judgment against various direct and induced infringement theories and precedent under the Copyright Act." - "I am inclined to GRANT the motions to dismiss all DMCA claims. (...)" - "I am inclined to DENY Midjourney’s motion to dismiss the false endorsement and trade dress claims." ➡️This is an extremely important lawsuit that might change copyright law in the age of Generative AI. ➡️Link to the tentative ruling below. ➡️For more info on AI lawsuits, subscribe to my weekly newsletter.
8
197
33
680
158,735
Machine Learning Mexico retweeted
This is the best new AI tool for research. Just upload a PDF file, ask a question, and get an answer in seconds. It's like ChatGPT, but built for researchers. Try it for free.

952
62
5,818
50,081,305