paper-with-me

Papers

Multi hash embeddings in spaCy

2022-12-19 · Lester James Miranda, Ákos Kádár, Adriane Boyd, Sofie Van Landeghem, Anders Søgaard, Matthew Honnibal

The distributed representation of symbols is one of the key technologies in machine learning systems today, playing a pivotal role in modern natural language processing. Traditional word embeddings associate a separate vector with each word. While this approach is simple and leads to good performance, it requires a lot of memory for representing a large vocabulary. To reduce the memory footprint, the default embedding layer in spaCy is a hash embeddings layer. It is a stochastic approximation of traditional embeddings that provides unique vectors for a large number of words without explicitly storing a separate vector for each of them. To be able to compute meaningful representations for both known and unknown words, hash embeddings represent each word as a summary of the normalized word form, subword information and word shape. Together, these features produce a multi-embedding of a word. In this technical report we lay out a bit of history and introduce the embedding methods in spaCy in detail. Second, we critically evaluate the hash embedding architecture with multi-embeddings on Named Entity Recognition datasets from a variety of domains and languages. The experiments validate most key design choices behind spaCy's embedders, but we also uncover a few surprising results.

📄 PDF Abstract BibTeX arXiv:2212.09255

Code (1)

explosion/projects/tree/v3/benchmarks/ner_embeddings 공식 구현

Tasks

named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)Word Embeddings

Similar Papers 제목 키워드 기반

HuSpaCy: an industrial-strength Hungarian natural language processing toolkit

2022-01-06 · György Orosz, Zsolt Szántó, Péter Berkecz, Gergő Szabó 외

Although there are a couple of open-source language processing pipelines available for Hungarian, none of them satisfies the requirements of today's NLP applications. A language processing pipeline should consist of clos…

Dependency ParsingLemmatizationNERPOS+2

Hash Embeddings for Efficient Word Representations

2017-09-12 · NeurIPS 2017 12 · Dan Svenstrup, Jonas Meinertz Hansen, Ole Winther

We present hash embeddings, an efficient method for representing words in a continuous vector form. A hash embedding may be seen as an interpolation between a standard word embedding and a word embedding created using a …

Shona spaCy: A Morphological Analyzer for an Under-Resourced Bantu Language

2025-11-12 · Happymore Masoka arxiv

Despite rapid advances in multilingual natural language processing (NLP), the Bantu language Shona remains under-served in terms of morphological analysis and language-aware tools. This paper presents Shona spaCy, an ope…

Deep Hashing with Hash-Consistent Large Margin Proxy Embeddings

2020-07-27 · Pedro Morgado, Yunsheng Li, Jose Costa Pereira, Mohammad Saberian 외

Image hash codes are produced by binarizing the embeddings of convolutional neural networks (CNN) trained for either classification or retrieval. While proxy embeddings achieve good performance on both tasks, they are no…

BinarizationClassificationDeep HashingGeneral Classification+1

Launching into clinical space with medspaCy: a new clinical text processing toolkit in Python

2021-06-14 · Hannah Eyre, Alec B Chapman, Kelly S Peterson, Jianlin Shi 외

Despite impressive success of machine learning algorithms in clinical natural language processing (cNLP), rule-based approaches still have a prominent role. In this paper, we introduce medspaCy, an extensible, open-sourc…

BIG-bench Machine Learning