Update README.md
Browse files
README.md
CHANGED
@@ -15,6 +15,35 @@ This is an uncensored version of Llama 3.2 3B Instruct created with abliteration
|
|
15 |
|
16 |
Special thanks to [@FailSpy](https://huggingface.co/failspy) for the original code and technique. Please follow him if you're interested in abliterated models.
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
## Evaluations
|
19 |
The following data has been re-evaluated and calculated as the average for each test.
|
20 |
|
|
|
15 |
|
16 |
Special thanks to [@FailSpy](https://huggingface.co/failspy) for the original code and technique. Please follow him if you're interested in abliterated models.
|
17 |
|
18 |
+
## ollama
|
19 |
+
|
20 |
+
1. Download this model.
|
21 |
+
```
|
22 |
+
huggingface-cli download huihui-ai/Llama-3.2-3B-Instruct-abliterated --local-dir ./huihui-ai/Llama-3.2-3B-Instruct-abliterated
|
23 |
+
```
|
24 |
+
2. Get Llama-3.2-90B-Vision-Instruct model for reference.
|
25 |
+
```
|
26 |
+
ollama run llama3.2
|
27 |
+
```
|
28 |
+
3. Export Llama-3.2-3B-Instruct model parameters.
|
29 |
+
```
|
30 |
+
ollama show llama3.2 --modelfile > Modelfile
|
31 |
+
```
|
32 |
+
4. Modify Modelfile, Remove all comment lines (indicated by #) before the "FROM" keyword. Replace the "FROM" with the following content.
|
33 |
+
```
|
34 |
+
FROM huihui-ai/Llama-3.2-3B-Instruct-abliterated
|
35 |
+
```
|
36 |
+
5. Use ollama create to then create the quantized model.
|
37 |
+
```
|
38 |
+
ollama create --quantize q4_K_M -f Modelfile Llama-3.2-3B-Instruct-abliterated-q4_K_M
|
39 |
+
```
|
40 |
+
6. Run model
|
41 |
+
```
|
42 |
+
ollama run Llama-3.2-3B-Instruct-abliterated-q4_K_M
|
43 |
+
```
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
## Evaluations
|
48 |
The following data has been re-evaluated and calculated as the average for each test.
|
49 |
|