awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

15 repository-uri

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

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • d2l-ai/d2l-enAvatar d2l-ai

    d2l-ai/d2l-en

    29,001Vezi pe 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
    Vezi pe GitHub↗29,001
  • huggingface/tokenizersAvatar huggingface

    huggingface/tokenizers

    10,825Vezi pe 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
    Vezi pe GitHub↗10,825
  • openrlhf/openrlhfAvatar OpenRLHF

    OpenRLHF/OpenRLHF

    9,675Vezi pe 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
    Vezi pe GitHub↗9,675
  • tingsongyu/pytorch_tutorialAvatar TingsongYu

    TingsongYu/PyTorch_Tutorial

    8,018Vezi pe 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
    Vezi pe GitHub↗8,018
  • czy36mengfei/tensorflow2_tutorials_chineseAvatar czy36mengfei

    czy36mengfei/tensorflow2_tutorials_chinese

    7,786Vezi pe 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
    Vezi pe GitHub↗7,786
  • paddlepaddle/ernieAvatar PaddlePaddle

    PaddlePaddle/ERNIE

    7,717Vezi pe 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
    Vezi pe GitHub↗7,717
  • timeseriesai/tsaiAvatar timeseriesAI

    timeseriesAI/tsai

    6,081Vezi pe GitHub↗

    tsai is a deep learning library for time series classification, regression, and forecasting. Built on PyTorch and fastai, it provides a framework for assigning labels to sequential data, predicting future values in univariate or multivariate sequences, and training representations on unlabeled data through self-supervised learning. The library distinguishes itself with specialized temporal engineering and scaling capabilities. It includes tools for cyclical temporal encoding to capture seasonal patterns and online window slicing to process datasets larger than available memory. It also suppor

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

    Jupyter Notebook
    Vezi pe GitHub↗6,081
  • meta-pytorch/torchtuneAvatar meta-pytorch

    meta-pytorch/torchtune

    5,774Vezi pe 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
    Vezi pe GitHub↗5,774
  • pytorch/torchtuneAvatar pytorch

    pytorch/torchtune

    5,774Vezi pe 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
    Vezi pe GitHub↗5,774
  • wb14123/seq2seq-coupletAvatar wb14123

    wb14123/seq2seq-couplet

    5,491Vezi pe GitHub↗

    Acest proiect este un generator de poezie bazat pe deep learning, conceput pentru a crea cuplete tradiționale chinezești. Utilizează o arhitectură de rețea neuronală sequence-to-sequence pentru a mapa secvențele de text de intrare către secvențe de ieșire potrivite, funcționând ca un model de generare de text și un serviciu web de inferență. Sistemul dispune de un mecanism neuronal de ranking al textului care evaluează output-urile candidate pe baza consistenței lungimii și a tiparelor de caractere pentru a asigura alinierea structurală. Include, de asemenea, un proces de filtrare a conținutului care scanează textul generat împotriva listelor de cuvinte interzise pentru a elimina materialul sensibil sau inadecvat. Suprafața mai largă de capabilități include un pipeline de tokenizare a textului pentru pregătirea datelor și o interfață RESTful pentru servirea predicțiilor modelului prin JSON. Proiectul acoperă, de asemenea, ciclul de viață al machine learning-ului, cuprinzând optimizarea ponderilor modelului, antrenarea și evaluarea performanței față de seturile de date de validare.

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

    Python
    Vezi pe GitHub↗5,491
  • zhaochenyang20/awesome-ml-sys-tutorialAvatar zhaochenyang20

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371Vezi pe 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
    Vezi pe GitHub↗5,371
  • hiyouga/easyr1Avatar hiyouga

    hiyouga/EasyR1

    5,034Vezi pe GitHub↗

    EasyR1 este un sistem distribuit de antrenare a modelelor și un framework de învățare prin consolidare (reinforcement learning) pentru modele mari de limbaj și modele multimodale (text-imagine). Funcționează ca un antrenor multimodal și o implementare a unui pipeline de Proximal Policy Optimization, conceput pentru a rafina capacitățile de raționament și percepție ale modelelor care procesează atât text, cât și imagini. Sistemul se specializează în distribuirea sarcinilor de învățare prin consolidare pe mai multe noduri de calcul pentru a gestiona cerințele mari de memorie. Optimizează utilizarea hardware-ului prin antrenare fără padding și fine-tuning pentru a potrivi modele mari pe unitățile de procesare grafică (GPU) disponibile. Framework-ul acoperă învățarea prin consolidare și orchestrarea modelelor de recompensă, inclusiv fluxuri de lucru de învățare prin consolidare din feedback uman (RLHF). Suprafața sa tehnică include paralelismul distribuit al datelor, antrenarea cu precizie hibridă și pipeline-uri de intrare multimodale pentru date intercalate de text și imagine. Proiectul include utilitare pentru recuperarea stării bazată pe checkpoint-uri și se integrează cu instrumente externe de logare pentru urmărirea progresului antrenării și a metricilor de performanță.

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

    Python
    Vezi pe GitHub↗5,034
  • nyandwi/machine_learning_completeAvatar Nyandwi

    Nyandwi/machine_learning_complete

    4,983Vezi pe 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
    Vezi pe GitHub↗4,983
  • fastai/course-v3Avatar fastai

    fastai/course-v3

    4,914Vezi pe GitHub↗

    Acest proiect este un program educațional cuprinzător și un framework de deep learning conceput pentru a preda deep learning practic folosind PyTorch prin notebook-uri și exemple de cod. Servește drept bibliotecă de nivel înalt pentru construirea, antrenarea și implementarea rețelelor neuronale, acționând ca un orchestrator de antrenare a modelelor care coordonează modelele PyTorch, optimizatoarele și funcțiile de loss. Proiectul oferă toolkit-uri specializate pentru computer vision, procesarea limbajului natural și preprocesarea datelor tabelare. Se distinge prin controale avansate de antrenare, cum ar fi rate de învățare discriminative, un sistem de callback bidirecțional pentru personalizarea logicii de antrenare și o abstractizare de nivel înalt a learner-ului care automatizează plasarea pe dispozitiv și buclele de antrenare. Framework-ul acoperă o suprafață largă de capabilități, inclusiv construcția automată a pipeline-urilor de date, analiza arhitecturii modelelor și evaluarea performanței în sarcini de clasificare, regresie și segmentare. Include, de asemenea, utilitare pentru antrenarea distribuită pe mai multe GPU-uri, antrenarea cu precizie mixtă pentru optimizarea memoriei și suport specializat pentru date de imagistică medicală. Proiectul este livrat sub formă de serie de Jupyter Notebooks.

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

    Jupyter Notebookdata-sciencedeep-learningfastai
    Vezi pe GitHub↗4,914
  • morelinq/morelinqAvatar morelinq

    morelinq/MoreLINQ

    3,827Vezi pe 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
    Vezi pe GitHub↗3,827
  1. Home
  2. Artificial Intelligence & ML
  3. Convolutional Operations
  4. Input Padding Utilities
  5. Padding Maskers
  6. Sequence Padding Utilities

Explorează sub-etichetele

  • 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.