Dagger
Search

hf-gguf-to-ollama

No long description provided.

Installation

dagger install github.com/adrienbrault/hf-gguf-to-ollama@0dbea063fd77b46d8c75092100f62adad2ab0ccf

Entrypoint

Return Type
HfGgufToOllama !
Arguments
NameTypeDefault ValueDescription
urlString -The huggingface repository to download from, eg `adrienbrault/top-model`
quantString -The quant to download, eg `Q4_0`
toString -The ollama repository to push to, eg `adrienbrault/top-model`
ollamaKeySecret -eg `file:$HOME/.ollama/id_ed25519`
ollamaKeyPubFile -eg `~/.ollama/id_ed25519.pub`
ollamaHostService -To connect to the local ollama service, use `tcp://localhost:11434`
Example
func (m *myModule) example() *HfGgufToOllama  {
	return dag.
			HfGgufToOllama()
}

Entrypoint

Return Type
GgufFile !
Arguments
NameTypeDefault ValueDescription
quantString !-No description provided
filenameString !-No description provided
Example
Function HfGgufToOllamaGgufFile.Constructor is not accessible from the hf-gguf-to-ollama module

Entrypoint

Return Type
RepositoryInfo !
Arguments
NameTypeDefault ValueDescription
ggufFiles[GgufFile ! ] !-No description provided
urlString !-No description provided
repositoryString !-No description provided
readmeString !""No description provided
Example
func (m *myModule) example(ggufFiles []*GgufFile, url string, repository string, readme string) *RepositoryInfo  {
	return dag.
			HfGgufToOllama(ggufFiles, url, repository, readme)
}

Types

HfGgufToOllama 🔗

ollamaKey() 🔗

Return Type
Secret !
Example
func (m *myModule) example() *Secret  {
	return dag.
			HfGgufToOllama().
			OllamaKey()
}

ollamaKeyPub() 🔗

Return Type
File !
Example
func (m *myModule) example() *File  {
	return dag.
			HfGgufToOllama().
			OllamaKeyPub()
}

ollamaHost() 🔗

Return Type
Service !
Example
func (m *myModule) example() *Service  {
	return dag.
			HfGgufToOllama().
			OllamaHost()
}

hfCli() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			HfGgufToOllama().
			HfCli()
}

list() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			List(ctx)
}

repositoryInfo() 🔗

Return Type
HfGgufToOllamaRepositoryInfo !
Example
func (m *myModule) example() *HfGgufToOllamaRepositoryInfo  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo()
}

download() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
func (m *myModule) example() *File  {
	return dag.
			HfGgufToOllama().
			Download()
}

create() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
func (m *myModule) example() *Container  {
	return dag.
			HfGgufToOllama().
			Create()
}

createAll() 🔗

Return Type
[Container ! ] !
Arguments
NameTypeDefault ValueDescription
concurrencyInteger !2No description provided
Example
func (m *myModule) example(concurrency int) []*Container  {
	return dag.
			HfGgufToOllama().
			CreateAll(concurrency)
}

push() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			Push(ctx)
}

pushAll() 🔗

Return Type
[String ! ] !
Arguments
NameTypeDefault ValueDescription
concurrencyInteger !2No description provided
Example
func (m *myModule) example(ctx context.Context, concurrency int) []string  {
	return dag.
			HfGgufToOllama().
			PushAll(ctx, concurrency)
}

modelfile() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			Modelfile(ctx)
}

test() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			Test(ctx)
}

HfGgufToOllamaGgufFile 🔗

quant() 🔗

Return Type
String !
Example
Function HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama module

filename() 🔗

Return Type
String !
Example
Function HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama module

HfGgufToOllamaRepositoryInfo 🔗

ggufFiles() 🔗

Return Type
[HfGgufToOllamaGgufFile ! ] !
Example
func (m *myModule) example() []*HfGgufToOllamaGgufFile  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			GgufFiles()
}

url() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			Url(ctx)
}

repository() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			Repository(ctx)
}

readme() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			Readme(ctx)
}