Datasets:
Upload README.md with huggingface_hub
Browse files8 unmodified lines910111213141516171819202113 unmodified lines35363738394041424344454612 unmodified lines5960616263646566676869707172737475768 unmodified lines- multimodal- mimicpretty_name: LORE Examplesconfigs:- config_name: rawdata_files: raw/examples.jsonl- config_name: tokenizeddata_files: tokenized/examples.jsonl---# LORE ExamplesA small set of **matched multimodal examples** from LORE, for the13 unmodified lines| Config | Format | Use ||--------|--------|-----|| `raw` (`raw/examples.jsonl`) | modality name → raw value (nucleotide/AA string, per-position track, …) | `model.input([row])` — the tokenizers run for you || `tokenized` (`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.## Usage12 unmodified lines# raw view — modality name -> raw value; tokenizers run inside input()raw = load_dataset("polymathic-ai/LORE-examples", "raw", split="train")model.input([to_sample(raw[0])])reps = model.embed(sep_encodings=False)# tokenized view — tok_ keys with pre-tokenized ids# (covers prot_struct / text modalities without the optional extras)tok = load_dataset("polymathic-ai/LORE-examples", "tokenized", split="train")model.input([to_sample(tok[0])])```## 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 & license8 unmodified lines91011121314151617181920212223242526272813 unmodified lines4243444546474849505152535412 unmodified lines6768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241258 unmodified lines- multimodal- mimicpretty_name: LORE Examplesthumbnail: https://raw.githubusercontent.com/PolymathicAI/MIMIC/main/assets/MIMIC_logo.pngconfigs:- config_name: rawdata_files: raw/examples.jsonldefault: true- config_name: tokenizeddata_files: tokenized/examples.jsonldefault_config_name: raw---<p align="center"><img src="MIMIC_logo.png" alt="MIMIC" width="320"></p># LORE ExamplesA small set of **matched multimodal examples** from LORE, for the13 unmodified lines| Config | Format | Use ||--------|--------|-----|| `raw` (`raw/examples.jsonl`) | modality name → raw value (nucleotide/AA string, per-position track, …) | `model.input([row])` — the tokenizers run for you || `tokenized` (`tokenized/examples.jsonl`) | `tok_<modality>` → token-id list | `model.input([row])` — pre-tokenized, so the heavy tokenizers (BioBERT text, ESM3 structure) don't run |`raw` is the default config, so `load_dataset("polymathic-ai/LORE-examples")`(no config name) loads it. Every row carries `kind` (`rna` / `protein` / `both`)plus `uniprot_id` / `genome_feature_id` anchors. Both views cover the same rowsand the same modalities; `tokenized` just skips running the tokenizers (and theone-time ESM3 weight download for `prot_struct`).## Usage12 unmodified lines# raw view — modality name -> raw value; tokenizers run inside input()raw = load_dataset("polymathic-ai/LORE-examples", "raw", split="train")model.input([to_sample(raw[0])])reps = model.embed() # {"full": [B, N, D], "mod_ids": [B, N]}# tokenized view — tok_ keys with pre-tokenized ids# (skips running the BioBERT/ESM3 tokenizers; same rows as the raw view)tok = load_dataset("polymathic-ai/LORE-examples", "tokenized", split="train")model.input([to_sample(tok[0])])```## ModalitiesMIMIC represents each molecule as a set of co-observed modalities grouped intothree tracks: **nucleic** (RNA/DNA and its per-position annotations), **protein**(amino-acid sequence, structure, and derived features), and **text** (free-text /categorical context). Each row here populates a subset of these under its short name(`raw` view) or its `tok_` key (`tokenized` view). The authoritative per-checkpointlist is `model.modality_info`. A few assay tracks (`atac`, `cage`, `rasp2`,`prot_abund`) are **context-conditional**: pass a free-text `context` alongsidethem to condition on cell-state / assay metadata — the `Conditioning context`column shows a real example for each.| Modality | Track | Description | Example | Conditioning context (`tok_context`) ||---|---|---|---|---|| `rna_seq` | nucleic | RNA/DNA nucleotide sequence (unspliced) — the core nucleic input | `"UUUGGAAACUUU…"` | — || `cds_junctions` | nucleic | Coding-sequence (CDS) exon–exon junction positions, per position | `"…0001000…"` | — || `splice_regions` | nucleic | Splice-region (exon) annotation, per position | `"…0011100…"` | — || `splice_jctns_5cls` | nucleic | Per-position 5-class splice-site type: `0`=none, `1`=acceptor, `2`=donor, `3`=TSS (first-exon start), `4`=TES (last-exon end) | `"…00020…0100…"` | — || `is_coding` | nucleic | Coding vs. non-coding flag | `[1]` | — || `feature_type` | nucleic | Genomic feature-type label | `['protein_coding']` | — || `phylop_human` | nucleic | phyloP evolutionary-conservation score (human), per position | `[-0.66, 1.04, …]` | — || `phylop_mouse` | nucleic | phyloP evolutionary-conservation score (mouse), per position | `[-0.26, -0.92, …]` | — || `atac` | nucleic | ATAC-seq chromatin-accessibility signal, per position (`N` = unmeasured). **Cell-state-conditional** | `"…NNNN…"` | `"human, GM23338 lymphoblastoid cell line (EBV-transformed B lymphocyte)"` || `cage` | nucleic | CAGE transcription-start signal, per position. **Cell-state-conditional** | `[0.001, 0.001, …]` | `"skeletal muscle, human, fetal"` || `rasp2` | nucleic | RASP2 (icSHAPE-style) RNA-structure reactivity, per position (`nan` where unmeasured). **Condition-conditional** | `[nan, 0.42, …]` | `"technology: icSHAPE, reagent: NAI-N3, in vivo, cell line: K562, human"` || `aa_seq` | protein | Amino-acid (protein) sequence — the core protein input | `"MTPPERLFLP…"` | — || `rna_codons` | protein | Codon sequence aligned to the protein (nucleotide content, protein-aligned track) | `['AUG', 'ACA', 'CCA', …]` | — || `prot_struct` | protein | Protein 3D structure as ESM3 VQVAE tokens (decode to a backbone via `detokenize_structure`) | `[754, 1510, 49, …]` | — || `dssp` | protein | DSSP secondary-structure class, per residue | `"CCXX…HHH…"` | — || `sasa` | protein | Solvent-accessible surface area, per residue | `[225.1, 128.6, …]` | — || `prot_abund` | protein | Protein abundance (PaxDb ppm), scalar. **Cell-state-conditional** | `[385.6]` | `"Leptospira interrogans (bacterium), control"` || `funcprot_caption` | protein | Free-text protein functional caption | `"Catalyzes the hydrolysis of…"` | — || `masif_charge` | protein | MaSIF surface Poisson–Boltzmann charge, per vertex | `[6.9, -3.3, …]` | — || `masif_hbond` | protein | MaSIF surface hydrogen-bond potential, per vertex | `[-1.77, -1.64, …]` | — || `masif_hydrophobicity` | protein | MaSIF surface hydrophobicity, per vertex | `[0.32, -0.31, …]` | — || `masif_si_index` | protein | MaSIF surface shape-index, per vertex | `[0.34, 0.22, …]` | — || `masif_n_vertices` | protein | MaSIF surface vertex count, per patch | `[65.0, 42.0, …]` | — || `context` | text | Free-text semantic context (e.g. cell-state / assay) — the conditioning channel itself | `"HepG2 cell line"` | — || `corpus` | text | Free-text corpus / source label | `"UniProtKB/Swiss-Prot"` | — || `gene_family_txt` | text | Free-text gene-family description | `"Zinc-finger C2H2 family"` | — |## 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 git+https://github.com/PolymathicAI/MIMIC.git`).## Provenance & license
README.md+57-8