awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

15 个仓库

Awesome GitHub RepositoriesSequence Padding Utilities

Functions for standardizing input sequence lengths via truncation or padding with special tokens.

Distinct from Padding Maskers: Distinct from Padding Maskers: focuses on the structural standardization of sequence lengths rather than the masking logic for loss exclusion.

Explore 15 awesome GitHub repositories matching artificial intelligence & ml · Sequence Padding Utilities. Refine with filters or upvote what's useful.

Awesome Sequence Padding Utilities GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • d2l-ai/d2l-end2l-ai 的头像

    d2l-ai/d2l-en

    29,001在 GitHub 上查看↗

    This project is an educational platform and research toolkit designed to teach deep learning through a combination of mathematical theory, visual diagrams, and executable code. It provides a comprehensive environment for building, training, and evaluating neural networks, grounding complex concepts in interactive computational notebooks that allow for hands-on experimentation. The framework distinguishes itself by interleaving theoretical foundations—including linear algebra, calculus, and probability—with practical implementations across multiple industry-standard libraries. It supports flex

    Standardizes input lengths by appending special tokens and generating weight masks for uniform batch processing.

    Pythonbookcomputer-visiondata-science
    在 GitHub 上查看↗29,001
  • huggingface/tokenizershuggingface 的头像

    huggingface/tokenizers

    10,825在 GitHub 上查看↗

    This project is a high-performance library for converting raw text into tokens and IDs for machine learning models. It functions as a fast text encoder and a text preprocessing pipeline designed to transform strings into numerical representations with high throughput for research and production. The library includes a subword tokenizer trainer used to analyze text datasets and create custom vocabularies using algorithms such as byte-pair encoding and wordpiece. It provides capabilities for subword vocabulary training and text alignment, allowing character offsets to be tracked during normaliz

    Provides utilities for standardizing input sequence lengths through truncation and padding with special tokens.

    Rustbertgptlanguage-model
    在 GitHub 上查看↗10,825
  • openrlhf/openrlhfOpenRLHF 的头像

    OpenRLHF/OpenRLHF

    9,675在 GitHub 上查看↗

    OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across distributed GPU clusters. It provides tools for aligning large language models and multimodal vision-language models using algorithms such as PPO, GRPO, and DPO. The framework distinguishes itself through a distributed inference engine that overlaps sample rollout with training to increase throughput. It supports scaling to models exceeding 70 billion parameters via parameter sharding and handles long-context sequences through ring-attention sequence parallelism. The project

    Includes a data loader that packs multiple short sequences into fixed-length blocks to eliminate padding waste and increase throughput.

    Pythonlarge-language-modelsopenai-o1proximal-policy-optimization
    在 GitHub 上查看↗9,675
  • tingsongyu/pytorch_tutorialTingsongYu 的头像

    TingsongYu/PyTorch_Tutorial

    8,018在 GitHub 上查看↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Implements functions to standardize input sequence lengths via truncation and padding with special tokens.

    Python
    在 GitHub 上查看↗8,018
  • czy36mengfei/tensorflow2_tutorials_chineseczy36mengfei 的头像

    czy36mengfei/tensorflow2_tutorials_chinese

    7,786在 GitHub 上查看↗

    This project is a collection of educational resources and instructional guides for learning deep learning and neural network implementation using TensorFlow. It provides a structured set of tutorials and notebooks written in Chinese, covering supervised and unsupervised learning tasks. The material focuses on practical implementations of diverse neural network architectures, including convolutional, recurrent, and autoencoder networks. It includes specific training content for computer vision, natural language processing, and generative models. The coverage extends to specialized network arc

    Provides utilities for standardizing variable-length input sequences through padding for consistent batch processing.

    Jupyter Notebook
    在 GitHub 上查看↗7,786
  • paddlepaddle/erniePaddlePaddle 的头像

    PaddlePaddle/ERNIE

    7,717在 GitHub 上查看↗

    ERNIE is a development toolkit for training, fine-tuning, and deploying large language models built on the PaddlePaddle deep learning platform. It provides a comprehensive suite of core components, including an inference server for vision and language models, a training and fine-tuning toolkit, and a framework for building retrieval-augmented generation systems using private knowledge bases. The project features multimodal AI models capable of reasoning across text, images, and video to perform complex visual understanding and information extraction. It distinguishes itself through specialize

    Implements techniques for concatenating multiple sequences into single tensors to minimize padding waste and optimize memory.

    Pythonernieernie-45ernie-45-vl
    在 GitHub 上查看↗7,717
  • timeseriesai/tsaitimeseriesAI 的头像

    timeseriesAI/tsai

    6,081在 GitHub 上查看↗

    tsai 是一个用于时间序列分类、回归和预测的深度学习库。它基于 PyTorch 和 fastai 构建,提供了一个框架,用于为序列数据分配标签、预测单变量或多变量序列的未来值,并通过自监督学习在未标记数据上训练表征。 该库的特色在于其专业的时间工程和缩放能力。它包含用于捕捉季节性模式的周期性时间编码工具,以及用于处理超出内存限制数据集的在线窗口切片功能。它还支持多模态输入管道,能够将静态分类特征与动态连续序列相结合。 该工具包涵盖了广泛的预处理和评估需求,包括滑动窗口分割、缺失数据插补以及将表格数据帧转换为结构化张量。模型性能通过向前验证(walk-forward validation)和特征重要性分析进行评估,以确保时间一致性。

    Implements utilities to standardize input sequence lengths and identify padding to separate structural filler from actual time series data.

    Jupyter Notebook
    在 GitHub 上查看↗6,081
  • meta-pytorch/torchtunemeta-pytorch 的头像

    meta-pytorch/torchtune

    5,774在 GitHub 上查看↗

    Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a config-driven system for instantiating components, orchestrating distributed training, and managing parameter-efficient fine-tuning with quantization support, all through YAML-based configurations and command-line overrides. The library distinguishes itself through its comprehensive post-training workflow orchestration, combining supervised fine-tuning, preference optimization (DPO, PPO, GRPO), knowledge distillation, and quantization-aware training in a single configurable pip

    Packs multiple dataset samples into single sequences to reduce padding overhead during training.

    Python
    在 GitHub 上查看↗5,774
  • pytorch/torchtunepytorch 的头像

    pytorch/torchtune

    5,774在 GitHub 上查看↗

    Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a configurable training pipeline orchestrated through YAML recipes, with CLI overrides and component swapping, distributed training via FSDP2, memory optimizations, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA. The library distinguishes itself through its YAML-driven configuration system that defines all training parameters and instantiates components from config files, with full CLI override capability for any field or component at launch time. It suppo

    Packs multiple training samples into single sequences to minimize padding waste and maximize throughput.

    Python
    在 GitHub 上查看↗5,774
  • wb14123/seq2seq-coupletwb14123 的头像

    wb14123/seq2seq-couplet

    5,491在 GitHub 上查看↗

    本项目是一个深度学习诗歌生成器,旨在创作传统中国对联。它利用序列到序列(seq2seq)神经网络架构将输入文本序列映射到匹配的输出序列,作为一个文本生成模型和推理 Web 服务运行。 该系统具有神经文本排序机制,根据长度一致性和字符模式评估候选输出,以确保结构对齐。它还包括一个内容过滤过程,扫描生成的文本以对照违禁词列表,从而删除敏感或不适当的内容。 更广泛的功能面包括用于数据准备的文本标记化流水线,以及用于通过 JSON 提供模型预测的 RESTful 接口。该项目还涵盖机器学习生命周期,包括模型权重优化、训练以及针对验证数据集的性能评估。

    Standardizes input sequence lengths using placeholder tokens to ensure uniform batch dimensions.

    Python
    在 GitHub 上查看↗5,491
  • zhaochenyang20/awesome-ml-sys-tutorialzhaochenyang20 的头像

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371在 GitHub 上查看↗

    This project provides a comprehensive technical guide and framework for engineering large-scale machine learning systems. It covers the full lifecycle of model development, focusing on the infrastructure and computational principles required to build, train, and serve generative AI models across distributed GPU clusters. The repository distinguishes itself by offering deep-dive tutorials and implementation strategies for complex system challenges. It emphasizes high-performance architectural primitives, such as collective communication orchestration, distributed tensor sharding, and static gr

    Combines sequences of varying lengths into continuous vectors to eliminate computational waste from padding.

    Python
    在 GitHub 上查看↗5,371
  • hiyouga/easyr1hiyouga 的头像

    hiyouga/EasyR1

    5,034在 GitHub 上查看↗

    EasyR1 是一个用于大型语言模型和视觉语言模型的分布式模型训练系统及强化学习框架。它充当多模态训练器,并实现了近端策略优化 (PPO) 流水线,旨在提升模型处理文本和图像的推理与感知能力。 该系统专注于在多个计算节点之间分配强化学习工作负载,以管理高内存需求。它通过无填充训练和微调来优化硬件利用率,使大型模型能够适配现有的图形处理器。 该框架涵盖了强化学习和奖励模型编排,包括从人类反馈中进行强化学习 (RLHF) 的工作流。其技术栈包括分布式数据并行、混合精度训练以及用于交错文本和图像数据的多模态输入流水线。 该项目包含用于基于检查点的状态恢复的实用程序,并集成了外部日志记录工具以跟踪训练进度和性能指标。

    Packs variable-length sequences into single dense tensors to eliminate wasteful compute cycles during training.

    Python
    在 GitHub 上查看↗5,034
  • nyandwi/machine_learning_completeNyandwi 的头像

    Nyandwi/machine_learning_complete

    4,983在 GitHub 上查看↗

    This is an interactive notebook-based course that teaches machine learning from Python fundamentals through deep learning and natural language processing. It uses real datasets and multiple frameworks within a structured, hands-on curriculum that combines concise explanations with executable code cells, built-in datasets, and embedded exercise checkpoints. Learning progresses through data preparation and exploration, classical machine learning workflows, computer vision with convolutional neural networks, and natural language processing with deep learning, all delivered as a cohesive progressi

    Standardizes input sequence lengths using truncation or padding with special tokens.

    Jupyter Notebookcomputer-visiondata-analysisdata-science
    在 GitHub 上查看↗4,983
  • fastai/course-v3fastai 的头像

    fastai/course-v3

    4,914在 GitHub 上查看↗

    该项目是一个综合性教育计划和深度学习框架,旨在通过 Notebook 和代码示例教授 PyTorch 深度学习实践。它作为一个用于构建、训练和部署神经网络的高级库,充当模型训练编排器,协调 PyTorch 模型、优化器和损失函数。 该项目为计算机视觉、自然语言处理和表格数据预处理提供了专门的工具包。它通过高级训练控制脱颖而出,例如判别式学习率、用于自定义训练逻辑的双向回调系统,以及自动化设备放置和训练循环的高级学习器抽象。 该框架涵盖了广泛的能力面,包括自动化数据流水线构建、模型架构分析以及跨分类、回归和分割任务的性能评估。它还包括用于跨多个 GPU 进行分布式训练的工具、用于内存优化的混合精度训练,以及对医学影像数据的专门支持。 该项目以一系列 Jupyter Notebook 的形式交付。

    Adds padding tokens to text tensors to ensure uniform sequence lengths within a batch.

    Jupyter Notebookdata-sciencedeep-learningfastai
    在 GitHub 上查看↗4,914
  • morelinq/morelinqmorelinq 的头像

    morelinq/MoreLINQ

    3,827在 GitHub 上查看↗

    MoreLINQ is a functional programming toolkit and extension library for .NET that augments LINQ to Objects with advanced operators for sequence manipulation and analysis. It provides a set of tools for declarative data transformation, leveraging lazy evaluation and composition to handle complex object sequences. The library is distinguished by its specialized capabilities for combinatorial generation, including the production of permutations, subsets, and Cartesian products. It also provides advanced sequence joining options, such as full, left, and right outer joins, and supports complex data

    Adds default values to the start or end of a sequence to reach a minimum specified width.

    C#dotnetlinq
    在 GitHub 上查看↗3,827
  1. Home
  2. Artificial Intelligence & ML
  3. Convolutional Operations
  4. Input Padding Utilities
  5. Padding Maskers
  6. Sequence Padding Utilities

探索子标签

  • Padding-Aware Loss FunctionsLoss calculation logic that ignores padding tokens to ensure they do not contribute to gradient updates. **Distinct from Sequence Padding Utilities:** Focuses on the loss-function side (ignore index) rather than just the structural padding of tensors
  • Sequence PackingTechniques for concatenating multiple sequences into single tensors to minimize padding waste. **Distinct from Sequence Padding Utilities:** Distinct from Sequence Padding Utilities: focuses on packing multiple sequences into one tensor rather than standardizing individual sequence lengths.