AndroidBonsaiModelLayout

internal data class AndroidBonsaiModelLayout(val rootPath: String, val packedTransformerPath: String, val textEncoderPath: String, val tokenizerPath: String, val vaePath: String, val schedulerPath: String)(source)

Resolves Android Bonsai model resources using the same layout rules as the iOS Swift runtime.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(rootPath: String, packedTransformerPath: String, textEncoderPath: String, tokenizerPath: String, vaePath: String, schedulerPath: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

directory containing packed mflux transformer weights.

Link copied to clipboard

directory containing the Bonsai resource folders.

Link copied to clipboard

scheduler directory.

Link copied to clipboard

preferred text encoder directory.

Link copied to clipboard

tokenizer directory.

Link copied to clipboard

VAE directory.