AI SeedbankHelp preserve open and free AI for humanity's future

← All models

yikuan8_Clinical-Longformer

yikuan8 · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: "en" tags:

  • longformer
  • clinical

Clinical-Longformer is a clinical knowledge enriched version of Longformer that was further pre-trained using MIMIC-III clinical notes. It allows up to 4,096 tokens as the model input. Clinical-Longformer consistently out-performs ClinicalBERT across 10 baseline dataset for at least 2 percent. Those downstream experiments broadly cover named entity recognition (NER), question answering (QA), natural language inference (NLI) and text classification tasks. For more details, please refer to our paper. We also provide a sister model at Clinical-BigBIrd

Pre-training

We initialized Clinical-Longformer from the pre-trained weights of the base version of Longformer. The pre-training process was distributed in parallel to 6 32GB Tesla V100 GPUs. FP16 precision was enabled to accelerate training. We pre-trained Clinical-Longformer for 200,000 steps with batch size of 6×3. The learning rates were 3e-5 for both models. The entire pre-training process took more than 2 weeks.

Usage

Load the model directly from Transformers:

from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("yikuan8/Clinical-Longformer")
model = AutoModelForMaskedLM.from_pretrained("yikuan8/Clinical-Longformer")

Citing

If you find our model helps, please consider citing this :)

@article{li2023comparative,
  title={A comparative study of pretrained language models for long clinical text},
  author={Li, Yikuan and Wehbe, Ramsey M and Ahmad, Faraz S and Wang, Hanyin and Luo, Yuan},
  journal={Journal of the American Medical Informatics Association},
  volume={30},
  number={2},
  pages={340--347},
  year={2023},
  publisher={Oxford University Press}
}

Questions

Please email [email protected]

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:4a7028bfab830ab9b5add374bc0617d59a33da61&dn=yikuan8_Clinical-Longformer

Open magnet in torrent client · infohash 4a7028bfab830ab9b5add374bc0617d59a33da61

Files & hashes

PathSizesha1sha256
README.md1.9 KB (1,967 B)dc509eb98bb7fa727b9504dc5f836e0a3e7def62c218743aab55c14f9b788743ab97429936897f47b241d4101d91a82af16fdb90
config.json929 B (929 B)dcbb04799764dccba6c5dfeef25f62e9955b7d07c10104d6d8e5e4824b4088f22fdf88eadbd13d081517b790ee724ffd9eba79ec
merges.txt445.7 KB (456,356 B)6636bda4a1fd7a63653dffb22683b8162c8de956fe36cab26d4f4421ed725e10a2e9ddb7f799449c603a96e7f29b5a3c82a95862
pytorch_model.bin567.4 MB (594,988,059 B)165ac0102784dd9630e1de915b8036ed1e1b121587e239f555459c3668993fbf5b53bea93f503be86f2f4285f431fdb2c6c33c75
special_tokens_map.json239 B (239 B)2ea7ad0e45a9d1d1591782ba7e29a703d0758831378eb3bf733eb16e65792d7e3fda5b8a4631387ca04d2015199c4d4f22ae554d
tokenizer.json1.3 MB (1,355,881 B)75801df688e89a96f642b98cbdd97288f520751833465117406b9007673e8ba283f7f1383d9b5094df947481af60eec94ed7d7bd
tokenizer_config.json347 B (347 B)49684d2d368a3a66b7056f79ebeb7d236a685f6df4ab42d75c17434662292aa725f663437ffa547b76b7931f14e57d97e28eeaa7
vocab.json779.6 KB (798,293 B)4ebe4bb3f3114daf2e4cc349f24873a1175a35d7ed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e

Cite this release

Canonical URL
https://aiseedbank.org/models/yikuan8_Clinical-Longformer/
Slug
yikuan8_Clinical-Longformer
Infohash
4a7028bfab830ab9b5add374bc0617d59a33da61
License
no license recorded
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: yikuan8_Clinical-Longformer.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryyikuan8/Clinical-Longformer
Revision (pinned)5e2ebe8f6e98d4751eaf71a8514e0edbe73989a2
Fetched at2026-09-04T06:38:43Z
License at fetchno license recorded
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T06:38:51Z

no license recorded569.9 MB (597,602,071 bytes)transformerspytorchlongformerfill-maskclinicalendpoints_compatible1 language (en)paper: 2201.11838