Similar Items: Enhancing large language models for scientific entity recognition via fully automated self-distillation