19 open-source projects similar to ntunlp/llmsanitize, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best LLMSanitize alternative.
MergeKit is a toolkit for combining multiple pre-trained large language models into a single entity using algorithmic blending. It provides a specialized system for parameter interpolation and weight extraction to unify model capabilities. The project distinguishes itself through an evolutionary merge optimizer that tunes parameters based on quantitative evaluation metrics. It also features a mixture of experts orchestrator capable of converting dense models into sparse architectures and a tokenizer alignment tool for transplanting embeddings between different models. The toolkit covers a br
LLM Transparency Tool (LLM-TT), an open-source interactive toolkit for analyzing internal workings of Transformer-based language models. Check out demo at https://huggingface.co/spaces/facebook/llm-transparency-tool-demo
This project is a high-performance BERT embedding service and inference server designed to map text sequences into fixed-length numerical vectors. It functions as a machine learning microservice and distributed model server that decouples request handling from heavy computation. The system utilizes a ZeroMQ messaging infrastructure to provide low-latency communication between distributed clients and the inference server. It incorporates server-side batch processing and GPU workload scaling to maximize hardware utilization and manage high request volumes. The platform supports semantic search
Make any LLM to think deeper like OpenAI o1 and deepseek R1!
This is a fork of CyberZHG/keras_bert which supports Keras BERT on TPU.
BertViz is a diagnostic toolset for visualizing attention heads and internal model behaviors to interpret how language models process text. It serves as an interpretability tool and debugger for natural language processing models, specifically providing interactive maps of attention mechanisms within Transformer architectures. The project enables the analysis of token relationships through detailed views of specific attention heads and layers. It supports global attention visualization across all layers, encoder-decoder attention mapping, and the inspection of individual neurons within query
LLM Reasoners is a library to enable LLMs to conduct complex reasoning, with advanced reasoning algorithms. It approaches multi-step reasoning as planning and searches for the optimal reasoning chain, which achieves the best balance of exploration vs exploitation with the idea of "World Model"…
This repo contains end-to-end recipes to pretrain and finetune the BERT (Bidirectional Encoder Representations from Transformers) language representation model using Azure Machine Learning service.
Read more about AIDungeon2 and how it was built here.
CodeTF: One-stop Transformer Library for State-of-the-art Code LLM
1. (ICLR 2024) A Semantic Invariant Robust Watermark for Large Language Models
This Word Does Not Exist
The original code is from https://github.com/memray/seq2seq-keyphrase-pytorch, which is used to do keyphrase generation using seq2seq with attention model.
This is a repository of Japanese BERT model with SentencePiece tokenizer.
EasyEdit is a framework and toolkit designed for updating, inserting, or erasing specific factual information within large language models without requiring full retraining. It functions as a parameter modifier and knowledge editing system capable of performing targeted weight updates across diverse model architectures. The project distinguishes itself by supporting both text-based and multimodal model editing, allowing for knowledge updates across image and text modalities. It provides utilities for model steering to adjust personality and reasoning patterns in real time via activation inter