hf-gguf-to-ollama
No long description provided.
Installation
dagger install github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4Entrypoint
Return Type
HfGgufToOllama !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 | Secret | - | eg `file:$HOME/.ollama/id_ed25519` |
| ollamaKeyPub | File | - | eg `~/.ollama/id_ed25519.pub` |
| ollamaHost | Service | - | To connect to the local ollama service, use `tcp://localhost:11434` |
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 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/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 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 🔗
ollamaKey() 🔗
Return Type
Secret ! Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
ollama-keyfunc (m *MyModule) Example() *dagger.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-pubfunc (m *MyModule) Example() *dagger.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-hostfunc (m *MyModule) Example() *dagger.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-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 ! Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
listfunc (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
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
repository-infofunc (m *MyModule) Example() *dagger.HfGgufToOllamaRepositoryInfo {
return dag.
HfGgufToOllama().
RepositoryInfo()
}@function
def example() -> dagger.HfGgufToOllamaRepositoryInfo:
return (
dag.hf_gguf_to_ollama()
.repository_info()
)@func()
example(): HfGgufToOllamaRepositoryInfo {
return dag
.hfGgufToOllama()
.repositoryInfo()
}download() 🔗
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| quant | String | - | No description provided |
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
downloadfunc (m *MyModule) Example() *dagger.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
| Name | Type | Default Value | Description |
|---|---|---|---|
| quant | String | - | No description provided |
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
createfunc (m *MyModule) Example() *dagger.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
| Name | Type | Default Value | Description |
|---|---|---|---|
| concurrency | Integer ! | 2 | No description provided |
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
create-all --concurrency integerfunc (m *MyModule) Example(concurrency int) []*dagger.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
| Name | Type | Default Value | Description |
|---|---|---|---|
| quant | String | - | No description provided |
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
pushfunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| concurrency | Integer ! | 2 | No description provided |
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
push-all --concurrency integerfunc (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
| Name | Type | Default Value | Description |
|---|---|---|---|
| quant | String | - | No description provided |
Example
dagger -m github.com/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
modelfilefunc (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 \
testfunc (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 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/aiseei/hf-gguf-to-ollama@4b1d2f675f3e43881fc01f436b0d7c55401c8dc4 call \
repository-info \
gguf-filesfunc (m *MyModule) Example() []*dagger.HfGgufToOllamaGgufFile {
return dag.
HfGgufToOllama().
RepositoryInfo().
GgufFiles()
}@function
def example() -> List[dagger.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 \
urlfunc (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 \
repositoryfunc (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 \
readmefunc (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()
}