随着文本数据的快速增长,预测长文本已成为自然语言处理领域的一项重大挑战。传统文本预测方法在应对长文本时遇到很大困难,主要原因是冗余和无关信息的存在,这妨碍了模型捕捉文本中关键洞见的能力。为解决这一问题,我们提出了一种用于长文本分类和预测的新方法。首先,我们采用嵌入技术压缩长文本,旨在减少其中的冗余。随后,使用 Bidirectional Encoder Representations from Transformers(BERT,来自 Transformer 的双向编码器表示)嵌入方法进行文本分类训练。实验结果表明,我们的方法在对优惠贸易协定长文本进行分类时实现了显著的性能提升。此外,通过嵌入方法压缩文本不仅提高了预测准确率,还大幅降低了计算复杂度。总体而言,本文提出了一种长文本预测策略,为自然语言处理领域的研究人员和工程师提供了有价值的参考。
英文摘要:
With the rapid proliferation of textual data, predicting long texts has emerged as a significant challenge in the domain of natural language processing. Traditional text prediction methods encounter substantial difficulties when grappling with long texts, primarily due to the presence of redundant and irrelevant information, which impedes the model's capacity to capture pivotal insights from the text. To address this issue, we introduce a novel approach to long-text classification and prediction. Initially, we employ embedding techniques to condense the long texts, aiming to diminish the redundancy therein. Subsequently,the Bidirectional Encoder Representations from Transformers (BERT) embedding method is utilized for text classification training. Experimental outcomes indicate that our method realizes considerable performance enhancements in classifying long texts of Preferential Trade Agreements. Furthermore, the condensation of text through embedding methods not only augments prediction accuracy but also substantially reduces computational complexity. Overall, this paper presents a strategy for long-text prediction, offering a valuable reference for researchers and engineers in the natural language processing sphere.
Classifying Cancer Stage with Open-Source Clinical Large Language Models
1 College of Computing;Informatics Drexel University, Philadelphia PA, USA Email: cc3859,mml367;2 Department of Medical Oncology, Sidney Kimmel Cancer Center Thomas Jefferson University, Philadelphia, PA, USA Email
Pegasus@Dravidian-CodeMix-HASOC2021: Analyzing Social Media Content for Detection of Offensive Text
Indian Institute of Information Technology Tiruchirappalli(蒂鲁吉拉帕利信息技术学院);Kongu Engineering College(贡古工程学院);Sri Krishna Adithya College of Arts and Science(斯里克里希纳阿迪蒂亚文理学院);Sultan Idris Education University(苏丹伊德里斯教育大学)
为了解决检测攻击性评论/帖子的难题,这些评论/帖子是相当非正式的,非结构化的,错误的和代码混合的,我们在这篇研究论文中介绍了两种创造性的方法。社交媒体平台上的攻击性评论/帖子可能会影响个人,团体或未成年人。为了对两种流行的德拉威语言(泰米尔语和马拉雅拉姆语)的评论/帖子进行分类,作为HASOC - DravidianCodeMix FIRE 2021共享任务的一部分,我们采用了两个基于transformer的原型,它们成功地在所有任务中排名前8位。我们的方法的代码可以查看和使用。
Using Instruction-Tuned Large Language Models to Identify Indicators of Vulnerability in Police Incident Narratives
School for Business and Society, University of York(约克大学商业与社会学院);ESRC Vulnerability and Policing Futures Research Centre(经济与社会研究委员会脆弱性与警务未来研究中心);School of Law, University of Leeds(利兹大学法学院)
Channing Division of Network Medicine, Department of Medicine, Brigham and Women’s Hospital, Harvard Medical School(哈佛医学院布里格姆妇女医院医学系钱宁网络医学部);Network Science Institute and Department of Physics, Northeastern University(东北大学网络科学研究所与物理系);Harvard Data Science Initiative, Harvard University(哈佛大学哈佛数据科学计划)
Ustnlp16 at SemEval-2025 Task 9: Improving Model Performance through Imbalance Handling and Focal Loss
Department of Computer Science and Engineering, The Hong Kong University of Science and Technology (HKUST), Hong Kong SAR(计算机科学与工程系,香港科学与技术大学(HKUST),香港特别行政区)
本文针对食品危害检测中的数据不平衡问题,基于 BERT 和 RoBERTa 模型,结合随机过采样、EDA 和 focal loss 等策略,有效提升了分类准确率、F1分数及模型鲁棒性。