File size: 236 Bytes
58223a8
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import annotations

from typing import Protocol


class AdditionModelConfig(Protocol):
    d_model: int
    n_heads: int
    d_mlp: int
    n_layers: int
    max_seq_len: int
    init_mode: str
    residual_alpha: float