hf-gguf-to-ollama
No long description provided.
Installation
dagger install github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622Entrypoint
Return Type
HfGgufToOllama Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
func (m *MyModule) Example() *dagger.HfGgufToOllama {
return dag.
HfGgufToOllama()
}@function
def example() -> dagger.HfGgufToOllama:
return (
dag.hf_gguf_to_ollama()
)@func()
example(): HfGgufToOllama {
return dag
.hfGgufToOllama()
}Entrypoint
Return Type
GgufFile !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| quant | String ! | - | No description provided |
| filename | String ! | - | No description provided |
Example
Function HfGgufToOllamaGgufFile.Constructor is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.Constructor is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.Constructor is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.Constructor is not accessible from the hf-gguf-to-ollama moduleEntrypoint
Return Type
RepositoryInfo !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ggufFiles | [GgufFile ! ] ! | - | No description provided |
| url | String ! | - | No description provided |
| repository | String ! | - | No description provided |
| readme | String ! | "" | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
--url string --repository string --readme stringfunc (m *MyModule) Example(ggufFiles []*dagger.GgufFile, url string, repository string, readme string) *dagger.RepositoryInfo {
return dag.
HfGgufToOllama(ggufFiles, url, repository, readme)
}@function
def example(gguf_files: List[dagger.GgufFile], url: str, repository: str, readme: str) -> dagger.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 🔗
hfCli() 🔗
Return Type
Container ! Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
hf-clifunc (m *MyModule) Example() *dagger.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 !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| url | String ! | - | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
list --url stringfunc (m *MyModule) Example(ctx context.Context, url string) string {
return dag.
HfGgufToOllama().
List(ctx, url)
}@function
async def example(url: str) -> str:
return await (
dag.hf_gguf_to_ollama()
.list(url)
)@func()
async example(url: string): Promise<string> {
return dag
.hfGgufToOllama()
.list(url)
}repositoryInfo() 🔗
Return Type
HfGgufToOllamaRepositoryInfo !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| url | String ! | - | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
repository-info --url stringfunc (m *MyModule) Example(url string) *dagger.HfGgufToOllamaRepositoryInfo {
return dag.
HfGgufToOllama().
RepositoryInfo(url)
}@function
def example(url: str) -> dagger.HfGgufToOllamaRepositoryInfo:
return (
dag.hf_gguf_to_ollama()
.repository_info(url)
)@func()
example(url: string): HfGgufToOllamaRepositoryInfo {
return dag
.hfGgufToOllama()
.repositoryInfo(url)
}download() 🔗
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| url | String ! | - | No description provided |
| quant | String ! | - | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
download --url string --quant stringfunc (m *MyModule) Example(url string, quant string) *dagger.File {
return dag.
HfGgufToOllama().
Download(url, quant)
}@function
def example(url: str, quant: str) -> dagger.File:
return (
dag.hf_gguf_to_ollama()
.download(url, quant)
)@func()
example(url: string, quant: string): File {
return dag
.hfGgufToOllama()
.download(url, quant)
}push() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| url | String ! | - | The huggingface repository to download from, eg `adrienbrault/top-model` |
| quant | String ! | - | The quant to download, eg `Q4_0` |
| to | String ! | - | The ollama repository to push to, eg `adrienbrault/top-model` |
| ollamaKey | File ! | - | No description provided |
| ollamaKeyPub | File ! | - | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
push --url string --quant string --to string --ollama-key file:path --ollama-key-pub file:pathfunc (m *MyModule) Example(ctx context.Context, url string, quant string, to string, ollamaKey *dagger.File, ollamaKeyPub *dagger.File) string {
return dag.
HfGgufToOllama().
Push(ctx, url, quant, to, ollamaKey, ollamaKeyPub)
}@function
async def example(url: str, quant: str, to: str, ollama_key: dagger.File, ollama_key_pub: dagger.File) -> str:
return await (
dag.hf_gguf_to_ollama()
.push(url, quant, to, ollama_key, ollama_key_pub)
)@func()
async example(url: string, quant: string, to: string, ollamaKey: File, ollamaKeyPub: File): Promise<string> {
return dag
.hfGgufToOllama()
.push(url, quant, to, ollamaKey, ollamaKeyPub)
}pushAll() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| url | String ! | - | The huggingface repository to download from, eg `adrienbrault/top-model` |
| to | String ! | - | The ollama repository to push to, eg `adrienbrault/top-model` |
| ollamaKey | File ! | - | No description provided |
| ollamaKeyPub | File ! | - | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
push-all --url string --to string --ollama-key file:path --ollama-key-pub file:pathfunc (m *MyModule) Example(ctx context.Context, url string, to string, ollamaKey *dagger.File, ollamaKeyPub *dagger.File) string {
return dag.
HfGgufToOllama().
PushAll(ctx, url, to, ollamaKey, ollamaKeyPub)
}@function
async def example(url: str, to: str, ollama_key: dagger.File, ollama_key_pub: dagger.File) -> str:
return await (
dag.hf_gguf_to_ollama()
.push_all(url, to, ollama_key, ollama_key_pub)
)@func()
async example(url: string, to: string, ollamaKey: File, ollamaKeyPub: File): Promise<string> {
return dag
.hfGgufToOllama()
.pushAll(url, to, ollamaKey, ollamaKeyPub)
}modelfile() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| url | String ! | - | No description provided |
| quant | String ! | - | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
modelfile --url string --quant stringfunc (m *MyModule) Example(ctx context.Context, url string, quant string) string {
return dag.
HfGgufToOllama().
Modelfile(ctx, url, quant)
}@function
async def example(url: str, quant: str) -> str:
return await (
dag.hf_gguf_to_ollama()
.modelfile(url, quant)
)@func()
async example(url: string, quant: string): Promise<string> {
return dag
.hfGgufToOllama()
.modelfile(url, quant)
}HfGgufToOllamaGgufFile 🔗
quant() 🔗
Return Type
String ! Example
Function HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.quant is not accessible from the hf-gguf-to-ollama modulefilename() 🔗
Return Type
String ! Example
Function HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama moduleFunction HfGgufToOllamaGgufFile.filename is not accessible from the hf-gguf-to-ollama moduleHfGgufToOllamaRepositoryInfo 🔗
ggufFiles() 🔗
Return Type
[HfGgufToOllamaGgufFile ! ] ! Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
repository-info --url string \
gguf-filesfunc (m *MyModule) Example(url string) []*dagger.HfGgufToOllamaGgufFile {
return dag.
HfGgufToOllama().
RepositoryInfo(url).
GgufFiles()
}@function
def example(url: str) -> List[dagger.HfGgufToOllamaGgufFile]:
return (
dag.hf_gguf_to_ollama()
.repository_info(url)
.gguf_files()
)@func()
example(url: string): HfGgufToOllamaGgufFile[] {
return dag
.hfGgufToOllama()
.repositoryInfo(url)
.ggufFiles()
}url() 🔗
Return Type
String ! Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
repository-info --url string \
urlfunc (m *MyModule) Example(ctx context.Context, url string) string {
return dag.
HfGgufToOllama().
RepositoryInfo(url).
Url(ctx)
}@function
async def example(url: str) -> str:
return await (
dag.hf_gguf_to_ollama()
.repository_info(url)
.url()
)@func()
async example(url: string): Promise<string> {
return dag
.hfGgufToOllama()
.repositoryInfo(url)
.url()
}repository() 🔗
Return Type
String ! Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
repository-info --url string \
repositoryfunc (m *MyModule) Example(ctx context.Context, url string) string {
return dag.
HfGgufToOllama().
RepositoryInfo(url).
Repository(ctx)
}@function
async def example(url: str) -> str:
return await (
dag.hf_gguf_to_ollama()
.repository_info(url)
.repository()
)@func()
async example(url: string): Promise<string> {
return dag
.hfGgufToOllama()
.repositoryInfo(url)
.repository()
}readme() 🔗
Return Type
String ! Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@6875cbf9f3863fcd6f202adb8aa69df8c85b4622 call \
repository-info --url string \
readmefunc (m *MyModule) Example(ctx context.Context, url string) string {
return dag.
HfGgufToOllama().
RepositoryInfo(url).
Readme(ctx)
}@function
async def example(url: str) -> str:
return await (
dag.hf_gguf_to_ollama()
.repository_info(url)
.readme()
)@func()
async example(url: string): Promise<string> {
return dag
.hfGgufToOllama()
.repositoryInfo(url)
.readme()
}