waypoint-bio
Skill này làm gì
Công cụ này giúp bạn làm việc với các mô hình AI cho hệ vi sinh, gọi là Waypoint. Nó cho phép chuyển dữ liệu mẫu vi sinh thành định dạng mà AI hiểu, để huấn luyện hoặc dùng AI đưa ra dự đoán.
Khi nào nên dùng
- ✓Khi muốn chuyển hồ sơ vi sinh thành vector để phân tích.
- ✓Khi huấn luyện mô hình AI để dự đoán điều gì đó dựa trên thành phần vi sinh.
- ✓Khi muốn kiểm tra mô hình AI của riêng bạn trên một bộ dữ liệu chuẩn.
Liên kết skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/waypoint-bio/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chuyển đổi dữ liệu vi sinh của tôi để AI có thể sử dụng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ sắp xếp dữ liệu vi sinh của bạn theo một định dạng riêng, trong đó mỗi sinh vật là một “token”. Nó dùng các mô hình ngôn ngữ đã huấn luyện sẵn để hiểu các “token” này và thực hiện các việc như tạo biểu diễn số cho mẫu hoặc huấn luyện mô hình dự đoán.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Waypoint: Outpost Bio's Open Microbiome Foundation Models
Overview
Outpost Bio open-sourced three artefacts under Apache 2.0, described in Treloar et al., bioRxiv 2026.05.02.722381:
| Artefact | What it is | Hugging Face |
|---|---|---|
| Waypoint | GPT-2-style causal LMs over taxonomic tokens, 6M–170M params | outpost-bio/Waypoint-6m, -45m, -170m |
| Atlas | 539,308 microbiome samples scraped from MGnify (485,377 pretrain / 53,931 benchmark) | outpost-bio/Atlas |
| Compass | Eight downstream tasks over four studies | outpost-bio/Compass |
The unifying idea: a microbiome sample is a sentence. Each taxon is one token, tokens are ordered by descending abundance z-score, and the model is trained with next-token prediction. A pretrained checkpoint then supplies sample-level embeddings or a fine-tuning backbone for prediction tasks.
All of it is driven by one CLI, waypoint, with five subcommands: prepare-dataset, embed,
finetune, benchmark, pretrain.
When to use
- Embedding 16S/shotgun taxonomic profiles into fixed-size vectors for clustering, visualisation, or a downstream classifier.
- Fine-tuning a Waypoint checkpoint to predict a phenotype, treatment, or continuous readout from community composition.
- Scoring your own microbiome model on Compass with an explicitly recorded protocol.
- Pretraining a taxonomic language model on Atlas or on your own corpus.
- Converting profiler output (MetaPhlAn, Kraken2/Bracken, QIIME 2, MGnify TSVs) into the input format these tools expect.
For small labelled datasets, start with a random-forest baseline and grouped validation. The paper's sample-size crossover is an empirical result from its experiments, not a universal cutoff for using embeddings or a guarantee of performance on a new study.
Setup
pip install "waypoint-bio==1.0.2" "transformers==4.57.6" "peft==0.18.1" "huggingface-hub<1"
The 2026-10-01 review checked the published wheel, GitHub main f45eee6d07a480bfc90f84ab8082bbc969dec15d
(1.0.4), and current Hub metadata. Small native CPU/tokenizer tests used Python 3.12, Torch
2.14.1, Transformers 4.57.6, PEFT 0.18.1 and pandas 3.0.6; no pretrained weights or gated rows
were downloaded. The package leaves dependencies unbounded: Transformers 5 removes its
pretraining logging_dir argument. Keep a separate compatible environment.
Upstream limitations: local TaxonomicTokenizer.save_pretrained() raises
NotImplementedError in both reviewed versions, blocking pretrain before training and
finetune export when using that local tokenizer. Released 1.0.2 does not merge LoRA adapters
or write training logs; GitHub 1.0.4 does. See references/upstream-review.md before training.
Training examples below are source-checked templates, not completed scientific runs.
Atlas, Compass, and every Waypoint checkpoint are gated. Access is auto-approved, but you must click through once per repo and then authenticate:
Request access on each repo page you need: Waypoint-6m, Waypoint-45m, Waypoint-170m, Atlas, Compass.
Authenticate locally:
hf auth login # or: export HF_TOKEN=hf_...
For 401/403 errors, check token validity, read scope, and approval for the specific repo.
The tokenizer loader executes repository code with trust_remote_code=True. Review that code
and pin an immutable Hub commit. The upstream CLI has no --revision; download a reviewed
snapshot and pass its local path so model, tokenizer and ordering statistics share one revision
(see references/python-api.md).
The waypoint data format
Everything except prepare-dataset consumes waypoint format: a .parquet / .csv / .tsv
whose rows are samples, with two aligned list-columns plus any label columns you need.
| Column | Type | Notes |
|---|---|---|
Taxa |
list[str] |
Full lineage strings, ;-separated: k__Bacteria; p__Firmicutes; ...; g__Lactobacillus |
Relative Abundances |
list[float] |
Same length as Taxa, same order |
| (any) | scalar | Targets, covariates, or a Split column |
…
Câu hỏi thường gặp
“Token” trong ngữ cảnh này là gì?
Trong trường hợp này, “token” là các sinh vật (taxa) có trong mẫu vi sinh. Công cụ sắp xếp chúng và coi chúng như từ trong một câu để AI xử lý.
Tôi có cần kiến thức lập trình trước không?
Công cụ được thiết kế để dùng với các lệnh đơn giản, nhưng việc thiết lập ban đầu và hiểu định dạng dữ liệu có thể cần chú ý. Tốt nhất nên có hướng dẫn hoặc người có kinh nghiệm hỗ trợ ở các bước đầu.
“Open foundation models” nghĩa là gì?
Nghĩa là các mô hình AI được tạo bởi Outpost Bio và công bố công khai theo giấy phép cho phép (Apache 2.0), cho phép bất kỳ ai dùng, chỉnh sửa và phân phối.
Chi tiết
Mô tả gốc của tác giả
Supports work with Outpost Bio's open microbiome foundation models - the Waypoint checkpoints (Waypoint-6m, Waypoint-45m, Waypoint-170m), the Atlas pretraining corpus, the Compass eight-task benchmark, or the `waypoint` CLI from the `waypoint-bio` package. Covers embedding microbiome samples, fine-tuning on taxonomic abundance data, benchmarking a checkpoint on Compass, pretraining a GPT-2 model o
Độ phổ biến
- Sao GitHub
- 51k
- Vị trí xếp hạng
- #3593
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
13c-metabolic-flux
51kƯớc tính thông lượng chuyển hóa bằng dữ liệu theo dõi đồng vị carbon-13. Hữu ích để phân tích chuyển hóa tế bào và các con đường sinh hóa.
adaptyv
51kThiết kế thí nghiệm đặc trưng protein bằng Adaptyv API. Hỗ trợ ước tính chi phí, gửi trình tự và theo dõi kết quả phòng thí nghiệm.
aeon
51kThực hiện các tác vụ học máy trên dữ liệu chuỗi thời gian. Hữu ích để phân loại, dự báo, phát hiện bất thường và tìm mẫu trong dữ liệu tuần tự.
alphagenome
51kTra cứu các tác động di truyền đã được tính trước cho biến thể gen. Cung cấp điểm số và giải thích để hiểu ảnh hưởng của biến thể lên bộ gen.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.