Skip to contents

L(N) = (N_c/N)^alpha + L_inf, with the reducible part reported.

Usage

morie_kamath_scaling_laws(N, N_c, alpha_N, L_inf = 0)

Arguments

N

Model scale(s).

N_c

Critical scale.

alpha_N

Exponent.

L_inf

Irreducible loss.

Value

List with estimate, reducible, irreducible.

Examples

morie_kamath_scaling_laws(c(1e+06, 1e+08), 1e+10, 0.5, 0.1)
#> $estimate
#> [1] 100.1  10.1
#> 
#> $loss
#> [1] 100.1  10.1
#> 
#> $reducible
#> [1] 100  10
#> 
#> $irreducible
#> [1] 0.1
#> 
#> $N_c
#> [1] 1e+10
#> 
#> $alpha_N
#> [1] 0.5
#> 
#> $n
#> [1] 2
#> 
#> $method
#> [1] "Power-law scaling L(N) = (N_c/N)^alpha + L_inf"
#>