awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

10 个仓库

Awesome GitHub RepositoriesLoss Function Customization

Tools for adjusting loss function parameters and reduction methods.

Distinguishing note: Focuses on the configuration of loss function behavior.

Explore 10 awesome GitHub repositories matching artificial intelligence & ml · Loss Function Customization. Refine with filters or upvote what's useful.

Awesome Loss Function Customization GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • open-mmlab/mmdetectionopen-mmlab 的头像

    open-mmlab/mmdetection

    32,756在 GitHub 上查看↗

    This project is a modular research toolkit designed for developing, training, and evaluating deep learning models for object detection, segmentation, and video instance tracking. It provides a flexible training engine that manages complex neural network execution, including distributed training, custom lifecycle hooks, and weight optimization. The framework is built around a hierarchical configuration system that allows users to define architectures, data pipelines, and training hyperparameters through composable, inheritable files. The project distinguishes itself through its highly modular

    Supports customizing loss function behavior by adjusting internal hyper-parameters and reduction methods.

    Pythoncascade-rcnnconvnextdetr
    在 GitHub 上查看↗32,756
  • open-mmlab/mmsegmentationopen-mmlab 的头像

    open-mmlab/mmsegmentation

    9,860在 GitHub 上查看↗

    MMSegmentation is an open-source semantic segmentation toolbox built on PyTorch that provides a modular, configurable framework for building, training, evaluating, and deploying segmentation models. At its core, it offers a config-driven pipeline that assembles training, evaluation, and inference workflows by parsing hierarchical configuration files, with a modular component registry that enables plug-and-play composition of neural network modules, optimizers, datasets, and metrics. The framework supports the full model lifecycle through a unified runner interface that controls training, testi

    Defines a new loss by implementing a weighted loss function and registering it as a module in the model registry.

    Pythondeeplabv3image-segmentationmedical-image-segmentation
    在 GitHub 上查看↗9,860
  • vowpalwabbit/vowpal_wabbitVowpalWabbit 的头像

    VowpalWabbit/vowpal_wabbit

    8,683在 GitHub 上查看↗

    Vowpal Wabbit is an open-source machine learning system designed for online learning, where models update incrementally from streaming data without requiring full retraining. It provides a reduction-based learning framework that composes complex tasks from simpler algorithms, and includes a feature hashing trick that maps unbounded feature names into a fixed-size vector space to keep memory usage constant regardless of dataset size. The system supports distributed training across a cluster using an allreduce protocol for synchronized updates, and offers an active learning query strategy that s

    Models count data directly using Poisson loss to avoid bias from log-transforming labels.

    C++active-learningc-plus-pluscontextual-bandits
    在 GitHub 上查看↗8,683
  • kohya-ss/sd-scriptskohya-ss 的头像

    kohya-ss/sd-scripts

    7,133在 GitHub 上查看↗

    sd-scripts is a suite of utilities designed for fine-tuning generative models, preprocessing datasets, and converting model weights. It provides a collection of scripts for executing Stable Diffusion training through methods such as DreamBooth, textual inversion, and full fine-tuning, alongside a framework for creating and managing Low-Rank Adaptation weights. The project features specialized capabilities for model weight conversion between different architectures and precision formats. It includes tools for merging adaptation weights into base models, extracting weights from trained models,

    Implements a variety of loss functions including L1, L2, and Huber with support for masked loss calculations.

    Python
    在 GitHub 上查看↗7,133
  • kevinmusgrave/pytorch-metric-learningKevinMusgrave 的头像

    KevinMusgrave/pytorch-metric-learning

    6,328在 GitHub 上查看↗

    PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving embedding spaces. It provides a modular framework where interchangeable loss functions, mining strategies, and evaluation tools can be composed to learn representations that map similar items to nearby points and dissimilar items to distant points in the embedding space. The library distinguishes itself through a highly configurable architecture that separates concerns across several interchangeable components. Users can assemble custom loss functions from pluggable distance metrics

    Provides modular loss function assembly from interchangeable distance metrics, reducers, and regularizers.

    Pythoncomputer-visioncontrastive-learningdeep-learning
    在 GitHub 上查看↗6,328
  • open-mmlab/mmdetection3dopen-mmlab 的头像

    open-mmlab/mmdetection3d

    6,273在 GitHub 上查看↗

    MMDetection3D is an open-source toolbox for 3D perception, providing a unified framework for detecting and segmenting objects in three-dimensional environments. It supports a range of core tasks including monocular 3D object detection from single camera images, LiDAR-based 3D object detection from raw point clouds, and multi-modal fusion that combines camera images with LiDAR data. The toolbox also covers point cloud semantic segmentation, assigning class labels to every point in a scan for scene understanding. The project distinguishes itself through a config-driven pipeline that orchestrate

    Register a new loss function and apply it to a specific head's loss field for training the model.

    Python3d-object-detectionobject-detectionpoint-cloud
    在 GitHub 上查看↗6,273
  • facebookresearch/mmffacebookresearch 的头像

    facebookresearch/mmf

    5,635在 GitHub 上查看↗

    MMF is a modular framework for building, training, and evaluating vision-and-language models. It provides a configuration-driven experiment system where model, dataset, and training parameters are defined through composable YAML files, alongside a curated model zoo of pretrained checkpoints for state-of-the-art multimodal architectures. The framework includes a multimodal dataset loader that downloads, processes, and batches vision-and-language data, and a vision-language model trainer supporting distributed training, mixed precision, and checkpoint-based resumption. The framework distinguish

    Registers a new loss class by subclassing a base module and decorating it with a registry annotation for automatic discovery.

    Pythoncaptioningdeep-learningdialog
    在 GitHub 上查看↗5,635
  • thudm/slimeTHUDM 的头像

    THUDM/slime

    4,259在 GitHub 上查看↗

    SLIME is a distributed reinforcement learning framework for large language model post-training that bridges Megatron training with SGLang inference servers. It orchestrates scalable RL loops across GPU clusters, decoupling training and inference into independent processes that communicate over HTTP and NCCL for independent scaling and fault tolerance. The system supports multi-agent reinforcement learning workflows with parallel agent instances, customizable rollout strategies, and personalized agent serving that improves models from prior conversations without disrupting API serving. The fra

    Customizes how the policy gradient loss is reduced, for example dividing by a constant instead of effective token count.

    Python
    在 GitHub 上查看↗4,259
  • sylphai-inc/adalflowSylphAI-Inc 的头像

    SylphAI-Inc/AdalFlow

    4,167在 GitHub 上查看↗

    AdalFlow 是一个自主 AI 代理框架和 LLM 应用库,旨在构建模块化工作流。它作为一个模型无关的接口和 RAG 流水线编排器,允许用户开发 ReAct 代理,利用迭代推理和外部工具执行来解决复杂任务。 该项目通过一个提示词优化系统脱颖而出,该系统使用文本梯度下降自动优化提示词模板和少样本示例。它将模型反馈视为可微分信号,实现了一种 LLM 反向传播形式,从而根据评估指标迭代提高输出质量。 该框架涵盖了广泛的功能面,包括带有语义向量搜索和重排序的检索增强生成、用于可观测性的基于跨度的执行追踪,以及模式驱动的结构化解析。它为众多专有和开源模型提供商提供了统一的通信层,并支持将 Python 函数转换为标准化的工具接口。 该系统使用 Python 实现,并与 MLflow 集成以进行工作流跟踪和分析。

    Uses qualitative evaluation criteria to generate textual loss parameters for prompt optimization.

    Python
    在 GitHub 上查看↗4,167
  • zou-group/textgradzou-group 的头像

    zou-group/textgrad

    3,374在 GitHub 上查看↗

    TextGrad is a differentiable text optimization library and framework designed for simulated language model backpropagation. It functions as a textual gradient engine that treats language model feedback as gradients to iteratively refine prompts and unstructured text variables. The system utilizes a computation graph to trace errors from a defined loss function back to input text, allowing it to determine specific improvements. It differentiates itself by implementing natural-language backpropagation and gradient aggregation, which merges multiple pieces of textual critique into consolidated i

    Provides the ability to map qualitative textual evaluations into structured gradients for iterative prompt refinement.

    Pythonai-optimizationcompound-systemslarge-language-models
    在 GitHub 上查看↗3,374
  1. Home
  2. Artificial Intelligence & ML
  3. Loss Function Customization

