惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
Recent Commits to openclaw:main
Recent Commits to openclaw:main
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
罗磊的独立博客
V
Visual Studio Blog
爱范儿
爱范儿
H
Help Net Security
J
Java Code Geeks
I
InfoQ
Recent Announcements
Recent Announcements
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Recorded Future
Recorded Future
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
GbyAI
GbyAI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
Scott Helme
Scott Helme
S
SegmentFault 最新的问题
S
Securelist
L
LINUX DO - 热门话题
Cyberwarzone
Cyberwarzone
C
Cisco Blogs
Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
博客园_首页
B
Blog
F
Fortinet All Blogs
AWS News Blog
AWS News Blog
V
Vulnerabilities – Threatpost
S
Secure Thoughts
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Forbes - Security
Forbes - Security
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Schneier on Security
Project Zero
Project Zero
Martin Fowler
Martin Fowler
C
Cybersecurity and Infrastructure Security Agency CISA
N
Netflix TechBlog - Medium
N
News and Events Feed by Topic

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
Playing with Genomics Foundation Models
Dillon de Silva · 2026-06-02 · via Hacker News: Show HN

The advent of transformer-based architectures has led to the development of foundation models across several fields, including that of genomics. However, understanding how such models can be utilised for downstream applications to solve central problems in bioinformatics can be a challenging task for those without relevant domain knowledge. I believe that whilst there is this knowledge gap between ML and biology, bridging it is precisely what unlocks our ability to solve the most important, hard problems.

On a personal note, looking into how ML is applied to genomics has been on the back-burner for some time. This self-curiosity and plausible existence of a knowledge gap have motivated me to help try to improve the context around how genomic foundation models can help in downstream applications. To do this, I’ll aim to provide a brief overview into some of these core problems within the context of a SoTA architecture, the Nucleotide Transformer. We will unpack the following:

  1. What does genomic sequence data look like?

  2. How does the pre-training stage of such a model work and what are some genomic specific processes that take place (e.g. k-mer tokenisation)?

  3. What downstream problems can be solved by such models?

  4. Code walkthrough: We will take an existing genomic foundation model and probe its ability on a central bioinformatics problem.

You are probably aware that DNA is a fundamental molecule that encodes the instructions for how to build life. In this section, I would like to offer a brief primer on the structural components of DNA.

DNA plays a crucial role in instructing how proteins within our body are created however, it does not directly perform any cellular function. Instead, DNA is transformed into RNA which can then be passed through small, organelle machinery within our cells called ribosomes. When RNA goes through ribosomes, we then obtain functional proteins.

When we look at the composition of DNA molecules, they are built from small repeating units called nucleotides. Each nucleotide consists of three smaller, molecular parts: a sugar molecule, a phosphate group and importantly, a base. Within these base molecules is the encoding of actual genetic information, only formed from four different types of chemicals:

  • Adenine (A)

  • Thymine (T)

  • Guanine (G)

  • Cytosine (C).

DNA is famously double-stranded, meaning two of these nucleotide chains run alongside each other in the shape of a double helix. The strands are held together because each base on one side pairs up with a specific partner on the other, specifically:

  • A always bonds with T

  • G always bonds with C

  • We call these connections base pairs AND since each strand determines the other entirely, computational models typically operate over just a single-stranded representation (i.e. one strand carries all the information needed.)

From just these four bases, we can combine them in nearly endless ways to specify different proteins and in the grand scheme of matters, encode for the diverse nature of life.

Whilst there is a vast space of genomics related problems that can be solved through bioinformatics, I would like to use this section to help readers start to view a single, genomics problem through an ML engineering lens. To do this, we will take a look at a classification problem in genomics and then frame how a SoTA foundation model can help. My hope is that out of this section, you will gain an intuition for ML genomics sequence modelling problems and how new technology can more powerfully solve them.

Given a genomic sequence, a core problem in ML is to determine whether the sequence is a region where transcription begins. Specifically, this is a site in a sequence where RNA polymerase can bind onto to begin creating mRNA. It is possible to frame promoter region identification as a binary classification problem that has the following structure:

Simple illustrated pipeline of the promoter region classification problem in ML

Some of the earliest approaches to this problem involved identifying handcrafted, biology-informed features such as TATA sequences and CpG islands within sequences. DeePromoter is an older model that solved this problem whilst also offering a nice overview of prior approaches in their paper. I recommend reading this paper to better understand the relevance of the promoter region identification problem.

The promoter region identification problem is just one of several other core problems in bioinformatics. For instance, genome sequences also contain splice sites which guide which regions we can copy in order to produce a functional protein. Identifying these sites is critical for understanding how pre-mRNA is processed into mature mRNA through splicing [3]. My early learnings in this topic so far have led me to believe that you can generalise how ML is applied to genomics in the following sense:

  1. We have an input genomic sequence which put more concretely is a string of some arbitrary length

  2. We wish to predict certain biological properties of such sequences

