This repository contains an unofficial compatibility repackaging of
scispaCy en_core_sci_lg 0.5.4
for spaCy 3.8. It is not a newly trained model.
The pipeline supports English biomedical and scientific text processing,
including tokenization, part-of-speech tagging, lemmatization, dependency
parsing, entity mention detection, and static word vectors.
Changes
The trained weights, tokenizer, vocabulary, vectors, and pipeline component
data are unchanged from the original model.
The following configuration values were corrected from strings to booleans so
that the pipeline passes spaCy 3.8 configuration validation:
normalize = "False" to normalize = false
include_static_vectors = "True" to include_static_vectors = true
The distribution name and spaCy compatibility metadata were also updated to
distinguish this build from the original distribution. This compatibility
build was tested with spaCy 3.8.14.
1import spacy
23nlp = spacy.load("en_core_sci_lg_spacy38")45text =(6"Myeloid-derived suppressor cells (MDSCs) are immature myeloid cells "7"with immunosuppressive activity. They accumulate in tumor-bearing "8"mice and humans with different types of cancer, including "9"hepatocellular carcinoma (HCC)."10)1112doc = nlp(text)1314for sentence in doc.sents:15print(sentence.text)1617for entity in doc.ents:18print(entity.text, entity.label_)
Optional scispaCy components such as the abbreviation detector and entity
linker are provided by the separate
scispacy package and are not included
in this pipeline.
Validation
This compatibility build was checked by loading the installed wheel under
spaCy 3.8.14 and exercising every included pipeline component, batch
processing, annotations, vectors, and document serialization. It was not
retrained or independently re-evaluated on the original benchmark datasets.
Attribution and license
The original model was developed by the Allen Institute for Artificial
Intelligence as part of scispaCy. Its listed sources are OntoNotes 5, Common
Crawl, and GENIA 1.0.
If you use this model, please cite the original scispaCy publication:
bibtex
1@inproceedings{neumann-etal-2019-scispacy,
2 title = {{S}cispa{C}y: Fast and Robust Models for Biomedical Natural Language Processing},
3 author = {Neumann, Mark and King, Daniel and Beltagy, Iz and Ammar, Waleed},
4 booktitle = {Proceedings of the 18th BioNLP Workshop and Shared Task},
5 year = {2019},
6 pages = {319--327},
7 doi = {10.18653/v1/W19-5034}
8}