{% extends "base.html" %} {% block title %}Analyzer · Sparsifire{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

Analyze how specific documents activate the features of the SAE. Select a dataset, a run and a document to begin.

{% if selected_dataset %}
{% endif %} {% if selected_run %}
{% endif %}
{% if selected_dataset %} {# ==================== NESSUN RUN SELEZIONATO ==================== #} {% if not selected_run %}

Select a Model

Choose an SAE Run to interpret documents from {{ selected_dataset.name }}.

{# ==================== RUN OK, NESSUN DOCUMENTO ==================== #} {% elif not selected_doc %}
Select Document
{% for doc in documents_list %} DOC #{{ doc.external_id }}
Doc {{ doc.id }}

{{ doc.text|truncatechars:120 }}

{% empty %}
No documents found.
{% endfor %}
{# ==================== RUN + DOCUMENTO SELEZIONATI ==================== #} {% else %}
Active Features

{{ activations|length }}

0.0
{% for feat in activations %} {% endfor %}
CLICK TO OPEN
Details List
{# end .features-panel #}
Document Content
{{ selected_doc.text|linebreaks }}
Similar Documents
{% if similar_docs %} {% else %}
No similar vectors found.
{% endif %}
{% endif %} {# fine ramo selected_doc #} {% else %} {# ==================== NESSUN DATASET SELEZIONATO ==================== #}

Start Analysis

Select a Dataset to begin.

{% endif %}
{# /container-fluid #}
{# /analyzer-wrapper #} {% endblock %}