hf-gguf-to-ollama
No long description provided.
Installation
dagger install github.com/adrienbrault/hf-gguf-to-ollama@3791145f72441631a00d988d04010d0aeca03f97
Entrypoint
Return Type
HfGgufToOllama
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@3791145f72441631a00d988d04010d0aeca03f97 call \
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
Name | Type | Description |
---|---|---|
quant | String ! | No description provided |
filename | String ! | 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
Function HfGgufToOllamaGgufFile.Constructor is not accessible from the hf-gguf-to-ollama module
Entrypoint
Return Type
RepositoryInfo !
Arguments
Name | Type | 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@3791145f72441631a00d988d04010d0aeca03f97 call \
--url string --repository string --readme string
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 🔗
hfCli() 🔗
Return Type
Container !
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@3791145f72441631a00d988d04010d0aeca03f97 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 !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
url | String ! | - | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@3791145f72441631a00d988d04010d0aeca03f97 call \
list --url string
func (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@3791145f72441631a00d988d04010d0aeca03f97 call \
repository-info --url string
func (m *myModule) example(url string) *HfGgufToOllamaRepositoryInfo {
return dag.
HfGgufToOllama().
RepositoryInfo(url)
}
@function
def example(url: str) -> dag.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@3791145f72441631a00d988d04010d0aeca03f97 call \
download --url string --quant string
func (m *myModule) example(url string, quant string) *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 | Secret ! | - | Use file:$HOME/.ollama/id_ed25519 |
ollamaKeyPub | File ! | - | Use ~/.ollama/id_ed25519.pub |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@3791145f72441631a00d988d04010d0aeca03f97 call \
push --url string --quant string --to string --ollama-key env:MYSECRET --ollama-key-pub file:path
func (m *myModule) example(ctx context.Context, url string, quant string, to string, ollamaKey *Secret, ollamaKeyPub *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.Secret, 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: Secret, 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 | Secret ! | - | Use file:$HOME/.ollama/id_ed25519 |
ollamaKeyPub | File ! | - | Use ~/.ollama/id_ed25519.pub |
concurrency | Integer ! | 2 | No description provided |
Example
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@3791145f72441631a00d988d04010d0aeca03f97 call \
push-all --url string --to string --ollama-key env:MYSECRET --ollama-key-pub file:path --concurrency integer
func (m *myModule) example(ctx context.Context, url string, to string, ollamaKey *Secret, ollamaKeyPub *File, concurrency int) string {
return dag.
HfGgufToOllama().
PushAll(ctx, url, to, ollamaKey, ollamaKeyPub, concurrency)
}
@function
async def example(url: str, to: str, ollama_key: dagger.Secret, ollama_key_pub: dagger.File, concurrency: int) -> str:
return await (
dag.hf_gguf_to_ollama()
.push_all(url, to, ollama_key, ollama_key_pub, concurrency)
)
@func()
async example(url: string, to: string, ollamaKey: Secret, ollamaKeyPub: File, concurrency: number): Promise<string> {
return dag
.hfGgufToOllama()
.pushAll(url, to, ollamaKey, ollamaKeyPub, concurrency)
}
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@3791145f72441631a00d988d04010d0aeca03f97 call \
modelfile --url string --quant string
func (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 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
dagger -m github.com/adrienbrault/hf-gguf-to-ollama@3791145f72441631a00d988d04010d0aeca03f97 call \
repository-info --url string \
gguf-files
func (m *myModule) example(url string) []*HfGgufToOllamaGgufFile {
return dag.
HfGgufToOllama().
RepositoryInfo(url).
GgufFiles()
}
@function
def example(url: str) -> List[dag.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@3791145f72441631a00d988d04010d0aeca03f97 call \
repository-info --url string \
url
func (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@3791145f72441631a00d988d04010d0aeca03f97 call \
repository-info --url string \
repository
func (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@3791145f72441631a00d988d04010d0aeca03f97 call \
repository-info --url string \
readme
func (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()
}