18 个仓库
Training procedures for fitting sequence models like HMMs and CRFs to sequential data.
Distinct from Sequence Learning Models: Focuses specifically on the training/fitting process for sequence taggers, not just the model architecture.
Explore 18 awesome GitHub repositories matching artificial intelligence & ml · Sequence Model Training. Refine with filters or upvote what's useful.
Metaseq 是一个 Transformer 序列建模工具包,专为使用开放预训练权重进行序列到序列模型的训练、微调和部署而设计。它为大语言模型训练提供了一个全面的框架,包括用于序列数据集处理的专用工具,以及用于通过 API 请求生成文本的独立推理服务器。 该项目具有用于模型量化的专用实用程序,可将参数精度降低到 8 位,从而降低内存使用量并提高推理速度。它还包括一个检查点转换流水线,将模型权重转换为针对高性能推理引擎优化的结构。 该框架通过使用张量并行和分片数据并行,支持跨 GPU 集群的大规模训练。其他功能涵盖 NLP 数据集准备、用于迁移学习的预训练权重加载,以及用于进度可视化的训练指标跟踪。
Allows executing training runs with highly configurable architectures, optimizers, and hardware acceleration.
Smile is a comprehensive JVM machine learning library and statistical computing toolkit. It provides a suite of algorithms for classification, regression, and clustering, implemented natively for Java, Scala, and Kotlin. The project also functions as a deep learning framework, a natural language processing library, and an inference engine for large language models. The library distinguishes itself through GPU acceleration via LibTorch bindings and support for the ONNX model interchange format. It includes specialized capabilities for large language model inference, featuring Byte-Pair Encodin
Fits Hidden Markov Models or Conditional Random Fields to sequential data for tagging tasks.
tsai 是一个用于时间序列分类、回归和预测的深度学习库。它基于 PyTorch 和 fastai 构建,提供了一个框架,用于为序列数据分配标签、预测单变量或多变量序列的未来值,并通过自监督学习在未标记数据上训练表征。 该库的特色在于其专业的时间工程和缩放能力。它包含用于捕捉季节性模式的周期性时间编码工具,以及用于处理超出内存限制数据集的在线窗口切片功能。它还支持多模态输入管道,能够将静态分类特征与动态连续序列相结合。 该工具包涵盖了广泛的预处理和评估需求,包括滑动窗口分割、缺失数据插补以及将表格数据帧转换为结构化张量。模型性能通过向前验证(walk-forward validation)和特征重要性分析进行评估,以确保时间一致性。
Builds and trains deep learning models for classification and regression using sequence-based data.
本项目是一个深度学习诗歌生成器,旨在创作传统中国对联。它利用序列到序列(seq2seq)神经网络架构将输入文本序列映射到匹配的输出序列,作为一个文本生成模型和推理 Web 服务运行。 该系统具有神经文本排序机制,根据长度一致性和字符模式评估候选输出,以确保结构对齐。它还包括一个内容过滤过程,扫描生成的文本以对照违禁词列表,从而删除敏感或不适当的内容。 更广泛的功能面包括用于数据准备的文本标记化流水线,以及用于通过 JSON 提供模型预测的 RESTful 接口。该项目还涵盖机器学习生命周期,包括模型权重优化、训练以及针对验证数据集的性能评估。
Optimizes the sequence model using custom hyperparameters and datasets while monitoring loss and quality scores.
bert4keras 是 Keras 深度学习框架的 BERT Transformer 架构的轻量级重新实现。它作为一个自然语言处理工具包和 Transformer 模型库,用于文本分类、序列标注和语义嵌入提取。 该框架包括用于问答和文本生成的序列到序列模型系统,以及一个模型推理服务器,用于将训练好的 Transformer 部署为 Web API 以进行实时预测。 功能涵盖了广泛的自然语言理解任务,包括阅读理解、关系提取和长文本处理。该库提供了用于语言模型预训练和微调的工具,以及参数缩减、用于鲁棒性的对抗性训练和层级学习率配置等优化技术。 该项目包括一个权重转换加载器,用于将外部格式的预训练权重转换为兼容的 Keras 结构。
Optimizes transformer models by reducing GPU memory usage and enhancing classification robustness.
GluonTS is a framework for probabilistic time series forecasting, designed to predict future values as probability distributions with confidence intervals. It supports both traditional model training and zero-shot forecasting, where pretrained models generate predictions for new series without additional training. The project distinguishes itself by integrating a wide variety of forecasting approaches into a unified workflow. This includes deep learning architectures such as recurrent neural networks and causal convolutions, as well as the integration of external statistical models, the Proph
Provides procedures for fitting deep learning models, such as LSTMs and CNNs, to historical time series data.
GluonTS 是一个概率时间序列库和深度学习预测框架。它提供了一套工具包,用于构建、训练和评估神经网络架构,通过将未来值预测为概率分布来量化不确定性。 该项目的独特之处在于支持零样本(zero-shot)预测,并集成了多种建模方法,包括深度概率神经网络以及对 Prophet 和 R forecast 等外部统计库的封装。它实现了因果卷积和可逆残差网络等专门的架构原语,以防止信息泄露并将潜在表示映射为有效的概率分布。 该框架涵盖了全面的数据工程功能,包括时间序列缩放、双射变换和分层建模。它利用 Apache Arrow 和 Parquet 进行高性能数据集流式传输和随机访问管理。在模型评估方面,它包含一套评估套件,使用分位数损失(quantile loss)和连续排名概率分数(CRPS)等指标来衡量预测准确性和概率覆盖率。 该库支持通过集成 Amazon SageMaker 进行模型部署。
Implements training procedures for fitting deep learning models to historical temporal sequences.
这是一个深度学习框架,用于使用 PyTorch 架构预测序列数据中的未来值。它提供了一个用于长周期和概率时间序列预测的工具包,包含一个将表格数据转换为序列以进行监督式深度学习训练的数据流水线。 该库利用训练包装器在 CPU 和 GPU 上扩展模型执行。它支持生成未来结果的概率分布,而不是单一的点估计,从而量化预测的不确定性。 该框架包括实现预测模型、优化超参数以及通过多周期指标评估准确性的功能。它还提供了将复杂架构与简单基准模型进行对比的方法。
Implements deep learning architectures specifically designed for fitting and predicting temporal sequences.
这是一个关于使用 PyTorch 构建神经网络的综合教学资源和课程。它涵盖了深度学习的基本构建块,包括张量操作、自动微分以及模块化神经网络组件的构建。 该仓库是多个专业领域的参考指南。它提供了计算机视觉任务(如图像分类、目标检测和语义分割)的实现细节,以及涉及 Transformer、循环网络和生成模型的自然语言处理工作流。此外,它还包括生成式 AI 的参考资料,专门关注通过扩散模型和对抗网络进行图像合成。 材料延伸至模型优化和部署流水线。它涵盖了通过量化和将模型导出为 ONNX 和 TensorRT 等格式来减小模型大小并提高推理速度的技术。其他能力领域包括用于并行加载的数据工程、使用自定义指标的模型评估,以及开源大语言模型的部署。 该项目主要以一系列 Jupyter Notebook 的形式提供。
Assigns categorical labels to sequences or tokens for tasks like sentiment analysis and entity recognition.
这是一个面向 .NET 生态系统的科学计算框架,提供了一套全面的数值分析、统计和数学优化库。它作为开发机器学习、数字信号处理和计算机视觉应用的基础工具包。 该框架提供了用于训练和部署预测模型的专用工具包,包括神经网络、支持向量机和决策树。它还通过对实时视觉分析(如对象跟踪和面部特征检测)的深度集成,以及用于捕获和过滤音频及传感器信号的专用数字信号处理库而脱颖而出。 其功能范围扩展到高级矩阵分解和线性代数、概率状态建模和启发式搜索算法。它还涵盖了广泛的数据操作实用程序,从降维和归一化到空间数据组织和科学可视化组件。 该系统包括用于摄像机配置、GPIO 端口管理和专用深度传感硬件的硬件集成控制器。
Implements models that categorize entire observation sequences into predefined classes using generative hidden Markov models.
Merlion is a time series machine learning framework designed for anomaly detection and forecasting. It provides a unified interface for implementing and applying various statistical and machine learning models to temporal data streams. The project includes a benchmarking dashboard that allows for the visual testing and evaluation of models against historical ground truth datasets. This web interface enables the experimentation of different models on custom datasets without manual coding. The framework covers capabilities for identifying outliers, predicting future time series values, and mea
Provides a visual dashboard to test machine learning models on custom datasets without manual coding.
This project is a TensorFlow implementation of a transformer model, providing a text-to-text deep learning framework designed to recognize and generate sequence patterns. It functions as an attention-based sequence model and a neural machine translation framework for converting text from one language to another. The system implements the transformer network architecture, utilizing multi-head attention and positional encoding to process sequential data. It provides the necessary tools for transformer model training and machine translation inference, allowing for the execution of trained models
Provides a training process to optimize neural network weights for sequence-pattern recognition tasks.
本项目是使用 TensorFlow 进行神经网络开发的教育资源和参考实现集合。它作为一个全面的学习课程、机器学习课程大纲和构建深度学习架构的实践指南。 该代码库提供了涵盖广泛模型类型的教学材料和示例,包括用于图像分类的卷积神经网络、用于序列数据的循环网络和长短期记忆单元,以及用于生成式建模的自动编码器。它还包括用于深度强化学习智能体和将预训练模型适配到新任务的迁移学习技术的实现。 该项目涵盖了完整的开发生命周期,包括数据预处理、计算图定义和权重优化。它提供了用于模型评估和训练优化的实用工具(如 Dropout 和正则化),以及用于可视化网络架构和监控训练指标的工具。
Provides training procedures that optimize weights using gradient-based optimizers for sequence-based models.
Neural Prophet 是一个基于 PyTorch 的时间序列预测库,专为可解释的机器学习而设计。它作为一个分解框架,将信号分解为自回归效应、分段线性趋势和基于傅里叶的季节性等组成部分,以预测未来值。 该项目通过结合神经网络与传统算法,生成能够解释潜在趋势驱动因素的预测,从而脱颖而出。它采用全局时间序列建模方法,允许单个模型在多个同步序列上进行训练,在共享学习模式的同时保持局部特异性。此外,它还作为不确定性量化工具,利用分位数回归和共形预测来生成可靠的预测区间。 该库提供了一套全面的数据管理功能,包括节假日检索、缺口填充和归一化。它涵盖了完整的建模生命周期,包括自动超参数优化、趋势变点检测以及未来和滞后回归变量的集成。通过预测分解和输入归因分析,用户可以可视化特定因素如何影响最终预测。
Supports local model training to capture unique trends and seasonality for individual time series entities.
该项目是 PyTorch 深度学习框架技术指南和 API 参考的中文翻译版。它作为一个本地化的知识库和参考资料,使非英语母语者能够访问深度学习文档。 该文档涵盖了 PyTorch 的全面能力,包括神经网络模型开发、自动微分以及后端内核的实现。它提供了关于分布式训练策略、通过 ONNX 和 C++ 等格式进行模型部署以及各种模型优化和量化技术的详细指导。 该项目利用社区驱动的翻译管道和分布式贡献模型来维护版本同步的内容。技术资料使用 Markdown 组织,并通过静态网站生成渲染为可导航的网站。
Documents scaling sequence-to-sequence model training across multiple nodes using data and pipeline parallelism.
warp-ctc 是一个高性能库,用于计算连接时序分类(CTC)损失,以训练序列到序列(seq2seq)深度学习模型。它通过对数空间计算提供数值稳定性层,防止长序列概率计算过程中的下溢和精度误差。 该库利用硬件加速内核在 CPU 和 GPU 架构上并行计算损失,通过优化 CTC 算法的动态规划步骤来提高训练吞吐量。 这些功能支持语音识别、手写体光学字符识别(OCR)以及通用序列到序列映射模型的训练。该项目还包含在 TensorFlow 中计算损失和进行对齐无关训练的集成方案。
Optimizes the training process for sequence-to-sequence models using parallelized computations.
DeepVariant is a deep learning genotyping tool and DNA sequence analysis pipeline used to identify single nucleotide polymorphisms and indels from next-generation sequencing data. It functions as a convolutional neural network genetic variant caller that treats genomic read alignments as multi-channel image tensors to determine genotypes. The system supports specialized analysis workflows including long-read variant calling for circular consensus sequencing and trio-based variant calling to identify inherited or de novo mutations. It enables model optimization for new species or genome contex
Optimizes neural network weights for specific species or genome contexts using labeled sequencing data.
This framework provides a toolkit for fine-tuning large language models by combining distributed data parallelism with parameter sharding and quantization techniques. It is designed to scale the training of massive neural networks across multiple graphics processors, enabling the execution of models that exceed the memory capacity of individual hardware units. The library distinguishes itself by integrating low-rank adaptation with memory-efficient weight loading and quantization-aware parameter sharding. By initializing model weights directly on the graphics processor and applying granular l
Supports training of custom transformer architectures through flexible wrapping policies for attention and MLP layers.