Vocabulary Trimming (VT) is a model compression technique, which reduces a multilingual LM vocabulary to a target language by deleting irrelevant tokens from its vocabulary. This repository contains a python-library vocabtrimmer, that remove irrelevant tokens from a multilingual LM vocabulary for the target language.
☆70Oct 25, 2024Updated 2 years ago
Alternatives and similar repositories for lm-vocab-trimmer
Users that are interested in lm-vocab-trimmer are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Code for the paper: How to Distill your BERT: An Empirical Study on the Impact of Weight Initialisation and Distillation Objectives (ACL …☆11May 25, 2023Updated 3 years ago
- This repository provides the code for applying Contrastive Learning Penalty Loss (CLPL) and Mixture of Experts (MoE) to the BGE-M3 text e…☆11Dec 27, 2024Updated last year
- Starbucks: Improved Training for 2D Matryoshka Embeddings☆26Jun 30, 2025Updated last year
- Code for the examples presented in the talk "Training a Llama in your backyard: fine-tuning very large models on consumer hardware" given…☆15Oct 16, 2023Updated 3 years ago
- Code Implementation for "NASH: A Simple Unified Framework of Structured Pruning for Accelerating Encoder-Decoder Language Models" (EMNLP …☆17Oct 17, 2023Updated 3 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Remove duplicates and near-duplicates from text corpora, no matter the scale.☆13Nov 24, 2023Updated 2 years ago
- SCT: An Efficient Self-Supervised Cross-View Training For Sentence Embedding (TACL)☆16Jul 27, 2024Updated 2 years ago
- PathPiece tokenizer☆14Nov 10, 2024Updated last year
- Crosslingual Question Answering for African Languages☆31Sep 27, 2024Updated 2 years ago
- ☆10Oct 2, 2024Updated 2 years ago
- GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embeddings☆47Mar 6, 2024Updated 2 years ago
- FlexiTokens☆23Dec 27, 2025Updated 10 months ago
- Code for the paper "BPE stays on SCRIPT", "Which Pieces Does Unigram Tokenization Really Need?" and MinGram☆22Oct 21, 2026Updated last week
- Balancing the Picture: Debiasing Vision-Language Datasets with Synthetic Contrast Sets☆12May 25, 2023Updated 3 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- My NER Experiments with ModernBERT and Ettin☆30Jul 17, 2025Updated last year
- Fast BM25 search engine with category theory abstractions☆12Feb 22, 2026Updated 8 months ago
- [EMNLP'23] Official Code for "FOCUS: Effective Embedding Initialization for Monolingual Specialization of Multilingual Models"☆40Jun 7, 2025Updated last year
- Load What You Need: Smaller Multilingual Transformers for Pytorch and TensorFlow 2.0.☆108May 20, 2022Updated 4 years ago
- ☆14Jun 5, 2025Updated last year
- Official Repository for "Hypencoder: Hypernetworks for Information Retrieval"☆41Sep 20, 2025Updated last year
- [ICML 2026] CUDA-Accelerated Regularized Optimal Transport.☆13Oct 21, 2026Updated last week
- Python source code for EMNLP 2021 Findings paper: "Subword Mapping and Anchoring Across Languages".☆13Sep 17, 2021Updated 5 years ago
- Knowledgeable Embedding: Injecting dynamically updatable entity knowledge into embeddings to enhance RAG☆15Aug 31, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- 🍡 30x faster tokenization for every HuggingFace model☆55Oct 23, 2026Updated last week
- ☆12Apr 24, 2025Updated last year
- ☆11Mar 17, 2026Updated 7 months ago
- Code to reproduce the experiments of the ICLR24-paper: "Sparse Model Soups: A Recipe for Improved Pruning via Model Averaging"☆12Oct 14, 2025Updated last year
- A Multilingual Keyboard Layout-Based Typo Generator☆18Nov 23, 2025Updated 11 months ago
- On the Similarities of Embeddings in Contrastive Learning (ICML 2025)☆11Jul 15, 2025Updated last year
- Augmenty is an augmentation library based on spaCy for augmenting texts.☆155May 24, 2024Updated 2 years ago
- The Argilla API python SDK☆11Sep 30, 2024Updated 2 years ago
- EMNLP 2021 - Frustratingly Simple Pretraining Alternatives to Masked Language Modeling☆34Nov 21, 2021Updated 4 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- YASEM - Yet Another Splade|Sparse Embedder - A simple and efficient library for SPLADE embeddings☆13May 22, 2025Updated last year
- ☆12Dec 24, 2025Updated 10 months ago
- Parameter-efficient transformer embeddings replace learned embeddings with hardware-aware polynomial expansions of token IDs.☆13Feb 6, 2026Updated 8 months ago
- Local emulator for Hugging Face Inference Endpoints customer handlers☆25Sep 23, 2026Updated last month
- A massively multilingual modern encoder language model☆165Jan 20, 2026Updated 9 months ago
- Arabic News Stance Corpus☆12Feb 5, 2021Updated 5 years ago
- ☆43Apr 20, 2023Updated 3 years ago