awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

24 Repos

Awesome GitHub RepositoriesBinary Cross-Entropy Calculators

Loss function utilities specifically for binary classification and negative sampling tasks.

Distinct from Loss Function Calculators: Distinct from Loss Function Calculators: focuses on the specific binary cross-entropy implementation rather than general loss calculation.

Explore 24 awesome GitHub repositories matching artificial intelligence & ml · Binary Cross-Entropy Calculators. Refine with filters or upvote what's useful.

Awesome Binary Cross-Entropy Calculators GitHub Repositories

Finde die besten Repos mit KI.Wir suchen mit KI nach den am besten passenden Repositories.
  • yunjey/pytorch-tutorialAvatar von yunjey

    yunjey/pytorch-tutorial

    32,385Auf GitHub ansehen↗

    This project is a collection of educational examples and code for implementing deep learning architectures using the PyTorch framework. It serves as a tutorial and implementation guide for building various neural network architectures for machine learning tasks. The project provides practical implementations for computer vision, including image classification and neural style transfer, as well as natural language processing examples for building sequence models and language predictors. It also covers generative models using adversarial and variational networks to synthesize or transform visua

    Implements cross-entropy loss functions to guide the training of classification models.

    Pythondeep-learningneural-networkspytorch
    Auf GitHub ansehen↗32,385
  • mnielsen/neural-networks-and-deep-learningAvatar von mnielsen

    mnielsen/neural-networks-and-deep-learning

    17,721Auf GitHub ansehen↗

    This project is a comprehensive educational resource and curriculum designed to teach the mathematical foundations and practical implementation of neural networks. It provides a structured path for understanding how computers learn from data, covering core concepts such as gradient descent, backpropagation, and the biological inspiration behind artificial neurons. The platform distinguishes itself by combining theoretical proofs with hands-on implementation exercises. It demonstrates the universal approximation theorem through visual explanations and guides users in building various architect

    Uses cross-entropy cost functions to optimize network training and prevent learning saturation.

    Python
    Auf GitHub ansehen↗17,721
  • borisdayma/dalle-miniAvatar von borisdayma

    borisdayma/dalle-mini

    14,756Auf GitHub ansehen↗

    dalle-mini is a text-to-image model and generative AI system designed to transform natural language descriptions into synthetic images. It functions as an image generation training toolkit and a generative model capable of creating visual representations from text prompts. The project provides a containerized deployment for consistent execution across different computing environments. It includes the necessary scripts and configuration files to train custom generative models from datasets. The system utilizes an autoregressive transformer architecture that treats visual data as discrete toke

    Utilizes cross-entropy loss functions to optimize the prediction of image tokens during model training.

    Python
    Auf GitHub ansehen↗14,756
  • cs231n/cs231n.github.ioAvatar von cs231n

    cs231n/cs231n.github.io

    10,923Auf GitHub ansehen↗

    This project is a static educational website and comprehensive curriculum focused on computer vision and deep learning. It serves as a public repository of instructional materials, lecture notes, and technical guides specifically detailing convolutional neural networks and visual recognition. The site is developed using static-site generation to host course documentation and student project directories. It provides structured academic resources that guide learners through image classification, generative modeling, and the implementation of various neural network architectures. The curriculum

    Instructs on implementing cross-entropy loss functions and regularization to guide the optimization of classifiers.

    Jupyter Notebook
    Auf GitHub ansehen↗10,923
  • tingsongyu/pytorch_tutorialAvatar von TingsongYu

    TingsongYu/PyTorch_Tutorial

    8,018Auf GitHub ansehen↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Implements general cross-entropy loss functions for multi-class classification tasks in PyTorch.

    Python
    Auf GitHub ansehen↗8,018
  • linkedin/liger-kernelAvatar von linkedin

    linkedin/Liger-Kernel

    6,148Auf GitHub ansehen↗

    Liger-Kernel is a collection of pre-built fused Triton kernels and patching utilities designed to accelerate large language model training. It provides drop-in kernel replacements for common LLM operations such as RMSNorm, cross-entropy loss, and attention, enabling increased throughput and reduced memory usage while preserving bitwise-exact gradients. The project serves as a toolkit for composing custom model architectures from individual optimized kernels and for patching pre-existing models with minimal code changes. The project distinguishes itself through its ability to perform runtime m

    Ships an optimized fused cross-entropy loss kernel for large-vocabulary classification tasks.

    Pythonfinetuninggemma2hacktoberfest
    Auf GitHub ansehen↗6,148
  • tiny-dnn/tiny-dnnAvatar von tiny-dnn

    tiny-dnn/tiny-dnn

    6,019Auf GitHub ansehen↗

    tiny-dnn is a header-only C++14 deep learning framework for building, training, and running inference on neural networks. It constructs static computational graphs at compile time using template-based layer composition, with a gradient-based backpropagation engine and minibatch stochastic gradient descent for training, all without external dependencies beyond the C++14 standard library. The framework supports importing pre-trained models from the Caffe framework directly, parsing its binary serialization format without requiring external protocol buffer libraries. It provides CPU-optimized te

    Measures the difference between predicted and target values using cross-entropy, mean squared error, or mean absolute error.

    C++
    Auf GitHub ansehen↗6,019
  • meta-pytorch/torchtuneAvatar von meta-pytorch

    meta-pytorch/torchtune

    5,774Auf GitHub ansehen↗

    Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a config-driven system for instantiating components, orchestrating distributed training, and managing parameter-efficient fine-tuning with quantization support, all through YAML-based configurations and command-line overrides. The library distinguishes itself through its comprehensive post-training workflow orchestration, combining supervised fine-tuning, preference optimization (DPO, PPO, GRPO), knowledge distillation, and quantization-aware training in a single configurable pip

    Provides selectable DPO and RSO loss functions for controlling how models penalize un-preferred responses.

    Python
    Auf GitHub ansehen↗5,774
  • pytorch/torchtuneAvatar von pytorch

    pytorch/torchtune

    5,774Auf GitHub ansehen↗

    Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a configurable training pipeline orchestrated through YAML recipes, with CLI overrides and component swapping, distributed training via FSDP2, memory optimizations, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA. The library distinguishes itself through its YAML-driven configuration system that defines all training parameters and instantiates components from config files, with full CLI override capability for any field or component at launch time. It suppo

    Supports switching between DPO and RSO loss variants via a configuration flag to control alignment strategy.

    Python
    Auf GitHub ansehen↗5,774
  • flashlight/flashlightAvatar von flashlight

    flashlight/flashlight

    5,443Auf GitHub ansehen↗

    Flashlight ist eine eigenständige C++-Bibliothek für maschinelles Lernen und Tensor-Berechnungen, die zum Erstellen und Trainieren neuronaler Netze verwendet wird. Sie fungiert als umfassendes Framework für neuronale Netze und Engine für automatische Differenzierung und bietet Werkzeuge zur Konstruktion von Berechnungsgraphen und zur Berechnung von Gradienten via Backpropagation. Das Projekt dient als Framework für verteiltes Training und nutzt All-Reduce-Operationen zur Synchronisation von Gradienten und Parametern über mehrere Rechenknoten und Geräte hinweg. Es zeichnet sich durch eine tiefe Integration von leistungsstarker Tensor-Manipulation, nativer Interoperabilität mit Gerätespeichern und einem System zur Synchronisation von Gewichten über verteilte Worker aus, um das Training großskaliger Modelle zu beschleunigen. Das Framework deckt eine breite Palette an Deep-Learning-Funktionen ab, einschließlich modularer Schichtkomposition für den Entwurf komplexer Architekturen wie Residual-Blöcke und rekurrente Zellen. Es bietet umfangreiche Datenmanagement-Utilities für Ingestion und Prefetching sowie Serialisierungssysteme zur Persistierung von Modellzuständen. Zusätzlich enthält es eine Suite an Überwachungs- und Observability-Tools zur Verfolgung von Trainingsmetriken und zur Messung von Sequenzfehlern. Die Bibliothek ist in C++ implementiert.

    Calculates errors between predictions and targets using standard loss functions like Mean Squared Error and Cross Entropy.

    C++
    Auf GitHub ansehen↗5,443
  • karpathy/neuraltalkAvatar von karpathy

    karpathy/neuraltalk

    5,480Auf GitHub ansehen↗

    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

    Utilizes cross-entropy loss functions to measure the difference between predicted word distributions and ground-truth labels.

    Python
    Auf GitHub ansehen↗5,480
  • internlm/xtunerAvatar von InternLM

    InternLM/xtuner

    5,150Auf GitHub ansehen↗

    xtuner ist eine umfassende Trainings-Engine für Large Language Models und bietet ein Toolkit für Pre-Training, Supervised Fine-Tuning und die Optimierung von vision-sprachlichen multimodalen Modellen. Sie dient als verteilter Trainingsbeschleuniger und spezialisiertes Framework zur Skalierung von Mixture-of-Experts-Modellen sowie zur Ausrichtung von Modellverhalten durch Reinforcement Learning from Human Feedback. Das Projekt zeichnet sich durch fortgeschrittene Speicher- und Rechenoptimierungen aus, wie Sequence-Parallelism für ultra-lange Kontextfenster und Interleaved-Pipeline-Parallelism zur Reduzierung von GPU-Idle-Zeiten. Es bietet eine dedizierte Suite für Preference-Optimization und implementiert Techniken wie Group Relative Policy Optimization und Direct Preference Optimization, um Modell-Policies und Belohnungssysteme zu verfeinern. Breite Funktionsbereiche decken verteiltes Modelltraining über mehrere Knoten hinweg, multimodale Datensatzvorbereitung und die Verwaltung von Adapter-basiertem Fine-Tuning ab. Die Engine enthält zudem Tools für Modellevaluation, Weight-Merging und den Export trainierter Parameter in Inferenz-Engines. Das Training wird über standardisierte Konfigurationsdateien und verteilte Launcher verwaltet, um konsistente Ergebnisse über Rechencluster hinweg sicherzustellen.

    Compute objective functions for cross-entropy or reinforcement learning to guide model optimization.

    Pythonagentdeepseek-v3gpt-oss
    Auf GitHub ansehen↗5,150
  • lyst/lightfmAvatar von lyst

    lyst/lightfm

    5,095Auf GitHub ansehen↗

    LightFM is a Python recommendation library and machine learning framework designed to predict user preferences. It implements a hybrid recommendation engine that combines collaborative filtering with content filtering by integrating user-item interaction data with descriptive metadata. The system utilizes hybrid matrix factorization to learn latent representations of users and items. It is specifically designed to handle implicit feedback, utilizing specialized loss functions such as Weighted Approximate Rank Pairwise and Bayesian Personalized Ranking to optimize item preferences for datasets

    Optimizes item preferences using WARP and BPR loss functions for datasets without negative ratings.

    Python
    Auf GitHub ansehen↗5,095
  • zhixuhao/unetAvatar von zhixuhao

    zhixuhao/unet

    4,928Auf GitHub ansehen↗

    Dieses Projekt ist eine PyTorch-Implementierung eines U-Net-konvolutionalen neuronalen Netzwerks, das für die pixelgenaue Bildsegmentierung entwickelt wurde. Es fungiert als biomedizinischer Bildprozessor, der präzise Masken generiert, um anatomische Strukturen innerhalb medizinischer Bilder zu isolieren. Die Architektur nutzt eine symmetrische Encoder-Decoder-Struktur, um Kontext zu erfassen und eine präzise Lokalisierung zu ermöglichen. Sie verwendet Feature-Fusion durch Skip-Connections, um hochauflösende Merkmale aus dem kontrahierenden Pfad mit hochskalierten Ausgaben zu kombinieren und so räumliche Details wiederherzustellen. Das System deckt das Training von Deep-Learning-Modellen mittels binärer Cross-Entropy-Loss ab und integriert Datenerweiterungstechniken wie kubische Interpolation, Rotation und Spiegelung, um die Vielfalt des Trainingsdatensatzes zu erweitern. Die Implementierung wird als Jupyter Notebook bereitgestellt.

    Implements binary cross-entropy as the loss function to optimize the image segmentation mask generation.

    Jupyter Notebookkerassegmentationunet
    Auf GitHub ansehen↗4,928
  • fastai/course-v3Avatar von fastai

    fastai/course-v3

    4,914Auf GitHub ansehen↗

    Dieses Projekt ist ein umfassendes Bildungsprogramm und Deep-Learning-Framework, das darauf ausgelegt ist, praktisches Deep Learning mit PyTorch anhand von Notebooks und Codebeispielen zu vermitteln. Es dient als High-Level-Bibliothek zum Erstellen, Trainieren und Bereitstellen neuronaler Netze und fungiert als Modell-Trainings-Orchestrator, der PyTorch-Modelle, Optimierer und Verlustfunktionen koordiniert. Das Projekt bietet spezialisierte Toolkits für Computer Vision, Natural Language Processing und die Vorverarbeitung tabellarischer Daten. Es zeichnet sich durch fortschrittliche Trainingskontrollen aus, wie z. B. diskriminative Lernraten, ein Zwei-Wege-Callback-System zur Anpassung der Trainingslogik und eine High-Level-Learner-Abstraktion, die die Geräteplatzierung und Trainingsschleifen automatisiert. Das Framework deckt ein breites Fähigkeitsspektrum ab, einschließlich der automatisierten Konstruktion von Datenpipelines, der Analyse von Modellarchitekturen und der Leistungsbewertung bei Klassifizierungs-, Regressions- und Segmentierungsaufgaben. Es enthält zudem Dienstprogramme für verteiltes Training über mehrere GPUs, Mixed-Precision-Training zur Speicheroptimierung und spezialisierte Unterstützung für medizinische Bilddaten. Das Projekt wird als eine Reihe von Jupyter Notebooks bereitgestellt.

    Computes model loss using a variety of algorithms including Cross Entropy and Mean Squared Error.

    Jupyter Notebookdata-sciencedeep-learningfastai
    Auf GitHub ansehen↗4,914
  • kaiyangzhou/deep-person-reidAvatar von KaiyangZhou

    KaiyangZhou/deep-person-reid

    4,849Auf GitHub ansehen↗

    This project is a PyTorch person re-identification framework designed for training and evaluating models that identify individuals across different camera views. It provides a complete model training pipeline, a deep learning feature extractor for converting images into numeric vectors, and a suite of computer vision benchmarking tools to measure identity retrieval accuracy. The framework includes a specialized transfer learning toolkit that supports layer freezing, staged learning rate optimization, and differential learning rates for fine-tuning pretrained models. It distinguishes itself th

    Implements cross-entropy loss with optional label smoothing to regularize the training of classification models.

    Pythoncomputer-visioncross-domaindeep-learning
    Auf GitHub ansehen↗4,849
  • weiaicunzai/pytorch-cifar100Avatar von weiaicunzai

    weiaicunzai/pytorch-cifar100

    4,774Auf GitHub ansehen↗

    This is a PyTorch image classification framework designed for training and evaluating convolutional neural networks. It provides a comprehensive library of pre-defined architectures and a training pipeline specifically implemented for the CIFAR-100 benchmark dataset. The framework includes a variety of convolutional neural network implementations, ranging from standard research models to lightweight versions optimized for mobile devices. It features a modular model registry to initialize specific architectures and a benchmarking system to compare the effectiveness of different network designs

    Implements multi-class cross-entropy loss functions to guide the training of image classification models.

    Python
    Auf GitHub ansehen↗4,774
  • karpathy/build-nanogptAvatar von karpathy

    karpathy/build-nanogpt

    4,746Auf GitHub ansehen↗

    This is an educational implementation that builds a generative pre-trained transformer (GPT) language model from scratch using PyTorch. The project is structured as a step-by-step tutorial, walking through the construction of a decoder-only transformer architecture and its training loop with clean git commits and an accompanying video lecture for a hands-on learning experience. What sets this implementation apart is its focus on practical reproduction: it provides a workflow to train a 124-million-parameter model from scratch in about one hour on cloud GPU hardware, costing under ten dollars.

    Uses cross-entropy loss as the objective function for next-token prediction during language model training.

    Python
    Auf GitHub ansehen↗4,746
  • tingsongyu/pytorch-tutorial-2ndAvatar von TingsongYu

    TingsongYu/PyTorch-Tutorial-2nd

    4,555Auf GitHub ansehen↗

    Dieses Projekt ist eine umfassende Lehrressource und ein Kurs zum Aufbau neuronaler Netze mit PyTorch. Es deckt die grundlegenden Bausteine des Deep Learning ab, einschließlich Tensor-Manipulation, automatischer Differenzierung und der Konstruktion modularer Komponenten für neuronale Netze. Das Repository dient als technischer Leitfaden für verschiedene spezialisierte Bereiche. Es bietet Implementierungsdetails für Computer-Vision-Aufgaben wie Bildklassifizierung, Objekterkennung und semantische Segmentierung sowie Workflows für die Verarbeitung natürlicher Sprache (NLP) mit Transformern, rekurrenten Netzen und generativen Modellen. Zudem enthält es eine Referenz für generative KI, mit Fokus auf die Synthese von Bildern mittels Diffusionsmodellen und adversarialen Netzwerken. Das Material erstreckt sich auf Modelloptimierung und Deployment-Pipelines. Es behandelt Techniken zur Reduzierung der Modellgröße und zur Erhöhung der Inferenzgeschwindigkeit durch Quantisierung und den Export von Modellen in Formate wie ONNX und TensorRT. Weitere Kompetenzbereiche umfassen Data Engineering für paralleles Laden, Modellevaluierung mittels benutzerdefinierter Metriken und das Deployment von Open-Source Large Language Models. Das Projekt wird primär als eine Reihe von Jupyter Notebooks bereitgestellt.

    Implements general cross-entropy loss functions used to optimize classification performance.

    Jupyter Notebookcomputer-visiondeepsortdiffusion-models
    Auf GitHub ansehen↗4,555
  • 649453932/bert-chinese-text-classification-pytorchAvatar von 649453932

    649453932/Bert-Chinese-Text-Classification-Pytorch

    4,425Auf GitHub ansehen↗

    Dieses Projekt ist ein PyTorch-basiertes Framework für die Klassifizierung chinesischer Texte. Es bietet eine Transformer-basierte Pipeline, die darauf ausgelegt ist, chinesische Sprachsequenzen mithilfe von Deep-Learning-Modellen in vordefinierte Labels zu kategorisieren. Die Implementierung unterstützt sowohl BERT- als auch ERNIE-Sprachmodelle zur Verarbeitung und Tagging komplexer chinesischer Texte. Diese Modelle werden für Aufgaben wie Sentiment-Analyse und allgemeine Textkategorisierung eingesetzt. Das System nutzt Transformer-basierte Textkodierung und aufmerksamkeitsgewichtetes Sequence-Pooling, um Rohzeichen in Dokumentvektoren umzuwandeln. Es setzt auf das Fine-Tuning vortrainierter Modelle und Cross-Entropy-Loss-Optimierung, um die Modelle an spezifische Klassifizierungsaufgaben anzupassen.

    Employs cross-entropy loss optimization to measure prediction error and update model weights during training.

    Python
    Auf GitHub ansehen↗4,425
Vorherige12Nächste
  1. Home
  2. Artificial Intelligence & ML
  3. Prediction Visualization
  4. Loss Function Calculators
  5. Binary Cross-Entropy Calculators

Unter-Tags erkunden

  • Cross-Entropy Loss Functions2 Sub-TagsLogarithmic error functions used to optimize classification performance and prevent learning slowdowns. **Distinct from Binary Cross-Entropy Calculators:** Distinct from Binary Cross-Entropy Calculators: covers general cross-entropy implementations for multi-class classification, not just binary tasks.