-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e77696
commit 921d3ea
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Huggingface Integration | ||
|
||
As the software design of LogIX prioritized the compatibility with other | ||
tools in the ML ecosystem, we were able to integrate LogIX into Huggingface | ||
(Transformers) Trainer. This example shows how to patch HF Trainer to | ||
enable LogIX for BERT+GLUE and GPT+WikiText examples. | ||
|
||
### Log Extraction | ||
|
||
```bash | ||
python bert_log.py # BERT | ||
python gpt_log.py # GPT | ||
``` | ||
|
||
### Influence Analysis | ||
|
||
```bash | ||
python bert_influence.py # BERT | ||
python gpt_influence.py # GPT | ||
``` |