Looking at the downstream tasks dataset for the nucleotide transformer was quite helpful as it shows some of the other possible use cases.

Whilst it is possible to take a traditional classifier and effectively use narrow intelligence to solve each of these problems, foundation modelling is a new paradigm that can offer superior performance on such tasks. This is because foundation modelling involves a pre-training stage where we show a model vast amounts of data (even if we do not have any annotations for it and specifically train such model to recognise patterns in the data by completing some sort of pseudo-task. For example, Evo 2 is a genomic foundation model trained on 9 trillion different DNA base pairs [2]. In future, we may even be able to use these models to not just perform prediction tasks but also generate new, viable sequences of biological utility.

  • The core power in these genomic foundation models lies in being able to learn powerful patterns.

  • Then we can adapt them to further tasks such as classification problems and more recently, even designing genome sequences.

In the next section, I am going to focus on a specific example called the Nucleotide Transformer (NT) and summarise the training method for this model.

Popular LLM models such as those of Deepseek, Claude, Gemini, etc often undergo what is called a “pre-training” stage. In this process, large amounts of data are shown to a backbone model during training which aims to learn how to extract useful features within the data through completing the task of masked language modelling. For brevity, I will not cover how transformers within an NLP context work in this article however, a good resource to learn more about this if you are interested is The Illustrated Transformer by Jay Alammar.

Foundation models in genomics can leverage the same underlying mechanics as LLMs for pre-training. The key goal of this pre-training phase is to build a network that has some understanding of the patterns present in genome sequence data it may be presented with when we adapt it for different use cases. With this in mind, we can begin to work through the construction of the Nucleotide Transformer.

Figure 3. Pre-training process diagram for the Nucleotide Transformer, obtained from their original paper [1]

For our transformer to work, we must first convert the input DNA sequence strings into a series of tokens that computation can be performed over. For NT, a method called k-mer tokenisation is used. Consider the following scenario:

Input Sequence: CATCGAA, K: 6

Output Tokens: <CATCGA> and <ATCGAA>

Can you see how we got these output tokens?

Our tokenisation algorithm will then break down this sequence into a series of tokens each representing continuous subsequences of 6 consecutive base pairs. Assuming this window has a stride of 1 (similar to CNNs), the tokens become <CATCGA> and <ATCGAA>. NT uses 6-mer tokenisation (i.e. k = 6) and as a result, we can also compute the resulting vocabulary length using some simple maths.

\(\text{Vocab size} = 4^k = 4{,}096 \quad (k = 6)\)

Using the official nucleotide_transformer_v3/model.py as a reference we can begin to understand some of the key architectural components that are used during pre-training.

  • Stock standard initial downsampling and feature extraction: A stem block is used for initial downsampling. Token embeddings are passed into this block here before going through a 1D convolutional tower stack.

  • Transformer stack: With deep features compressed by the previous 1D convolutional tower, attention blocks are stacked to learn MHSA between the input features. By default, there are 16 heads and 12 attention blocks used in this stage with a standard 512-dim embedding size.

  • Deconvolutional upsampling: Up until this point, we have been operating on compressed representations of the original genome sequence as this is more feasible to compute self attention across a large number of tokens in the input data. The upsampling blocks are there to help us then recover features of the original sequence length.

Recall that during pre-training, we are performing the task of masked language modelling in order for the transformer-based backbone to learn useful representations within the genomic data it sees. Consequently, the final module we need to connect this stack together is the language modelling (LM) head. The LM head will receive an embedding for each token and outputs logits for each token in the vocabulary, with a specific goal in mind to predict the token that has been masked upon initial input into the backbone.

This whole pipeline can be seen end-to-end in Figure 3 which is cropped from the original Nucleotide V3 paper.

Figure 4. Downstream adaptation process for the Nucleotide Transformer, obtained from their original paper [1]

After pre-training, we can freeze the Nucleotide transformer backbone and attach a prediction head to perform domain-level tasks (Figure 4). For instance, considering the earlier example of promoter region classification, if we have an annotated dataset (smaller than pre-training data volume), we can train for this task to be performed by doing something similar to the following pseudo pytorch code:

A full example of this code can be viewed here at → nt-promoter-region-classification

In this repository, my goal is to clearly demonstrate how the backbone can be applied to solve the binary classification problem of predicting if a given genome sequence (of length 300 base pairs) is a promoter region. To evaluate how well we can classify such sequences using the Nucleotide Transformer, we will use a linear probe to learn a direct mapping from the backbone outputs to a binary class.

My recommendation is to read this article section as a primer for what is contained within the codebase, followed by then working through the repo contents. I have tried to keep it lightweight and simple :)