探索子标签

  • Custom Divisor ScalingScale each loss by a divisor specified inside the loss function to allow hardcoded reduction behavior. **Distinct from Loss Function Customization:** Distinct from Loss Function Customization: specifically scales losses by a custom divisor, not general parameter adjustment.
  • Data Generation Loss Masking1 个子标签Customization of loss masks and reward functions to support complex multi-turn interaction data. **Distinct from Loss Function Customization:** Distinct from general loss function customization by focusing on the interaction logic and masking for multi-turn conversations.
  • Detection Loss RegistrationsRegistering custom loss functions and applying them to specific head outputs during 3D detection model training. **Distinct from Loss Function Customization:** Distinct from Loss Function Customization: focuses on registering new loss functions for 3D detection heads, not adjusting parameters of existing ones.
  • Policy Gradient ReductionsCustomizing how the policy gradient loss is reduced, for example dividing by a constant instead of effective token count. **Distinct from Loss Function Customization:** Distinct from Loss Function Customization: focuses specifically on policy gradient loss reduction methods, not general loss function parameter adjustment.
  • Textual Gradient MappingTranslates qualitative evaluation criteria into structured textual gradients to guide prompt refinement. **Distinct from Loss Function Customization:** Focuses on mapping qualitative feedback to textual gradients rather than adjusting numerical loss function parameters.
  • Textual Loss FunctionsQualitative evaluation criteria used to generate textual gradients for prompt optimization. **Distinct from Loss Function Customization:** Defines loss as textual feedback based on quality criteria rather than numerical parameter adjustments.