seandearnaley commited on
Commit
1bbbb3f
·
verified ·
1 Parent(s): ab0e6e9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -10
README.md CHANGED
@@ -28,19 +28,19 @@ Developed to support [Elevating Sentiment Analysis @Medium](https://seandearnale
28
  example Ollama Modelfile:
29
 
30
  ```
31
- FROM ./phi3-4k-sentiment-may-24-2024-2epoches-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 }}<|system|>
36
- {{ .System }}<|end|>
37
- {{ end }}{{ if .Prompt }}<|user|>
38
- {{ .Prompt }}<|end|>
39
- {{ end }}<|assistant|>
40
- {{ .Response }}<|end|>"""
41
-
42
- # PARAMETER stop <|end_of_text|> # Default for Llama3
43
- # PARAMETER stop </s> # Default for Mistral
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