The key files within the repository are as follows:

  • cli.py - Comes with a CLI script you can use to run the train.

  • pipeline.py - Comes with a Pytorch Lightning module that can be run to train the model/

  • model.py - This is probably the key file to view. Inside the forward pass, you will notice how the weight vector has been implemented as well as the method used to obtain attention weights which are visualised in the demo.

Using the Nucleotide Transformer downstream tasks dataset, we can explore what some of the supervised data available for post-training looks like. If we consider the earlier problem of promoter region detection, let’s take a look at what the dataset for this looks like:

Running this block of code should output 53,276 samples in the dataset, each with a key/value structure that looks like the following:

{
  'sequence': 'ATAAA...GCACCC',
  'name': 'SLC4A1_1(-)|no_TATA|0',
  'label': 0,
  'task': 'promoter_all'
}

The main reason I wanted to spend a brief moment looking at the data is I believe directly looking at the data is one of the best ways an ML engineer can demystify how something works. In this short snippet, you can see that:

  • Sequences really boil down to being strings

  • They have certain properties, sometimes even gene names to help identify them

  • We can assign labels to them based on their properties (useful for supervised-settings)

Conveniently as indicated by the model card for this dataset, we can actually see this specific task only has binary labels. This means for each genomic sequence in the promoter region detection task, it is either a promoter region OR a non-promoter region. I found having a quick inspection of this data quite helpful to get my head around what modelling approaches are likely doing.

In this section, I will talk about some of the key features within the codebase regarding training configurations.

  • Regarding model implementation: The code inside model.py contains a learnable weight vector which is applied to the hidden layers of the backbone outputs. Following this, a single linear layer is used to project into the binary class.

  • Regarding compute: I trained this linear probe on my RTX 3060 at home so there were some batch size limitations in place which also caused quite a few small trains with a jumpy validation loss. As a workaround, I used a smaller learning rate than what you may typically see in other ML experiments (i.e. LR = 3e-5). Overall, reasonably happy with the

  • Regarding demo: After training, I used Modal for deployment and trusty Claude to help whip up the frontend. On a random side note, it is nice to see how AI coding tools can help speed up frontend work for simple demos to showcase model capabilities developed by ML engineers, researchers and hackers.

In the demo for this model, I’ve also tried to visualise the attention map for each token in the sequence. This was largely to see if there was any correlation between high attention tokens and classification result. However, this was quite tricky to determine and I suspect there were many limitations to how I was approaching it

  • For starters, I very quickly learnt that trying to apply the learned weight vector to each hidden layer and then pool attention across all layers OOM-ed my home GPU :(

  • As a workaround, I am currently just visualising the maps by pooling the attention from the most upweighted layer

  • Looking at the weight vector distribution is still TBD - will likely update this post if I get around to it :)

Looking at the results, its pretty cool to see how performant the backbone is!

  • Test AUC-ROC = 0.98474

  • Test Accuracy = 0.94054

  • Test F1-Score = 0.93973

Some pretty loss curves below as well - admittedly I was originally training this probe with early stopping (hoping it would finish by 30 epochs max). After a while, figured the plateau was happening anyway and wanted my GPU back for other shenanigans so released it and seems to be a solid training run.

In this article, we’ve gone through quite a lot - give yourself a pat on the back if you reached this point!

My main motivation to write this article was two-fold:

  1. Document my early learnings about how SoTA architectures in deep learning are being applied to the field of genomics, especially through considering a core biology problem.

  2. Attempt to make this intuition more accessible by connecting an ML engineer’s lens of the world with the underlying biology domain.

Hopefully the domain feels a little more approachable now - if so, feel free to reach out, I’d love to know!

Happy genomics ML-ing folks :P

[1] H. Dalla-Torre et al., “Nucleotide Transformer: building and evaluating robust foundation models for human genomics,” Nature Methods, vol. 22, no. 2, pp. 287–297, Nov. 2024, doi: 10.1038/s41592-024-02523-z. Available: https://www.nature.com/articles/s41592-024-02523-z

[2] G. Brixi et al., “Genome modelling and design across all domains of life with Evo 2,” Nature, vol. 652, no. 8112, pp. 1349–1361, Mar. 2026, doi: 10.1038/s41586-026-10176-5. Available: https://www.nature.com/articles/s41586-026-10176-5

[3] R. Wang, Z. Wang, J. Wang, and S. Li, “SpliceFinder: ab initio prediction of splice sites using convolutional neural network,” BMC Bioinformatics, vol. 20, no. S23, p. 652, Dec. 2019, doi: 10.1186/s12859-019-3306-3. Available: https://pubmed.ncbi.nlm.nih.gov/31881982/

Discussion about this post

Ready for more?