psaiops 0.0.12__tar.gz → 0.0.14__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.12 → psaiops-0.0.14}/PKG-INFO +1 -1
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/score/attention/app.py +2 -2
- {psaiops-0.0.12 → psaiops-0.0.14}/pyproject.toml +1 -1
- {psaiops-0.0.12 → psaiops-0.0.14}/.github/README.md +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/combine/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/compose/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/compose/contrast/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/edit/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/elements/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/elements/data.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/score/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/score/attention/__init__.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/score/attention/lib.py +0 -0
- {psaiops-0.0.12 → psaiops-0.0.14}/psaiops/steer/__init__.py +0 -0
|
@@ -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,
|
|
@@ -242,7 +242,7 @@ def create_app(title: str=TITLE, intro: str=INTRO, style: str=STYLE, model: str=
|
|
|
242
242
|
show_progress='full')
|
|
243
243
|
__output_state.change(
|
|
244
244
|
fn=update_position_range,
|
|
245
|
-
inputs=[__position_block,
|
|
245
|
+
inputs=[__position_block, __output_state],
|
|
246
246
|
outputs=__position_block,
|
|
247
247
|
queue=False,
|
|
248
248
|
show_progress='hidden')
|
|
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
|