Skip to content
Project categories

AI & Machine Learning · GitHub

Explore AI assistants, agents, models, training and inference tools.

Useful GitHub projects

24,501 projects

Penguin-VL

tencent-ailab

212stars
Penguin-VL preview

Penguin-VL: Exploring the Efficiency Limits of VLM with LLM-based Vision Encoders [Technical Report]

  • LLM → Vision Encoder initialization (Penguin-Encoder)Initialize the vision encoder from a text-only LLM (e.g., Qwen3-0.6B), convert causal attention to bidirectional attention, and add 2D-RoPE for variable-resolution vision tokens.
  • Mixed-supervision encoder pretrainingWarm up the LLM-initialized encoder with a reconstruction/distillation objective under a teacher vision encoder (amplitude / direction / relation losses) to inject visual knowledge stably, then switch to high-resolution alignment.

pika

tencent-ailab

354stars

a lightweight speech processing toolkit based on Pytorch and (Py)Kaldi

  • On-the-fly data augmentation and feature extraction loader
  • TDNN Transformer encoder and convolution and transformer based decoder model structure

FastMTP

Tencent-BAC

244stars
FastMTP preview

We present FastMTP, a simple yet effective method that enhances Multi-Token Prediction (MTP) for speculative decoding during inference. Our approach fine-tunes a single MTP head with shared weights across multiple causal draft steps, enabling it to capture longer-range dependencies and achieve higher acceptance rates in speculative decoding. By integrating language-aware vocabulary compression into the MTP head, we further reduce computational overhead during draft generation. Experimental results across diverse benchmarks demonstrate that FastMTP achieves an average of 2.03× speedup compared over vanilla next token prediction while maintaining lossless output quality. With low training cost and seamless integration into existing inference frameworks, FastMTP offers a practical and rapidly deployable solution for accelerating LLM inference.

ArtifactsBenchmark

Tencent-Hunyuan

283stars
ArtifactsBenchmark preview

Figure 1: Automation level versus human–alignment across evaluation frameworks. The red star marks the fully manual WebDev Arena (100% human effort), while the blue bubble denotes our checklist-guided MLLM evaluation, ArtifactsBench, which achieves 94.4% agreement with human votes with 100% automation.

  • First 70+ Score Achievement: GPT-5 breaks the 70-point barrier, demonstrating quantum leap in visual artifact generation
  • Open-Source Leadership: GPT-OSS-120B establishes new standards for open-source visual code generation

FlashTopK

Tencent-Hunyuan

64stars
FlashTopK preview

Fast, exact fused top-k selection for learned sparse attention training and inference, from HyScale (Tencent Hy & University of Edinburgh).

  • Fast: the fastest open-source implementation.
  • Robust: stays fast on trained and untrained indexers. Adaptive key pruning decides per call whether to skip keys by a score bound.

Hunyuan-A13B

Tencent-Hunyuan

818stars
Hunyuan-A13B preview

Tencent Hunyuan A13B (short as Hunyuan-A13B), an innovative and open-source LLM built on a fine-grained MoE architecture.

  • Compact yet Powerful: With only 13 billion active parameters (out of a total of 80 billion), the model delivers competitive performance on a wide range of benchmark tasks, rivaling much larger models.
  • Hybrid Reasoning Support: Supports both fast and slow thinking modes, allowing users to flexibly choose according to their needs.

Tencent-Hunyuan-Large

Tencent-Hunyuan

1,584stars
Tencent-Hunyuan-Large preview

With the rapid development of artificial intelligence technology, large language models (LLMs) have made significant progress in fields such as natural language processing, computer vision, and scientific tasks. However, as the scale of these models increases, optimizing resource consumption while maintaining high performance has become a key challenge. To address this challenge, we have explored Mixture of Experts (MoE) models. The currently unveiled Hunyuan-Large (Hunyuan-MoE-A52B) model is the largest open-source Transformer-based MoE model in the industry, featuring a total of 389 billion parameters and 52 billion active parameters. This is currently the largest open-source Transformer-based MoE model in the industry, featuring a total of 389 billion parameters and 52 billion active parameters.

1,097stars

Tencent Pre-training framework in PyTorch & Pre-trained Model Zoo

  • Reproducibility TencentPretrain has been tested on many datasets and should match the performances of the original pre-training model implementations such as BERT, GPT-2, ELMo, T5, CLIP.
  • Model modularity TencentPretrain is divided into the following parts: embedding, encoder, target embedding (optional), decoder (optional), and target. Ample modules are implemented in each part. Clear and robust interface allows users to combine modules to construct pre-training models with as few restrictions as possible.

TNN

Tencent

4,666stars
TNN preview

TNN is a unified deep learning inference framework for mobile, desktop, and server platforms, developed by Tencent Youtu Lab and Guangying Lab. Its key features include cross-platform support, high performance, model compression, and code pruning. Based on ncnn and Rapidnet, TNN further improves support and performance optimization for mobile devices while drawing on the strong extensibility and performance of existing open-source projects. TNN is deployed in several Tencent apps, including Mobile QQ, Weishi, and Pitu. Contributions are welcome to help us improve the framework.

WeDLM

Tencent

658stars
WeDLM preview

WeDLM: The fastest diffusion language model with standard causal attention and native KV cache compatibility, delivering real speedups over vLLM-optimized baselines.

1,852stars
WeMM-Embedding preview

WeMM-Embedding is a family of universal multimodal embedding models by the WeChat Vision Team at Tencent, supporting multimodal understanding and retrieval.