psaiops 0.0.11__tar.gz → 0.0.13__tar.gz
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.
- {psaiops-0.0.11 → psaiops-0.0.13}/PKG-INFO +1 -1
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/score/attention/app.py +2 -2
- {psaiops-0.0.11 → psaiops-0.0.13}/pyproject.toml +1 -1
- {psaiops-0.0.11 → psaiops-0.0.13}/.github/README.md +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/combine/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/compose/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/compose/contrast/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/edit/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/elements/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/elements/data.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/score/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/score/attention/__init__.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/score/attention/lib.py +0 -0
- {psaiops-0.0.11 → psaiops-0.0.13}/psaiops/steer/__init__.py +0 -0
|
@@ -24,7 +24,7 @@ def create_color_map() -> dict:
|
|
|
24
24
|
# INTRO ########################################################################
|
|
25
25
|
|
|
26
26
|
def create_intro_block(intro: str) -> dict:
|
|
27
|
-
__intro = gradio.Markdown(intro
|
|
27
|
+
__intro = gradio.Markdown(intro)
|
|
28
28
|
return {'intro_block': __intro}
|
|
29
29
|
|
|
30
30
|
# MODEL ########################################################################
|
|
@@ -33,7 +33,7 @@ def create_model_block() -> dict:
|
|
|
33
33
|
__model_dd = gradio.Dropdown(label='Model', value='openai/gpt-oss-20b', choices=['openai/gpt-oss-20b'], scale=1, allow_custom_value=False, multiselect=False, interactive=True) # 'openai/gpt-oss-120b'
|
|
34
34
|
__layer_sl = gradio.Slider(label='Layer Depth', value=12, minimum=-1, maximum=23, step=1, scale=1, interactive=True) # info='-1 to average on all layers'
|
|
35
35
|
__head_sl = gradio.Slider(label='Attention Head', value=-1, minimum=-1, maximum=63, step=1, scale=1, interactive=True) # info='-1 to average on all heads'
|
|
36
|
-
__model_dd.change(fn=update_layer_range, inputs=[__layer_sl, __model_dd], outputs=__layer_sl,
|
|
36
|
+
__model_dd.change(fn=update_layer_range, inputs=[__layer_sl, __model_dd], outputs=__layer_sl, queue=False, show_progress='hidden')
|
|
37
37
|
return {
|
|
38
38
|
'model_block': __model_dd,
|
|
39
39
|
'layer_block': __layer_sl,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|