psaiops 0.0.8__py3-none-any.whl → 0.0.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of psaiops might be problematic. Click here for more details.

@@ -59,7 +59,7 @@ def generate_token_ids(
59
59
  output_hidden_states=False,
60
60
  output_attentions=False,
61
61
  output_scores=False,
62
- early_stopping=True,
62
+ # early_stopping=True,
63
63
  use_cache=True)
64
64
  # full sequence
65
65
  return __outputs.sequences # (1, T)
@@ -186,7 +186,7 @@ def score_tokens(
186
186
  token_idx=token_idx)
187
187
  # detokenize the IDs
188
188
  __tokens = postprocess_token_ids(
189
- tokenizer_obj=__tokenizer,
189
+ tokenizer_obj=tokenizer_obj,
190
190
  token_obj=__outputs)
191
191
  # match tokens and labels for the HighlightedText field
192
192
  return list(zip(__tokens, __labels))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: psaiops
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Summary: Web apps to inspect & engineer NN activations.
5
5
  License: .github/LICENSE.md
6
6
  Author: apehex
@@ -8,8 +8,8 @@ psaiops/elements/data.py,sha256=vGYeMN11uP9gs8rV6aSDffE_TeIX5PmdzWGwUpdGE2Y,906
8
8
  psaiops/score/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  psaiops/score/attention/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  psaiops/score/attention/app.py,sha256=E4XKNXEGwcL5ceOVy6twd88IeFoR6RHxZ5C4Arn9jhM,6973
11
- psaiops/score/attention/lib.py,sha256=VOzixtc1DjEPd7bKmzJfVn_7ZHobblzou_VEhNjtVsk,6865
11
+ psaiops/score/attention/lib.py,sha256=vWm8e_xUkM4ahgYQfaNK_kpU9eGkKAGHfgA-Sm1htmc,6869
12
12
  psaiops/steer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- psaiops-0.0.8.dist-info/METADATA,sha256=j5iKrQj8DILJb0CEMK5IJ7kinump2COk7cPgtNd8KjU,1221
14
- psaiops-0.0.8.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
15
- psaiops-0.0.8.dist-info/RECORD,,
13
+ psaiops-0.0.9.dist-info/METADATA,sha256=RiCvOFOoW8q4vUzNngllFcUhC-QeiDD6_TPiy8wSOEA,1221
14
+ psaiops-0.0.9.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
15
+ psaiops-0.0.9.dist-info/RECORD,,