Dagger
Search

hf-gguf-to-ollama

No long description provided.

Installation

dagger install github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4

Entrypoint

Return Type
HfGgufToOllama !
Arguments
NameTypeDescription
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()
}
@function
def example() -> dag.HfGgufToOllama:
	return (
		dag.hf_gguf_to_ollama()
	)
@func()
example(): HfGgufToOllama {
	return dag
		.hfGgufToOllama()
}

Entrypoint

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

Entrypoint

Return Type
RepositoryInfo !
Arguments
NameTypeDescription
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)
}
@function
def example(gguf_files: List[dag.GgufFile], url: str, repository: str, readme: str) -> dag.RepositoryInfo:
	return (
		dag.hf_gguf_to_ollama(gguf_files, url, repository, readme)
	)
@func()
example(ggufFiles: GgufFile[], url: string, repository: string, readme: string): RepositoryInfo {
	return dag
		.hfGgufToOllama(ggufFiles, url, repository, readme)
}

Types

HfGgufToOllama 🔗

ollamaKey() 🔗

Return Type
Secret !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 ollama-key
func (m *myModule) example() *Secret  {
	return dag.
			HfGgufToOllama().
			OllamaKey()
}
@function
def example() -> dagger.Secret:
	return (
		dag.hf_gguf_to_ollama()
		.ollama_key()
	)
@func()
example(): Secret {
	return dag
		.hfGgufToOllama()
		.ollamaKey()
}

ollamaKeyPub() 🔗

Return Type
File !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 ollama-key-pub
func (m *myModule) example() *File  {
	return dag.
			HfGgufToOllama().
			OllamaKeyPub()
}
@function
def example() -> dagger.File:
	return (
		dag.hf_gguf_to_ollama()
		.ollama_key_pub()
	)
@func()
example(): File {
	return dag
		.hfGgufToOllama()
		.ollamaKeyPub()
}

ollamaHost() 🔗

Return Type
Service !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 ollama-host
func (m *myModule) example() *Service  {
	return dag.
			HfGgufToOllama().
			OllamaHost()
}
@function
def example() -> dagger.Service:
	return (
		dag.hf_gguf_to_ollama()
		.ollama_host()
	)
@func()
example(): Service {
	return dag
		.hfGgufToOllama()
		.ollamaHost()
}

hfCli() 🔗

Return Type
Container !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 hf-cli
func (m *myModule) example() *Container  {
	return dag.
			HfGgufToOllama().
			HfCli()
}
@function
def example() -> dagger.Container:
	return (
		dag.hf_gguf_to_ollama()
		.hf_cli()
	)
@func()
example(): Container {
	return dag
		.hfGgufToOllama()
		.hfCli()
}

list() 🔗

Return Type
String !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 list
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			List(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hf_gguf_to_ollama()
		.list()
	)
@func()
async example(): Promise<string> {
	return dag
		.hfGgufToOllama()
		.list()
}

repositoryInfo() 🔗

Return Type
HfGgufToOllamaRepositoryInfo !
Example
Function HfGgufToOllama.repositoryInfo is not accessible from the hf-gguf-to-ollama module
func (m *myModule) example() *HfGgufToOllamaRepositoryInfo  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo()
}
@function
def example() -> dag.HfGgufToOllamaRepositoryInfo:
	return (
		dag.hf_gguf_to_ollama()
		.repository_info()
	)
@func()
example(): HfGgufToOllamaRepositoryInfo {
	return dag
		.hfGgufToOllama()
		.repositoryInfo()
}

download() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 download
func (m *myModule) example() *File  {
	return dag.
			HfGgufToOllama().
			Download()
}
@function
def example() -> dagger.File:
	return (
		dag.hf_gguf_to_ollama()
		.download()
	)
@func()
example(): File {
	return dag
		.hfGgufToOllama()
		.download()
}

create() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 create
func (m *myModule) example() *Container  {
	return dag.
			HfGgufToOllama().
			Create()
}
@function
def example() -> dagger.Container:
	return (
		dag.hf_gguf_to_ollama()
		.create()
	)
