still nothing has changed
- User
still nothing has changed
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
still nothing has changed
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Thanks for your patience — I understand now what you're aiming for. The issue is that Mermaid doesn't respect spacing in subgraph labels the way we'd like, especially when trying to create visual space between the stage title and its internal nodes.
LR)TB)We'll add a dummy invisible node at the start of each stage to push down the real content. This gives us precise control over spacing, which Mermaid otherwise lacks.
Here's the working version:
graph LR;
%% === DEFINE STYLES ===
classDef stage fill:#f8f9fa,stroke:#333,stroke-width:2px,stroke-dasharray: 3;
classDef io fill:#e6f3ff,stroke:#333,stroke-width:2px;
classDef invisible fill:none,stroke:none;
Input["Input Tensor <br/> (Batch, Seq_Len, 17, 3)"]:::io;
Output(("Output Logit <br/> (Batch, 1)")):::io;
%% === STAGE 1: INPUT PROCESSING ===
subgraph id1["Stage 1: Input Processing"]
direction TB
S1_Spacer[" "]
S1_A["Flatten Keypoints <br/> (Batch, Seq_Len, 51)"];
S1_B["Linear Embedding <br/> (51 -> d_model)"];
S1_Spacer --> S1_A --> S1_B;
end
%% === STAGE 2: TEMPORAL FEATURE EXTRACTION ===
subgraph id2["Stage 2: Temporal Feature Extraction"]
direction TB
S2_Spacer[" "]:::invisible
S2_A["Add Positional Encoding"];
S2_B["N x Transformer Encoder Layers <br/> (Multi-Head Self-Attention)"];
S2_C["Mean Pooling over Sequence <br/> (Temporal Aggregation)"];
S2_Spacer --> S2_A --> S2_B --> S2_C;
end
%% === STAGE 3: CLASSIFICATION HEAD ===
subgraph id3["Stage 3: Classification Head"]
direction TB
S3_Spacer[" "]:::invisible
S3_A["MLP Classifier <br/> (Linear -> ReLU -> Linear)"];
S3_Spacer --> S3_A;
end
%% === CONNECTIONS BETWEEN STAGES ===
Input --> id1;
id1 --> id2;
id2 --> id3;
id3 --> Output;
S2_Spacer[" "]:::invisible adds an invisible node at the top of the subgraph.S3_Spacer1[" "]:::invisible
S3_Spacer2[" "]:::invisible
S3_Spacer1 --> S3_Spacer2 --> S3_A
Let me know if you'd like to adjust the spacing further or export this as an image!