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
v2 (2026-08-31): re-finetuned on G2P DD 2026-06-24 threads with corpus negatives; fp32 seed 42; leak-free CV protocol; three-axis frozen evaluation
1f4d2f5 verified Download tokenizer_config.json from tmy100000001/LitDD_crossencoder: direct link, hf CLI and curl.
- Browser
- Download file 731 Bytes
-
https://huggingface.co/tmy100000001/LitDD_crossencoder/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://tmy100000001/LitDD_crossencoder/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/tmy100000001/LitDD_crossencoder/resolve/main/tokenizer_config.json
731 Bytes
| { | |
| "backend": "tokenizers", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": true, | |
| "extra_special_tokens": [ | |
| "[PAD]", | |
| "[UNK]", | |
| "[CLS]", | |
| "[SEP]", | |
| "[MASK]" | |
| ], | |
| "is_local": false, | |
| "local_files_only": true, | |
| "mask_token": "[MASK]", | |
| "max_length": 512, | |
| "model_max_length": 512, | |
| "never_split": null, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "[SEP]", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } | |