readme: ---
  tags:
  - spacy
  language:
  - en
  license: mit
  model-index:
  - name: en_core_spancat_med7_trf
    results: []
  ---
  | Feature | Description |
  | --- | --- |
  | **Name** | `en_core_spancat_med7_trf` |
  | **Version** | `3.4.2.1` |
  | **spaCy** | `>=3.4.2,<3.5.0` |
  | **Default Pipeline** | `transformer`, `spancat` |
  | **Components** | `transformer`, `spancat` |
  | **Vectors** | 514157 keys, 514157 unique vectors (300 dimensions) |
  | **Sources** | n/a |
  | **License** | `MIT` |
  | **Author** | [Andrey Kormilitzin](https://www.kormilitzin.com/) |
  
  ### Label Scheme
  
  <details>
  
  <summary>View label scheme (8 labels for 1 components)</summary>
  
  | Component | Labels |
  | --- | --- |
  | **`spancat`** | `DOSAGE`, `MEDINFO`, `DRUG`, `STRENGTH`, `FREQUENCY`, `ROUTE`, `DURATION`, `FORM` |
  
  </details>
  
  ### Accuracy
  
  | Type | Score |
  | --- | --- |
  | `SPANS_SC_F` | 83.10 |
  | `SPANS_SC_P` | 83.32 |
  | `SPANS_SC_R` | 82.88 |
  | `TRANSFORMER_LOSS` | 1176.39 |
  | `SPANCAT_LOSS` | 36025.42 |
  
  ### BibTeX entry and citation info
  
  ```bibtex
  @article{kormilitzin2021med7,
    title={Med7: A transferable clinical natural language processing model for electronic health records},
    author={Kormilitzin, Andrey and Vaci, Nemanja and Liu, Qiang and Nevado-Holgado, Alejo},
    journal={Artificial Intelligence in Medicine},
    volume={118},
    pages={102086},
    year={2021},
    publisher={Elsevier}
  }
  ```