Spaces:
Running
on
Zero
Running
on
Zero
Fix confidence guided noising call
Browse files
app.py
CHANGED
@@ -235,7 +235,7 @@ def diffusion_chat(question, max_it, pause_length, sharpness, clustering, noise_
|
|
235 |
# --- NOISING STEP ---
|
236 |
threshold = get_noising_schedule(i, max_it, sharpness=sharpness)
|
237 |
if use_confidence_noising:
|
238 |
-
noised_answer = confidence_guided_noising(
|
239 |
current_tokens, answer_start, confidences, noise_clipping, threshold=threshold, noise_start=noise_start
|
240 |
)
|
241 |
just_noised_indices = []
|
|
|
235 |
# --- NOISING STEP ---
|
236 |
threshold = get_noising_schedule(i, max_it, sharpness=sharpness)
|
237 |
if use_confidence_noising:
|
238 |
+
noised_answer, just_noised_indices = confidence_guided_noising(
|
239 |
current_tokens, answer_start, confidences, noise_clipping, threshold=threshold, noise_start=noise_start
|
240 |
)
|
241 |
just_noised_indices = []
|