We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5ea144 commit ff7610dCopy full SHA for ff7610d
Libraries/LLM/OpenELM.swift
@@ -106,8 +106,8 @@ private class FeedForwardNetwork: Module, UnaryLayer {
106
let intermediateDim = Int(
107
makeDivisible(Float(ffnMultiplier) * Float(dim), divisor: args.ffnDimDivisor))
108
109
- self.proj_1 = Linear(dim, 2 * intermediateDim)
110
- self.proj_2 = Linear(intermediateDim, dim)
+ self.proj_1 = Linear(dim, 2 * intermediateDim, bias: false)
+ self.proj_2 = Linear(intermediateDim, dim, bias: false)
111
}
112
113
public func callAsFunction(_ x: MLXArray) -> MLXArray {
0 commit comments