# Daunce

This is a demo implementation of "DAUNCE: Data Attribution through Uncertainty Estimation". The repository contains demo implementations for different models and datasets, including CIFAR-ResNet and LLMs.

## Contents
- [Daunce on CIFAR-ResNet](cifar-resnet/README.md): Implementation of Daunce on the CIFAR-10 dataset with ResNet-9 model.

![Daunce/assets/daunce-cifar.png](assets/daunce-cifar.png)

- [Daunce demo for LLMs](llm/README.md): Implementation of Daunce for LLMs, specifically for the Qwen model on a math dataset.

## To prepare the environment
1. Install the required packages. The `requirements.txt` file is deprecated for Daunce. Please refer to [LMFlow](https://github.com/OptimalScale/LMFlow) for enviroment setup.