Text Classification
sentence-transformers
Safetensors
English
bert
cross-encoder
biomedical
gene-disease
Gene2Phenotype
LitDD
text-embeddings-inference
Instructions to use tmy100000001/LitDD_crossencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use tmy100000001/LitDD_crossencoder with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("tmy100000001/LitDD_crossencoder") query = "Which planet is known as the Red Planet?" passages = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", "Saturn, famous for its rings, is sometimes mistaken for the Red Planet." ] scores = model.predict([(query, passage) for passage in passages]) print(scores) - Notebooks
- Google Colab
- Kaggle
card: fine-grid gate analysis (F0.5 optimum 0.95, plateau 0.89-0.98, 0.9 retained)
Browse files
README.md
CHANGED
|
@@ -96,13 +96,14 @@ pre-molecular papers and gene-free abstracts that the pipeline is designed to re
|
|
| 96 |
"all" denominator understates recall by construction. Corpus fire rate = share of the 87,600
|
| 97 |
abstracts with at least one gate candidate scoring ≥ 0.9.
|
| 98 |
|
| 99 |
-
Why the gate is 0.9 (`revision/
|
| 100 |
-
the test set and the frozen benchmark, but this
|
| 101 |
-
|
| 102 |
-
0.
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
|
|
|
| 106 |
|
| 107 |
Top-k coverage of the true entry (test positives): within each abstract's gene-gate
|
| 108 |
candidates (the deployment universe, median 2 candidates) top-1 = 0.797 ± 0.013; against the
|
|
|
|
| 96 |
"all" denominator understates recall by construction. Corpus fire rate = share of the 87,600
|
| 97 |
abstracts with at least one gate candidate scoring ≥ 0.9.
|
| 98 |
|
| 99 |
+
Why the gate is 0.9 (`revision/crossencoder_gate_analysis_fine.csv`, 0.01-step scan): F1 is
|
| 100 |
+
maximised at the lowest threshold on both the test set and the frozen benchmark, but this
|
| 101 |
+
stage is a precision filter ahead of the LLM. The precision-weighted benchmark F0.5 rises
|
| 102 |
+
from 0.772 (0.5) to 0.782 (0.9) and peaks at 0.789 at 0.95 (on all three seeds); every
|
| 103 |
+
threshold from 0.89 to 0.98 is within one seed-sd of that maximum. 0.9 is retained as the
|
| 104 |
+
recall-favouring edge of the plateau (0.9 -> 0.95 would trade 1.9 points of in-scope recall
|
| 105 |
+
and 6 points of test recall for +1.6 points of benchmark precision and 13% fewer false
|
| 106 |
+
fires). Test-set P/R at 0.9: 0.938 / 0.900 (3-seed means).
|
| 107 |
|
| 108 |
Top-k coverage of the true entry (test positives): within each abstract's gene-gate
|
| 109 |
candidates (the deployment universe, median 2 candidates) top-1 = 0.797 ± 0.013; against the
|