microsoft / microsoft/dp-transformers
Integrating opacus with huggingface
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 149
- Forks
- 33
- Avg merge
- 22h 6m
- Merged PRs (30d)
- 1
Description
Hello,
I was trying to see if the Opacus library can be used with the Trainer module of huggingface. I see a code snippet in the readme that says to do the callback dp_transformers.PrivacyEngineCallback in the Trainer module. However, it leads to an error that says the callback does not exist. I was unable to figure it out in the source code either.
It would be really helpful if I could be pointed to the part of the source code that has this callback or maybe guide me with any solution for the error.
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README snippet using dp_transformers.PrivacyEngineCallback, then compare it with the Trainer integration in the source and reproduce the reported missing-callback error. Done means establishing whether the documented HuggingFace and Opacus integration is supported and bringing the documentation and available callback into agreement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- huggingface, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100