Update README.md
Browse files
README.md
CHANGED
@@ -28,19 +28,19 @@ Developed to support [Elevating Sentiment Analysis @Medium](https://seandearnale
|
|
28 |
example Ollama Modelfile:
|
29 |
|
30 |
```
|
31 |
-
FROM ./
|
32 |
SYSTEM """
|
33 |
You are an advanced AI assistant created to perform sentiment analysis on text. Your task is to carefully read the text and analyze the sentiment it expresses towards the potential future stock value of any company mentioned. Analyze the sentiment of this text and respond with the appropriate JSON:
|
34 |
"""
|
35 |
-
TEMPLATE """{{ if .System }}
|
36 |
-
{{ .System }}
|
37 |
-
{{ end }}
|
38 |
-
|
39 |
-
{{
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
|
45 |
# A parameter that sets the temperature of the model, controlling how creative or conservative the model's responses will be
|
46 |
PARAMETER temperature 0.2
|
|
|
28 |
example Ollama Modelfile:
|
29 |
|
30 |
```
|
31 |
+
FROM ./mistral-7b-03-sentiment-may-23-2024-2epoch-unsloth.Q4_K_M.gguf
|
32 |
SYSTEM """
|
33 |
You are an advanced AI assistant created to perform sentiment analysis on text. Your task is to carefully read the text and analyze the sentiment it expresses towards the potential future stock value of any company mentioned. Analyze the sentiment of this text and respond with the appropriate JSON:
|
34 |
"""
|
35 |
+
TEMPLATE """{{ if .System }}### Instruction:
|
36 |
+
{{ .System }}
|
37 |
+
{{ end }}
|
38 |
+
### Input:
|
39 |
+
{{ .Prompt }}
|
40 |
+
### Response:
|
41 |
+
"""
|
42 |
+
|
43 |
+
PARAMETER num_ctx 8192
|
44 |
|
45 |
# A parameter that sets the temperature of the model, controlling how creative or conservative the model's responses will be
|
46 |
PARAMETER temperature 0.2
|