modelfile

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultModelfileName = "Modelfile"

DefaultModelfileName is the default name of the modelfile.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateConfig

type GenerateConfig struct {
	Workspace                   string
	Name                        string
	Version                     string
	Output                      string
	IgnoreUnrecognizedFileTypes bool
	Overwrite                   bool
	Arch                        string
	Family                      string
	Format                      string
	ParamSize                   string
	Precision                   string
	Quantization                string
}

func NewGenerateConfig

func NewGenerateConfig() *GenerateConfig

func (*GenerateConfig) Convert

func (g *GenerateConfig) Convert(workspace string) error

func (*GenerateConfig) Validate

func (g *GenerateConfig) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL