mlsanityData to 14 Oct 2026

HITgram: A Platform for Experimenting with n-gram Language Models

arXiv 2412.10717 ↗First posted 14 Dec 2024cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) are powerful but resource intensive, limiting accessibility. HITgram addresses this gap by offering a lightweight platform for n-gram model experimentation, ideal for resource-constrained environments. It supports unigrams to 4-grams and incorporates features like context sensitive weighting, Laplace smoothing, and dynamic corpus management to e-hance prediction accuracy, even for unseen word sequences. Experiments demonstrate HITgram's efficiency, achieving 50,000 tokens/second and generating 2-grams from a 320MB corpus in 62 seconds. HITgram scales efficiently, constructing 4-grams from a 1GB file in under 298 seconds on an 8 GB RAM system. Planned enhancements include multilingual support, advanced smoothing, parallel processing, and model saving, further broadening its utility.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 11 of its 18 references that are in the map. First posted on arXiv 14 Dec 2024.

Builds on

11 of 18 references.

References · 11

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2023A Survey of Large Language Modelscited by 2,576
  7. 2024A Survey on Efficient Inference for Large Language Modelscited by 205
  8. 2022Augmenting Interpretable Models with LLMs during Trainingcited by 38
  9. 2023Advancing Medical Imaging with Language Models: A Journey from N-grams to ChatGPTcited by 28
  10. 2024Small Language Model Can Self-correctcited by 23
  11. 2024The Role of n-gram Smoothing in the Age of Neural Networkscited by 6

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.