7 个仓库
Layers that execute generic linear transformations across specific tensor dimensions for MLP-style architectures.
Distinct from Linear Regression Implementations: Focuses on mixing dimensions within a tensor rather than standard linear regression models.
Explore 7 awesome GitHub repositories matching artificial intelligence & ml · Linear Mixing Layers. Refine with filters or upvote what's useful.
Einops is a tensor manipulation library that provides a framework-agnostic interface for reshaping, Einstein summation, and multi-dimensional array operations. It serves as an abstraction layer that works across NumPy, PyTorch, TensorFlow, and JAX, allowing for tensor transformations without changing the API. The library distinguishes itself through a declarative notation system that uses readable string patterns to describe tensor rearrangements and reductions. This approach includes an extended Einstein summation interface that supports multi-letter axis names and a named dimension mapping
Executes generic linear transformations across tensor dimensions to implement multi-layer perceptron style architectures.
IP-Adapter is a framework for conditioning pretrained text-to-image diffusion models to use image prompts as visual guides. It serves as a text-to-image model extension that transforms a text-based diffusion model to accept and process image inputs as primary generation sources. The system implements identity preservation to maintain consistent facial features across multiple outputs using a reference photo. It also enables style transfer workflows to produce image variations that preserve the artistic characteristics of a source image. Capabilities cover multi-modal prompting, including the
Uses lightweight trainable linear layers to transform image embeddings for compatibility with attention layers.
ComfyUIIPAdapterplus 是 ComfyUI 的一个节点式扩展,它实现了 IPAdapter 模型以使用参考图像引导图像生成。它作为一个图像提示工具和 Stable Diffusion 图像适配器,允许参考文件作为视觉提示,用于控制风格、构图和主体身份。 该项目提供了在生成的肖像中保持面部身份和高保真特征的专门功能。它支持从参考图像迁移视觉特征和艺术风格,以及提取空间布局以引导新生成中对象的排列。 该扩展涵盖了广泛的功能领域,包括 AI 图像调节、一致的角色生成和图像构图控制。
Provides linear projection layers to align image encoder outputs with the dimensionality of model attention layers.
Flashlight is a C++ machine learning library and deep learning framework designed for building and training neural networks. It functions as a tensor manipulation library and an automatic differentiation engine that tracks operations to calculate gradients via backpropagation for model optimization. The project is distinguished by its role as a distributed training framework, utilizing all-reduce gradient synchronization and distributed environments to scale machine learning workloads across multiple nodes and devices. It features a backend-agnostic memory interface and RAII-based management
Multiplies input tensors by learnable weight matrices and adds bias terms for vector space mapping.
这是一个关于使用 PyTorch 构建神经网络的综合教学资源和课程。它涵盖了深度学习的基本构建块,包括张量操作、自动微分以及模块化神经网络组件的构建。 该仓库是多个专业领域的参考指南。它提供了计算机视觉任务(如图像分类、目标检测和语义分割)的实现细节,以及涉及 Transformer、循环网络和生成模型的自然语言处理工作流。此外,它还包括生成式 AI 的参考资料,专门关注通过扩散模型和对抗网络进行图像合成。 材料延伸至模型优化和部署流水线。它涵盖了通过量化和将模型导出为 ONNX 和 TensorRT 等格式来减小模型大小并提高推理速度的技术。其他能力领域包括用于并行加载的数据工程、使用自定义指标的模型评估,以及开源大语言模型的部署。 该项目主要以一系列 Jupyter Notebook 的形式提供。
Implements linear transformations using weight matrices and bias terms to map data between vector spaces.
此项目是一个自监督对比学习框架,旨在训练深度学习模型从图像中学习视觉表示,而无需使用人类提供的标签。它提供了一个系统,用于开发可适应下游计算机视觉任务的预训练视觉表示模型。 该框架包括用于半监督图像分类的工具,它结合了大型未标记数据集和小型标记集以提高准确性。它还具有线性探测评估工具,通过在冻结的表示之上训练简单的线性分类器来评估学习到的图像特征的质量。 代码库涵盖了分布式深度学习训练和硬件加速以处理大批量数据,以及优化原语,如余弦衰减学习率调度和权重衰减正则化。它还提供了模型管理实用程序,包括在不同深度学习框架格式之间转换预训练检查点,以及用于模型部署的工具。 该实现以 Jupyter Notebooks 集合的形式提供。
Constructs linear layers with optional bias and normalization to evaluate the quality of learned visual representations.
This is a structured deep learning curriculum for programmers, delivered as a collection of Jupyter notebooks. It teaches the fundamentals of training neural networks for computer vision, natural language processing, tabular data analysis, and collaborative filtering using PyTorch and the fastai library. The course is designed to be hands-on, guiding learners from building a training loop from scratch to fine-tuning pretrained models for a variety of practical tasks. The curriculum distinguishes itself by covering the full lifecycle of a deep learning project, from data preparation and augmen
Provides linear block composers that group normalization, dropout, and linear layers for model construction.