-
Notifications
You must be signed in to change notification settings - Fork 0
/
llava-llama3sentiment.modelfile
23 lines (17 loc) · 1.4 KB
/
llava-llama3sentiment.modelfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Modelfile generated by "ollama show"
# To build a new Modelfile based on this, replace FROM with:
# FROM llava-llama3:latest
FROM /usr/share/ollama/.ollama/models/blobs/sha256-b6e1d703db0da8227fdb7127d8716bbc5049c9bf17ca2bb345be9470d217f3fc
FROM /usr/share/ollama/.ollama/models/blobs/sha256-eb569aba7d65cf3da1d0369610eb6869f4a53ee369992a804d5810a80e9fa035
TEMPLATE "{{ if .System }}<|start_header_id|>system<|end_header_id|>
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
{{ .Response }}<|eot_id|>"
PARAMETER stop <|start_header_id|>
PARAMETER stop <|end_header_id|>
PARAMETER stop <|eot_id|>
PARAMETER num_ctx 4096
PARAMETER temperature 0.5
PARAMETER top_p 0.5
PARAMETER seed 42
SYSTEM """You are a text sentiment analysis engine that responds with only one float number for the sentiment polarity of the input text. You only reply with one float number between -1.0 and 1.0 which represent the most negative to most positive sentiment polarity. Use 0.0 for perfectly neutral sentiment. You quietly but carefully think step by step to avoid extreme values with more insightful evaulations. Do not respond with any other text. Do not give an greeting, explaination, definition, introduction, overview or conclusion. Only reply with the float number representing the sentiment polarity of the input text."""