SINAI/ALIA-es-legal-hard-negatives
收藏资源简介:
ALIA西班牙法律和行政难负例语料库提供了用于训练西班牙法律-行政领域密集检索模型的挑战性负例段落。在密集检索系统中,难负例是语义上与查询接近但不包含正确答案的段落。使用这样的负例进行训练有助于模型学习细粒度的语义区分,并提高排名性能。该数据集源自ALIA项目中使用的法律-行政查询-段落对,并通过嵌入相似性挖掘自动增加了难负例。
The **ALIA Spanish Legal and Administrative Hard Negatives Corpus** provides challenging negative passages for training dense retrieval models in the Spanish legal‑administrative domain. In dense retrieval systems, hard negatives are passages that are **semantically close to the query but do not contain the correct answer**. Training with such negatives helps models learn fine‑grained semantic distinctions and improves ranking performance. This dataset is derived from legal‑administrative query--passage pairs used within the ALIA project and automatically augmented with hard negatives using embedding similarity mining.