@func()
example(): Container {
	return dag
		.hfGgufToOllama()
		.create()
}

createAll() 🔗

Return Type
[Container ! ] !
Arguments
NameTypeDefault ValueDescription
concurrencyInteger !2No description provided
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 create-all --concurrency integer
func (m *myModule) example(concurrency int) []*Container  {
	return dag.
			HfGgufToOllama().
			CreateAll(concurrency)
}
@function
def example(concurrency: int) -> List[dagger.Container]:
	return (
		dag.hf_gguf_to_ollama()
		.create_all(concurrency)
	)
@func()
example(concurrency: number): Container[] {
	return dag
		.hfGgufToOllama()
		.createAll(concurrency)
}

push() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 push
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			Push(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hf_gguf_to_ollama()
		.push()
	)
@func()
async example(): Promise<string> {
	return dag
		.hfGgufToOllama()
		.push()
}

pushAll() 🔗

Return Type
[String ! ] !
Arguments
NameTypeDefault ValueDescription
concurrencyInteger !2No description provided
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 push-all --concurrency integer
func (m *myModule) example(ctx context.Context, concurrency int) []string  {
	return dag.
			HfGgufToOllama().
			PushAll(ctx, concurrency)
}
@function
async def example(concurrency: int) -> List[str]:
	return await (
		dag.hf_gguf_to_ollama()
		.push_all(concurrency)
	)
@func()
async example(concurrency: number): Promise<string[]> {
	return dag
		.hfGgufToOllama()
		.pushAll(concurrency)
}

modelfile() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
quantString -No description provided
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 modelfile
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			Modelfile(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hf_gguf_to_ollama()
		.modelfile()
	)
@func()
async example(): Promise<string> {
	return dag
		.hfGgufToOllama()
		.modelfile()
}

test() 🔗

Return Type
String !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 test
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			Test(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hf_gguf_to_ollama()
		.test()
	)
@func()
async example(): Promise<string> {
	return dag
		.hfGgufToOllama()
		.test()
}

HfGgufToOllamaGgufFile 🔗

quant() 🔗

Return Type
String !
Example
Function HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama module
Function HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama module
Function HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama module
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
Function HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama module
Function HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama module
Function HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama module

HfGgufToOllamaRepositoryInfo 🔗

ggufFiles() 🔗

Return Type
[HfGgufToOllamaGgufFile ! ] !
Example
Function HfGgufToOllamaRepositoryInfo.ggufFiles is not accessible from the hf-gguf-to-ollama module
func (m *myModule) example() []*HfGgufToOllamaGgufFile  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			GgufFiles()
}
@function
def example() -> List[dag.HfGgufToOllamaGgufFile]:
	return (
		dag.hf_gguf_to_ollama()
		.repository_info()
		.gguf_files()
	)
@func()
example(): HfGgufToOllamaGgufFile[] {
	return dag
		.hfGgufToOllama()
		.repositoryInfo()
		.ggufFiles()
}

url() 🔗

Return Type
String !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 repository-info \
 url
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			Url(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hf_gguf_to_ollama()
		.repository_info()
		.url()
	)
@func()
async example(): Promise<string> {
	return dag
		.hfGgufToOllama()
		.repositoryInfo()
		.url()
}

repository() 🔗

Return Type
String !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 repository-info \
 repository
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			Repository(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hf_gguf_to_ollama()
		.repository_info()
		.repository()
	)
@func()
async example(): Promise<string> {
	return dag
		.hfGgufToOllama()
		.repositoryInfo()
		.repository()
}

readme() 🔗

Return Type
String !
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
 repository-info \
 readme
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HfGgufToOllama().
			RepositoryInfo().
			Readme(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hf_gguf_to_ollama()
		.repository_info()
		.readme()
	)
@func()
async example(): Promise<string> {
	return dag
		.hfGgufToOllama()
		.repositoryInfo()
		.readme()
}