ArchitectureFromPaperAttribute

Attributes · AiDotNet.Attributes

Declares that a model’s layers come from a factory built for another paper’s architecture, and names that paper.

Inheritance: Attribute → ArchitectureFromPaperAttribute

How It Works

A shared layer factory is legitimate when the models really share an architecture (Whisper variants are Whisper). It is a defect when a generic template stands in for a paper’s own design, as the OCR template models did. The analyzer cannot tell the two apart, so a model whose factory is also used by models of other papers must say which architecture it is reusing (ADNDEF003). The declaration is a reviewed claim: it names the paper the reused architecture belongs to.

Constructors

Constructor Summary
ArchitectureFromPaperAttribute(string paperUrl, string reason) Creates the declaration.

Properties

Property Summary
string PaperUrl { get; } The URL of the paper whose architecture the shared factory implements.
string Reason { get; } Why reusing that architecture is faithful to this model’s own paper.