Skip to main content

Machine unlearning for Large Language Models

Project description

unlearun

unlearun Package Structure

unlearun/
├── pyproject.toml
├── setup.py
├── README.md
├── LICENSE
├── requirements.txt
├── .gitignore
├── tests/
│   ├── __init__.py
│   └── test_unlearning.py
└── unlearun/
    ├── __init__.py
    ├── core.py
    ├── methods/
    │   ├── __init__.py
    │   ├── base.py
    │   ├── grad_ascent.py
    │   ├── grad_diff.py
    │   ├── dpo.py
    │   ├── rmu.py
    │   └── simnpo.py
    ├── data/
    │   ├── __init__.py
    │   ├── dataset.py
    │   └── collators.py
    ├── trainer/
    │   ├── __init__.py
    │   └── trainer.py
    ├── utils/
    │   ├── __init__.py
    │   ├── losses.py
    │   └── helpers.py
    └── evaluation/
        ├── __init__.py
        └── metrics.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unlearun-0.0.1.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unlearun-0.0.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file unlearun-0.0.1.tar.gz.

File metadata

  • Download URL: unlearun-0.0.1.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for unlearun-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a0c8e19f4ed7b87fcd9f65334cc5fb81cbf85b676f404fb58c3f899d1fcacc29
MD5 9556bf09b6ba984413557ff3181ec35d
BLAKE2b-256 0824cde533c9d10d71a462e7b2371d13082934be3f301cdc9de575de8e5b39c5

See more details on using hashes here.

File details

Details for the file unlearun-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: unlearun-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for unlearun-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2c79357f48eec90be58b678f4555fb9d1005a6cd4eba417792a39f80923c41
MD5 d932eafa7241db583a43c6aaf2d047f7
BLAKE2b-256 636a0975e54dd6a6de174050369005f37fe7bc4bebe0da9b7c9c17da540aec6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page