Small-Text: Active Learning for Text Classification in Python
Leipzig University(莱比锡大学);Institute for Applied Informatics (InfAI)(应用信息学研究所(InfAI))
Christopher Schröder, Lydia Müller, Andreas Niekler, Martin Potthast
备注:
This revision fixes the number of query strategies for modAL, which had remained unchanged from an earlier iteration of the table that did not yet include multi-label strategies
We introduce small-text, an easy-to-use active learning library, which offers pool-based active learning for single- and multi-label text classification in Python. It features numerous pre-implemented state-of-the-art query strategies, including some that leverage the GPU. Standardized interfaces allow the combination of a variety of classifiers, query strategies, and stopping criteria, facilitating a quick mix and match, and enabling a rapid and convenient development of both active learning experiments and applications. With the objective of making various classifiers and query strategies accessible for active learning, small-text integrates several well-known machine learning libraries, namely scikit-learn, PyTorch, and Hugging Face transformers. The latter integrations are optionally installable extensions, so GPUs can be used but are not required. Using this new library, we investigate the performance of the recently published SetFit training paradigm, which we compare to vanilla transformer fine-tuning, finding that it matches the latter in classification accuracy while outperforming it in area under the curve. The library is available under the MIT License at https://github.com/webis-de/small-text, in version 1.3.0 at the time of writing.
pysentimiento: A Python Toolkit for Opinion Mining and Social NLP tasks
Instituto de Ciencias de la Computación, CONICET, Universidad de Buenos Aires(布宜诺斯艾利斯大学 CONICET 计算机科学研究所);Facultad de Astronomía, Matemática y Física, Universidad Nacional de Córdoba(科尔多瓦国立大学天文、数学与物理学院);IIIA-CSIC(西班牙国家研究委员会人工智能研究所)
RiverText: A Python Library for Training and Evaluating Incremental Word Embeddings from Text Data Streams
Department of Computer Science, University of Chile(智利大学计算机科学系);National Center for Artificial Intelligence (CENIA)(人工智能国家中心);Millennium Institute for Foundational Research on Data (IMFD)(数据基础研究千年研究所)
PySS3: A Python package implementing a novel text classifier with visualization tools for Explainable AI
Universidad Nacional de San Luis(圣路易斯国立大学);Consejo Nacional de Investigaciones Científicas y Técnicas(国家科学技术研究委员会);Instituto Nacional de Astrofísica, Óptica y Electrónica(国家天体物理、光学和电子研究所)
Carnegie Mellon University(卡内基梅隆大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);University of California, San Diego(加利福尼亚大学圣迭戈分校);Guangdong University of Technology(广东工业大学);University of Melbourne(墨尔本大学);Shiga University(滋贺大学);RIKEN(理化学研究所)
pyKT: A Python Library to Benchmark Deep Learning based Knowledge Tracing Models
Guangdong Institute of Smart Education(广东省智慧教育研究院);Jinan University(暨南大学);Think Academy International Education(学而思国际教育);TAL Education Group(好未来教育集团);Michigan State University(密歇根州立大学)