Datasets:
Add MIMIC dataset
Browse filesFiles changed (3)
- README.mdAdded+69
- raw/examples.jsonlAdded
- tokenized/examples.jsonlAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869---license: mittask_categories: - feature-extractiontags: - biology - genomics - proteins - multimodal - mimicpretty_name: LORE Examples---
# LORE Examples
A small set of **matched multimodal examples** from LORE, for the[MIMIC](https://github.com/PolymathicAI/MIMIC) model — enough to try inference,embedding, and generation across DNA, RNA, and protein modalities without wiringup your own data.
Each example is a single biological entity (a transcript and/or its protein) withseveral co-observed modalities. Rows are drawn from the held-out (validation) splitof MIMIC's training data, so they are in-distribution and length-bounded to themodel's context window.
## Contents
Two parallel views of the **same** rows:
| Path | Format | Use ||------|--------|-----|| `raw/examples.jsonl` | modality name → raw value (nucleotide/AA string, per-position track, …) | `model.input([row])` — the tokenizers run for you || `tokenized/examples.jsonl` | `tok_<modality>` → token-id list | `model.input([row])` — pre-tokenized; needed for `prot_struct` / text modalities on a base install |
Every row carries `kind` (`rna` / `protein` / `both`) plus `uniprot_id` /`genome_feature_id` anchors. The `tokenized` view covers **all** modalities(including `prot_struct` and the free-text tracks); the `raw` view covers themodalities that invert without the optional `[structure]` / `[text]` extras.
## Usage
```pythonimport jsonfrom mimic import load_pretrained
model = load_pretrained(version="1.0")
# raw view — tokenizers run inside input()row = json.loads(open("raw/examples.jsonl").readline())row = {k: v for k, v in row.items() if k not in ("kind", "uniprot_id", "genome_feature_id")}model.input([row])reps = model.embed(sep_encodings=False)
# tokenized view — feed pre-tokenized ids (tok_ keys)trow = json.loads(open("tokenized/examples.jsonl").readline())trow = {k: v for k, v in trow.items() if k not in ("kind", "uniprot_id", "genome_feature_id")}model.input([trow])```
## See also
- **Model:** [`polymathic-ai/MIMIC`](https://huggingface.co/polymathic-ai/MIMIC) — the model these examples are for.- **Code:** [`PolymathicAI/MIMIC`](https://github.com/PolymathicAI/MIMIC) (`pip install mimic-cd`).
## Provenance & license
Derived from the validation split of MIMIC's training corpus (LORE). Released underthe MIT license, matching the model code. See the[MIMIC repository](https://github.com/PolymathicAI/MIMIC) for details and citation.README.mdAdded+69
raw/examples.jsonlAdded
tokenized/examples.jsonlAdded