Skip to content

Commit

Permalink
chore: update library metadata and README (#4)
Browse files Browse the repository at this point in the history
* Update setup.cfg

* Update LICENSE.txt

* Merge branch 'main' into cleanup-metadata

* add link to API Ref

* add badges

* add badges
  • Loading branch information
alstonlo authored Jul 1, 2022
1 parent 6e9c03f commit 894270b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022 Alston Lo
Copyright 2022 Alston Lo, Juhan Bae

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

# torch-influence

[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/alstonlo/torch-influence)
[![Read the Docs](https://img.shields.io/readthedocs/torch-influence)](https://torch-influence.readthedocs.io/en/latest/)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE.txt)

</div>

Expand Down Expand Up @@ -109,7 +111,7 @@ scores = module.influences([1, 2, 3], [0])
```


For more details, we refer users to the API Reference.
For more details, we refer users to the [API Reference](https://torch-influence.readthedocs.io/en/latest/).



Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = attr: torch_influence.__version__
description = "A PyTorch implementation of influence functions."
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/alstonlo/torch-influence
author = Alston Lo, Juhan Bae
author_email = [email protected]
license = Apache-2.0
license_file = LICENSE.txt
platforms = any
Expand Down

0 comments on commit 894270b

Please sign in to comment.