tekrajchhetri commited on
Commit
2cc4f58
·
verified ·
1 Parent(s): d80c766

updated readme to make it clean.

Browse files
Files changed (1) hide show
  1. README.md +62 -21
README.md CHANGED
@@ -2,13 +2,21 @@
2
  license: apache-2.0
3
  base_model: convaiinnovations/laya
4
  library_name: laya
5
- tags: [ontology-matching, ontology-alignment, entity-linking, biomedical, laya, OAEI]
 
 
 
 
 
 
 
 
 
6
  ---
7
 
8
  # LayaLink
9
 
10
- LayaLink is [`convaiinnovations/laya`](https://huggingface.co/convaiinnovations/laya) fine-tuned with RLCD for
11
- three typed decisions over biomedical concepts. Every answer is a calibrated probability distribution.
12
 
13
  | Task | Input (`state`) | Questions and answers |
14
  |---|---|---|
@@ -16,8 +24,7 @@ three typed decisions over biomedical concepts. Every answer is a calibrated pro
16
  | **entity_linking** | a text mention, its sentence, one candidate concept | `mapping`: `match`, `no_match`, `insufficient`; `accept`: P(enough evidence to accept) |
17
  | **concept_selection** | a mention, its sentence, a list of candidate concepts | `concept`: the matching candidate's id or `none`; `resolvable`: P(some candidate matches) |
18
 
19
- LayaLink judges candidates you supply; it does not search an ontology. Pair it with a retriever (BioPortal, OLS,
20
- lexical or embedding search) and let LayaLink decide among the candidates.
21
 
22
  ## Installation
23
 
@@ -25,8 +32,7 @@ lexical or embedding search) and let LayaLink decide among the candidates.
25
  pip install "laya @ git+https://github.com/NandhaKishorM/laya.git@80a1da1fa5448ea12163f4d977935625a0aea670"
26
  ```
27
 
28
- This is the `laya` version LayaLink was trained and tested with (Python 3.10+). While the repository is private, log
29
- in first with `hf auth login` (a read token is enough).
30
 
31
  ## Quickstart
32
 
@@ -302,23 +308,58 @@ Rank the 100 released candidates per source concept; public **valid** split, sco
302
 
303
  The test sets are this project's own held-out splits (grouped so no concept, pair or sentence is shared with training), not official benchmarks, except the Bio-ML ranking above.
304
 
305
- ## Training
 
 
306
 
307
- - **Data:** `bioml2026`, `mappings`, `ncbi_corpora`, `ner_bionlp/BC2GM`, `ner_bionlp/BC4CHEMD`, `ner_bionlp/BC5CDR-chem`, `ner_bionlp/BC5CDR-disease`, `ner_bionlp/JNLPBA`, `ner_bionlp/NCBI-disease`, `ner_bionlp/linnaeus`, `ner_bionlp/s800`, `oaei_anatomy`, `oaei_conference`. Built from OAEI 2025 Anatomy and Conference, OAEI Bio-ML 2026 (NCIT–DOID train references only),
308
- the NCBI normalisation corpora (NCBI-disease, BC5CDR), Biomappings, and BioNLP-Corpus NER mentions (BC2GM, BC4CHEMD,
309
- BC5CDR, NCBI-disease, JNLPBA, s800, linnaeus) with BioPortal/OLS4 candidates. The BioNLP-Corpus labels are silver
310
- (exact / fuzzy / all-mpnet-base-v2 semantic evidence). Splits are grouped (80/10/10), cross-dataset leakage was
311
- filtered, and Bio-ML valid/test queries were excluded. In line with the Bio-ML 2026 rules, MONDO and UMLS were not used.
312
- - **Run:** 4 epochs, 12636 optimizer updates, effective batch 64, 2 GPU(s), bf16; learning rates 2.5e-05 (encoder) / 0.0001 (head).
313
- - **Logs:** `training/training_log.jsonl`, `training/training_summary.json`, `training/training_curves.png` in this repository.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
 
315
  ## Limitations
316
 
317
  - A probability is a model estimate, not proof of logical equivalence. Check the logical consequences before asserting
318
- `owl:equivalentClass`.
319
- - Subclass direction (`source_narrower` vs `source_broader`) is the hardest relation; check it on new ontology pairs.
320
- - Some labels are derived from ontology axioms or are silver. Calibration temperatures were fitted on mixed-provenance data.
321
- - English biomedical text and ontologies only.
 
 
 
 
 
322
 
323
- Training data remain subject to their providers' licences (OAEI, Bio-ML 2026: DOID CC0 / NCIT CC BY 4.0,
324
- Biomappings CC0, NCBI corpora, BioNLP-Corpus sources).
 
2
  license: apache-2.0
3
  base_model: convaiinnovations/laya
4
  library_name: laya
5
+ model_name: LayaLink
6
+ tags:
7
+ - ontology-matching
8
+ - ontology-alignment
9
+ - entity-linking
10
+ - concept-mapping
11
+ - biomedical
12
+ - knowledge-graphs
13
+ - laya
14
+ - OAEI
15
  ---
16
 
17
  # LayaLink
18
 
19
+ LayaLink is a typed decisions for concept mapping and alignment. It is finetuned on [`convaiinnovations/laya`](https://huggingface.co/convaiinnovations/laya).
 
20
 
21
  | Task | Input (`state`) | Questions and answers |
22
  |---|---|---|
 
24
  | **entity_linking** | a text mention, its sentence, one candidate concept | `mapping`: `match`, `no_match`, `insufficient`; `accept`: P(enough evidence to accept) |
25
  | **concept_selection** | a mention, its sentence, a list of candidate concepts | `concept`: the matching candidate's id or `none`; `resolvable`: P(some candidate matches) |
26
 
27
+ LayaLink judges candidates you supply; it does not search an ontology.
 
28
 
29
  ## Installation
30
 
 
32
  pip install "laya @ git+https://github.com/NandhaKishorM/laya.git@80a1da1fa5448ea12163f4d977935625a0aea670"
33
  ```
