Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HuggingFaceDownloader ¶
type HuggingFaceDownloader struct {
// contains filtered or unexported fields
}
HuggingFaceDownloader downloads models from Hugging Face.
func NewHuggingFaceDownloader ¶
func NewHuggingFaceDownloader(cacheDir string) *HuggingFaceDownloader
NewHuggingFaceDownloader creates a new HuggingFaceDownloader.
type L ¶
type L struct {
// contains filtered or unexported fields
}
L is a loader.
func New ¶
func New( store *store.S, baseModels []string, objectStorPathPrefix string, modelDownloader ModelDownloader, s3Client S3Client, ) *L
New creates a new loader.
func (*L) LoadBaseModels ¶ added in v0.8.0
LoadBaseModels loads the base models.
type ModelDownloader ¶
type ModelDownloader interface {
// contains filtered or unexported methods
}
ModelDownloader is an interface for downloading a model.
type NoopModelDownloader ¶
type NoopModelDownloader struct {
}
NoopModelDownloader is a no-op model downloader.
Click to show internal directories.
Click to hide internal directories.