Update README.md
Browse files
README.md
CHANGED
@@ -35,7 +35,7 @@ tags:
|
|
35 |
|
36 |
3. **use `convert.py` script from https://github.com/ggerganov/llama.cpp/blob/master/convert.py for**
|
37 |
|
38 |
-
`python3 convert.py --outtype f16 "/
|
39 |
|
40 |
4. **install ollama (link: https://github.com/jmorganca/ollama)**
|
41 |
~~~
|
@@ -52,7 +52,7 @@ sudo apt install curl
|
|
52 |
### modelfile for ollama
|
53 |
|
54 |
~~~
|
55 |
-
echo "FROM /
|
56 |
~~~
|
57 |
|
58 |
|
@@ -65,8 +65,8 @@ ollama create mistral -f modelfile
|
|
65 |
### make the folder that contains modelfile and downloaded mistral model weights traversable with a+x
|
66 |
|
67 |
~~~
|
68 |
-
sudo chmod -R a+x /
|
69 |
-
ollama create name -f /
|
70 |
|
71 |
ollama run modelfile
|
72 |
ollama run mistral
|
|
|
35 |
|
36 |
3. **use `convert.py` script from https://github.com/ggerganov/llama.cpp/blob/master/convert.py for**
|
37 |
|
38 |
+
`python3 convert.py --outtype f16 "/path/to/mistral-7B-v0.1"`
|
39 |
|
40 |
4. **install ollama (link: https://github.com/jmorganca/ollama)**
|
41 |
~~~
|
|
|
52 |
### modelfile for ollama
|
53 |
|
54 |
~~~
|
55 |
+
echo "FROM /path/to/mistral-7B-v0.1/ggml-model-f16.gguf" > modelfile
|
56 |
~~~
|
57 |
|
58 |
|
|
|
65 |
### make the folder that contains modelfile and downloaded mistral model weights traversable with a+x
|
66 |
|
67 |
~~~
|
68 |
+
sudo chmod -R a+x /path/to/mistral-7B-v0.1
|
69 |
+
ollama create name -f /path/to/mistral-7B-v0.1/modelfile
|
70 |
|
71 |
ollama run modelfile
|
72 |
ollama run mistral
|