Help us shape the future of Go! Take the 2026 Go Developer Survey

llama

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoLlama

type GoLlama struct {
	State   unsafe.Pointer
	Params  unsafe.Pointer
	Options Options
}

func NewGoLlama

func NewGoLlama(options Options) *GoLlama

func (*GoLlama) Free

func (l *GoLlama) Free()

type Options

type Options struct {
	ModelName string
	UseMMap   bool
}

func (*Options) ToInitParams

func (o *Options) ToInitParams() unsafe.Pointer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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