Lfm3Config class final

Constructors

Lfm3Config.fromJson(Map<String, Object?> json)
Parses a standalone text configuration, including a VL text_config.
factory
Lfm3Config.load(String modelDir)
factory

Properties

convKernel → int
final
eosTokenId → int
final
fullRope → RopeSpec
final
hashCode → int
The hash code for this object.
no setterinherited
headDim → int
final
hiddenSize → int
final
intermediateSize → int
final
kvDim → int
no setter
layerTypes → List<LayerType>
final
normEps → double
final
numHeads → int
final
numKvHeads → int
final
numLayers → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sandwichNorm → bool
final
slidingRope → RopeSpec
final
slidingWindow → int
final
vocabSize → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited