Downloads · 30 days
23
13% of all-time downloads
maxo99/sports-injury-ner
sports-injury-ner is a token classification model from maxo99. Use it when you need labels on individual words, such as names. The card lists the license as mit.
This is a fine-tuned Named Entity Recognition (NER) model for extracting sports injury information from news text.
Downloads · 30 days
23
13% of all-time downloads
All-time downloads
181
Public
Parameters
93.1M
15.7 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors373 MB · 100%
From the Hugging Face model README
This is a fine-tuned Named Entity Recognition (NER) model for extracting sports injury information from news text.
The goal of this project is to fine-tune microsoft/SportsBERT to extract PLAYER, INJURY, STATUS, and TEAM from sports news using a Weak Supervision approach.
The model is designed to extract the following entities from sports news:
PLAYER: Name of the injured player.INJURY: Type of injury (e.g., "hamstring", "concussion").STATUS: Injury status (e.g., "questionable", "out", "placed on IR").TEAM: Team name (e.g., "Packers", "New York Giants").from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
model_id = "maxo99/sports-injury-ner"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForTokenClassification.from_pretrained(model_id)
nlp = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
text = "Packers QB Aaron Rodgers is questionable with a toe injury."
results = nlp(text)
print(results)
| Metric | Score |
|---|---|
| F1 Score | 94.98% |
| Precision | 95.41% |
| Recall | 94.55% |
| Accuracy | 97.06% |
Evaluated: Dec 2025.
The model was fine-tuned using a Weak Supervision + Active Learning approach:
bert-large-NER (for Player/Team) and keyword matching (for Injury/Status).microsoft/SportsBERT fine-tuned on the combined Silver + Gold dataset.Metadata > Keywords > BERT NER.For instructions on how to reproduce the training pipeline, run tests, or contribute, please see docs/development.md.
This project uses DVC to manage the data pipeline.
# 1. Install dependencies
uv sync
# 2. Run the full pipeline (Data Gen -> Validation -> Training)
dvc repro train_model