awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

10 dépôts

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

Trouvez les meilleurs dépôts grâce à l'IA.Nous recherchons les dépôts les plus pertinents grâce à l'IA.
  • open-mmlab/mmdetectionAvatar de open-mmlab

    open-mmlab/mmdetection

    32,756Voir sur 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
    Voir sur GitHub↗32,756
  • open-mmlab/mmsegmentationAvatar de open-mmlab

    open-mmlab/mmsegmentation

    9,860Voir sur 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
    Voir sur GitHub↗9,860
  • vowpalwabbit/vowpal_wabbitAvatar de VowpalWabbit

    VowpalWabbit/vowpal_wabbit

    8,683Voir sur 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
    Voir sur GitHub↗8,683
  • kohya-ss/sd-scriptsAvatar de kohya-ss

    kohya-ss/sd-scripts

    7,133Voir sur 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
    Voir sur GitHub↗7,133
  • kevinmusgrave/pytorch-metric-learningAvatar de KevinMusgrave

    KevinMusgrave/pytorch-metric-learning

    6,328Voir sur 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
    Voir sur GitHub↗6,328
  • open-mmlab/mmdetection3dAvatar de open-mmlab

    open-mmlab/mmdetection3d

    6,273Voir sur 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
    Voir sur GitHub↗6,273
  • facebookresearch/mmfAvatar de facebookresearch

    facebookresearch/mmf

    5,635Voir sur 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
    Voir sur GitHub↗5,635
  • thudm/slimeAvatar de THUDM

    THUDM/slime

    4,259Voir sur 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
    Voir sur GitHub↗4,259
  • sylphai-inc/adalflowAvatar de SylphAI-Inc

    SylphAI-Inc/AdalFlow

    4,167Voir sur GitHub↗

    AdalFlow est un framework d'agents IA autonomes et une bibliothèque d'applications LLM conçue pour construire des flux de travail modulaires. Il sert d'interface agnostique au modèle et d'orchestrateur de pipeline RAG, permettant aux utilisateurs de développer des agents ReAct qui utilisent un raisonnement itératif et l'exécution d'outils externes pour résoudre des tâches complexes. Le projet se distingue par un système d'optimisation de prompt qui utilise la descente de gradient textuelle pour affiner automatiquement les templates de prompt et les exemples few-shot. Il traite le feedback du modèle comme un signal différentiable, permettant une forme de rétropropagation LLM pour améliorer itérativement la qualité de sortie basée sur des métriques d'évaluation. Le framework couvre une large surface de capacités, incluant la génération augmentée par récupération (RAG) avec recherche vectorielle sémantique et reranking, le traçage d'exécution basé sur les spans pour l'observabilité, et l'analyse structurée pilotée par schéma. Il fournit une couche de communication unifiée pour de nombreux fournisseurs de modèles propriétaires et open source, et prend en charge la conversion de fonctions Python en interfaces d'outils standardisées. Le système est implémenté en Python et s'intègre avec MLflow pour le suivi et l'analyse des flux de travail.

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

    Python
    Voir sur GitHub↗4,167
  • zou-group/textgradAvatar de zou-group

    zou-group/textgrad

    3,374Voir sur 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
    Voir sur GitHub↗3,374
  1. Home
  2. Artificial Intelligence & ML
  3. Loss Function Customization

Explorer les sous-tags

  • 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 sous-tagCustomization 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.