Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/pytorch/token-classification/run_ner.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ModelArguments:
metadata={"help": "Path to pretrained model or model identifier from huggingface.co/models"}
)
distill_teacher: Optional[str] = field(
default=None, metadata={"help": "Teacher model which needs to be a trained QA model"}
default=None, metadata={"help": "Teacher model which needs to be a trained NER model"}
)
config_name: Optional[str] = field(
default=None, metadata={"help": "Pretrained config name or path if not the same as model_name"}
Expand Down
2 changes: 1 addition & 1 deletion examples/pytorch/token-classification/sparseml_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class TokenClassificationModuleExporter(ModuleExporter):
"""
Module exporter class for Question Answering
Module exporter class for Token Classification
"""

@classmethod
Expand Down