34
 
35
+ This is the `laya` version LayaLink was trained and tested with (Python 3.10+).
 
36
 
37
  ## Quickstart
38
 
 
308
 
309
  The test sets are this project's own held-out splits (grouped so no concept, pair or sentence is shared with training), not official benchmarks, except the Bio-ML ranking above.
310
 
311
+ ## Data Sources
312
+
313
+ The **LayaLink** training dataset integrates ontology alignment, biomedical entity normalization, and named entity recognition (NER) resources to support both **concept-to-concept alignment** and **mention-to-concept mapping**.
314
 
315
+ ### Data Sources
316
+
317
+ The dataset combines the following resources:
318
+
319
+ | Source | Datasets | Description |
320
+ |---|---|---|
321
+ | **OAEI 2025** | `oaei_anatomy`, `oaei_conference` | Reference alignments from the Anatomy and Conference tracks |
322
+ | **OAEI Bio-ML 2026** | `bioml2026` | NCIT–DOID training reference alignments only |
323
+ | **Biomappings** | `mappings` | Curated biomedical concept mappings |
324
+ | **NCBI Normalization Corpora** | `ncbi_corpora` | Entity normalization annotations from NCBI-disease and BC5CDR |
325
+ | **BioNLP-Corpus** | `ner_bionlp/*` | Biomedical entity mentions from eight NER datasets, linked to candidate ontology concepts using lexical and semantic matching |
326
+
327
+ The BioNLP-Corpus collection includes:
328
+
329
+ - `BC2GM` — Gene and protein mentions
330
+ - `BC4CHEMD` — Chemical and drug mentions
331
+ - `BC5CDR-chem` — Chemical mentions
332
+ - `BC5CDR-disease` — Disease mentions
333
+ - `JNLPBA` — Biomedical entity mentions
334
+ - `NCBI-disease` — Disease mentions
335
+ - `linnaeus` — Species mentions
336
+ - `s800` — Species mentions
337
+
338
+
339
+ ### Training Infrastructure
340
+
341
+ LayaLink was fine-tuned using **two NVIDIA H100 GPUs**, leveraging multi-GPU acceleration for training on the combined ontology alignment and biomedical entity mapping datasets.
342
+
343
+ | Component | Configuration |
344
+ |---|---|
345
+ | **GPU** | 2 × NVIDIA H100 |
346
+ | **Training** | Multi-GPU fine-tuning |
347
+ | **Training data** | Ontology alignments and biomedical entity mappings |
348
+ | **Data split** | 80% training / 10% calibration / 10% testing |
349
+
350
+ Benchmark compliance: In accordance with the OAEI Bio-ML 2026 rules, MONDO and UMLS were not used.
351
 
352
  ## Limitations
353
 
354
  - A probability is a model estimate, not proof of logical equivalence. Check the logical consequences before asserting
355
+ `owl:equivalentClass`.
356
+
357
+ ## License
358
+
359
+ **LayaLink** is released under the **Apache License 2.0 (Apache-2.0)**.
360
+
361
+ The license permits commercial use, modification, distribution, and redistribution, subject to its terms.
362
+
363
+ See the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) for details.
364
 
365
+ **Note:** The Apache-2.0 license applies to the LayaLink model and original code. Third-party datasets, ontologies, and other resources retain their respective licenses and usage restrictions.