HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Building Language Models for Text with Named Entities

Md Rizwan Parvez; Saikat Chakraborty; Baishakhi Ray; Kai-Wei Chang

Building Language Models for Text with Named Entities

Abstract

Text in many domains involves a significant amount of named entities. Predict- ing the entity names is often challenging for a language model as they appear less frequent on the training corpus. In this paper, we propose a novel and effective approach to building a discriminative language model which can learn the entity names by leveraging their entity type information. We also introduce two benchmark datasets based on recipes and Java programming codes, on which we evalu- ate the proposed model. Experimental re- sults show that our model achieves 52.2% better perplexity in recipe generation and 22.06% on code generation than the state-of-the-art language models.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
code-generation-on-android-reposEntity Type Model
Perplexity: 2.65
recipe-generation-on-now-youre-cookingEntity Type Model
Perplexity: 9.67

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Building Language Models for Text with Named Entities | Papers | HyperAI