Compare commits

..

1 Commits

Author SHA1 Message Date
Patrick Devine
206fab0e15 add license layers to the parser 2023-07-18 22:44:35 -07:00
3 changed files with 10 additions and 12 deletions

View File

@@ -54,13 +54,12 @@ Hello! It's your friend Mario.
Ollama includes a library of open-source, pre-trained models. More models are coming soon.
| Model | Parameters | Size | Download |
| ---------------------- | ---------- | ----- | --------------------------- |
| Llama2 | 7B | 3.8GB | `ollama pull llama2` |
| Orca Mini | 3B | 1.9GB | `ollama pull orca` |
| Vicuna | 7B | 3.8GB | `ollama pull vicuna` |
| Nous-Hermes | 13B | 7.3GB | `ollama pull nous-hermes` |
| Wizard Vicuna Uncensored | 13B | 6.8GB | `ollama pull wizard-vicuna` |
| Model | Parameters | Size | Download |
| ----------- | ---------- | ----- | ------------------------- |
| Llama2 | 7B | 3.8GB | `ollama pull llama2` |
| Orca Mini | 3B | 1.9GB | `ollama pull orca` |
| Vicuna | 7B | 3.8GB | `ollama pull vicuna` |
| Nous-Hermes | 13B | 7.3GB | `ollama pull nous-hermes` |
## Building

View File

@@ -13,9 +13,7 @@ export function installed() {
}
export async function install() {
const command = `do shell script "mkdir -p ${path.dirname(
symlinkPath
)} && ln -F -s ${ollama} ${symlinkPath}" with administrator privileges`
const command = `do shell script "ln -F -s ${ollama} ${symlinkPath}" with administrator privileges`
try {
await exec(`osascript -e '${command}'`)

View File

@@ -651,7 +651,8 @@ func createConfigLayer(layers []string) (*LayerReader, error) {
return nil, err
}
digest, size := GetSHA256Digest(bytes.NewBuffer(configJSON))
buf := bytes.NewBuffer(configJSON)
digest, size := GetSHA256Digest(buf)
layer := &LayerReader{
Layer: Layer{
@@ -659,7 +660,7 @@ func createConfigLayer(layers []string) (*LayerReader, error) {
Digest: digest,
Size: size,
},
Reader: bytes.NewBuffer(configJSON),
Reader: buf,
}
return layer, nil
}