6 个仓库
Decoding methods that select the most likely token at each step to minimize computational cost.
Distinct from Sequence Decoders: Distinct from general sequence decoders: focuses on the greedy selection strategy specifically.
Explore 6 awesome GitHub repositories matching artificial intelligence & ml · Greedy Decoding Strategies. Refine with filters or upvote what's useful.
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
Provides greedy decoding implementations for efficient sequence generation.
This is a TensorFlow-based encoder-decoder framework and model library used for mapping input sequences to output sequences. It functions as a deep learning sequence mapper designed to transform sequential data from one domain to another. The library provides tools for implementing sequence-to-sequence modeling across multiple domains, including neural machine translation, automatic text summarization, and image captioning generation. The framework incorporates recurrent neural networks and utilizes attention-based contextualization to weight input sequences. It supports multiple decoding st
Includes a greedy decoding strategy that selects the highest probability token at each step.
本项目是一个深度学习诗歌生成器,旨在创作传统中国对联。它利用序列到序列(seq2seq)神经网络架构将输入文本序列映射到匹配的输出序列,作为一个文本生成模型和推理 Web 服务运行。 该系统具有神经文本排序机制,根据长度一致性和字符模式评估候选输出,以确保结构对齐。它还包括一个内容过滤过程,扫描生成的文本以对照违禁词列表,从而删除敏感或不适当的内容。 更广泛的功能面包括用于数据准备的文本标记化流水线,以及用于通过 JSON 提供模型预测的 RESTful 接口。该项目还涵盖机器学习生命周期,包括模型权重优化、训练以及针对验证数据集的性能评估。
Employs a greedy decoding strategy to select the most likely next token during sequence generation.
Neuraltalk is an automated image captioning system that generates natural language descriptions for images. It utilizes a deep learning model that integrates a pretrained convolutional neural network for visual feature extraction with a recurrent neural network decoder to produce text sequences. The project provides a full workflow for training and evaluating captioning models, including weight optimization via backpropagation and gradient descent. It includes tools for measuring caption accuracy by comparing generated text against reference descriptions. The system covers data preprocessing
Employs a greedy decoding strategy to select the most probable next token when constructing image captions.
CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and GPU with optimizations for speed and memory efficiency. It functions as a model format converter, quantization tool, and REST API server, enabling deployment of neural machine translation, automatic speech recognition, and text generation models. The engine distinguishes itself through a suite of runtime optimizations including layer fusion, weight-matrix quantization, batch-by-length grouping, and a caching allocator that reuses GPU memory. It supports tensor-parallel model di
CTranslate2 selects the highest-probability token at each step for the fastest possible decoding with no branching.
picoGPT is a lightweight, low-level runtime environment and inference engine designed to load pre-trained checkpoints and execute generative transformer model inference. It provides a minimal implementation of the generative pre-trained transformer architecture to facilitate local language model execution. The project includes a C++ machine learning library for converting model parameters and executing greedy token generation without heavy external dependencies. It handles remote asset synchronization by downloading pre-trained weights, hyperparameters, and vocabulary files from remote server
Implements a greedy decoding strategy to select the most likely next token during text generation.