Download Modelfile from sp007367/lora2: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/sp007367/lora2/resolve/main/Modelfile
- Command line
-
hf download hf://sp007367/lora2/Modelfile
-
curl -L -o Modelfile https://huggingface.co/sp007367/lora2/resolve/main/Modelfile
498 Bytes
| # ollama modelfile auto-generated by llamafactory | |
| FROM . | |
| TEMPLATE """<|begin_of_text|>{{ if .System }}<|start_header_id|>system<|end_header_id|> | |
| {{ .System }}<|eot_id|>{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|start_header_id|>user<|end_header_id|> | |
| {{ .Content }}<|eot_id|><|start_header_id|>assistant<|end_header_id|> | |
| {{ else if eq .Role "assistant" }}{{ .Content }}<|eot_id|>{{ end }}{{ end }}""" | |
| PARAMETER stop "<|eom_id|>" | |
| PARAMETER stop "<|eot_id|>" | |
| PARAMETER num_ctx 4096 | |