6 Repos
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.
Dies ist ein TensorFlow-basiertes Encoder-Decoder-Framework und eine Modellbibliothek, die zum Abbilden von Eingabesequenzen auf Ausgabesequenzen verwendet wird. Es fungiert als Deep-Learning-Sequenz-Mapper, der darauf ausgelegt ist, sequentielle Daten von einer Domäne in eine andere zu transformieren. Die Bibliothek bietet Tools für die Implementierung von Sequence-to-Sequence-Modellierung über mehrere Domänen hinweg, einschließlich neuronaler maschineller Übersetzung, automatischer Textzusammenfassung und der Generierung von Bildunterschriften. Das Framework integriert rekurrente neuronale Netze und nutzt aufmerksamkeitsbasierte Kontextualisierung, um Eingabesequenzen zu gewichten. Es unterstützt mehrere Dekodierungsstrategien, einschließlich Beam Search und Greedy Decoding, während mathematische Operationen mittels TensorFlow-Graph-Berechnung ausgeführt werden.
Includes a greedy decoding strategy that selects the highest probability token at each step.
Dieses Projekt ist ein Deep-Learning-Poetry-Generator, der darauf ausgelegt ist, traditionelle chinesische Couplets zu erstellen. Er nutzt eine Sequence-to-Sequence-Architektur neuronaler Netze, um Eingabetextsequenzen auf passende Ausgabesequenzen zu mappen, und fungiert als Textgenerierungsmodell sowie als Inferenz-Webservice. Das System verfügt über einen neuronalen Text-Ranking-Mechanismus, der Kandidaten-Outputs basierend auf Längenkonsistenz und Zeichenmustern evaluiert, um eine strukturelle Ausrichtung sicherzustellen. Es enthält zudem einen Content-Filter-Prozess, der generierten Text gegen Listen verbotener Wörter scannt, um sensible oder unangemessene Inhalte zu entfernen. Die breitere Funktionspalette umfasst eine Text-Tokenisierungs-Pipeline zur Datenvorbereitung und ein RESTful-Interface zur Bereitstellung von Modellvorhersagen via JSON. Das Projekt deckt zudem den Machine-Learning-Lebenszyklus ab, einschließlich Modellgewichtsoptimierung, Training und Performance-Evaluierung gegen Validierungsdatensätze.
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.