Documentation ¶
Index ¶
Constants ¶
View Source
const ( KB = 1 << (10 * iota) MB GB TB )
View Source
const DefaultCfgScale float64 = 7.0
View Source
const DefaultOutputLen int = 100
Constants for text generation task.
View Source
const DefaultOwnerID string = "local-user"
Constants for resource owner
View Source
const DefaultSamples int = 1
View Source
const DefaultSeed int = 1024
View Source
const DefaultStep int = 10
Constants for text to image task.
View Source
const DefaultTopK int = 40
View Source
const HeaderOwnerIDKey = "owner-id"
View Source
const HeaderOwnerUIDKey = "jwt-sub"
View Source
const MaxBatchSize int = 32
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.