Spaces:
Sleeping

mo378 commited on
Commit
e81a72d
·
verified ·
1 Parent(s): 976921a

Add feature_probes package so the worker can load the probe

Browse files
22 files changed +3985
Files changed (22)
third_party/feature_probes/feature_probes/__init__.pyAdded+7
third_party/feature_probes/feature_probes/config.pyAdded+212
third_party/feature_probes/feature_probes/data/__init__.pyAdded
Empty file
third_party/feature_probes/feature_probes/data/converters.pyAdded+218
third_party/feature_probes/feature_probes/data/dataset.pyAdded+437
third_party/feature_probes/feature_probes/evaluation/__init__.pyAdded
Empty file
third_party/feature_probes/feature_probes/evaluation/evaluate.pyAdded+337
third_party/feature_probes/feature_probes/probes/__init__.pyAdded
Empty file
third_party/feature_probes/feature_probes/probes/attention_probe.pyAdded+109
third_party/feature_probes/feature_probes/probes/value_head_probe.pyAdded+427
third_party/feature_probes/feature_probes/training/__init__.pyAdded
Empty file
third_party/feature_probes/feature_probes/training/loss.pyAdded+250
third_party/feature_probes/feature_probes/training/trainer.pyAdded+315
third_party/feature_probes/feature_probes/types.pyAdded+22
third_party/feature_probes/feature_probes/utils/__init__.pyAdded
Empty file
third_party/feature_probes/feature_probes/utils/activation_analysis.pyAdded+499
third_party/feature_probes/feature_probes/utils/file_utils.pyAdded+176
third_party/feature_probes/feature_probes/utils/hooks.pyAdded+40
third_party/feature_probes/feature_probes/utils/metrics.pyAdded+323
third_party/feature_probes/feature_probes/utils/model_utils.pyAdded+338
third_party/feature_probes/feature_probes/utils/probe_loader.pyAdded+155
third_party/feature_probes/feature_probes/utils/tokenization.pyAdded+120