SecureLLMSys commited on
Commit
ae6df13
·
1 Parent(s): 9783844
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1114,7 +1114,7 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
1114
  top_k_dropdown = gr.Dropdown(
1115
  choices=["3", "5", "10"],
1116
  value="3",
1117
- label="Top-K Value",
1118
  info="Number of most important text segments to highlight"
1119
  )
1120
 
@@ -1131,11 +1131,11 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
1131
  with gr.Column(scale=1):
1132
  q_slider = gr.Slider(
1133
  minimum=0.1,
1134
- maximum=0.9,
1135
  value=0.4,
1136
  step=0.1,
1137
- label="q Parameter",
1138
- info="Sub-sampling ratio (0.1-0.9)"
1139
  )
1140
 
1141
  with gr.Row():
@@ -1160,7 +1160,7 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
1160
  - `paragraph`: Analyze at paragraph level (good for longer documents)
1161
  - `text segment`: Analyze at the level of 100-word text segments (ideal for non-standard document formats)
1162
 
1163
- - **Top-K Value**: Number of most important text segments to highlight in results
1164
  - Higher values show more context but may be less focused
1165
  - Lower values provide more focused results but may miss some context
1166
 
@@ -1169,7 +1169,7 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
1169
  - Lower values (10-30): Faster analysis but may miss some important segments
1170
  - Default: 30 (good balance of speed and accuracy)
1171
 
1172
- - **q Parameter**: Sub-sampling ratio (0.1-0.9)
1173
 
1174
 
1175
  **Note**: Configuration changes will take effect immediately for new traceback operations.
 
1114
  top_k_dropdown = gr.Dropdown(
1115
  choices=["3", "5", "10"],
1116
  value="3",
1117
+ label="Top-N Value",
1118
  info="Number of most important text segments to highlight"
1119
  )
1120
 
 
1131
  with gr.Column(scale=1):
1132
  q_slider = gr.Slider(
1133
  minimum=0.1,
1134
+ maximum=1.0,
1135
  value=0.4,
1136
  step=0.1,
1137
+ label="ρ Parameter",
1138
+ info="Sub-sampling ratio (0.1-1.0)"
1139
  )
1140
 
1141
  with gr.Row():
 
1160
  - `paragraph`: Analyze at paragraph level (good for longer documents)
1161
  - `text segment`: Analyze at the level of 100-word text segments (ideal for non-standard document formats)
1162
 
1163
+ - **Top-N Value**: Number of most important text segments to highlight in results
1164
  - Higher values show more context but may be less focused
1165
  - Lower values provide more focused results but may miss some context
1166
 
 
1169
  - Lower values (10-30): Faster analysis but may miss some important segments
1170
  - Default: 30 (good balance of speed and accuracy)
1171
 
1172
+ - **ρ Parameter**: Sub-sampling ratio (0.1-1.0)
1173
 
1174
 
1175
  **Note**: Configuration changes will take effect immediately for new traceback operations.