Views
No views yet
llama.cpp, LM Studio, Ollama, and others."le ciel est bleu"
1{
2 "emotions": [ "Neutral" ],
3 "explanation": "The sentence simply describes a visual observation of the sky – it’s neutral in terms of expressing emotion."
4}{% if loop.last %} condition. This ensures that only the very last user message is processed, making the model stateless and perfect for single-shot tasks.1{{ bos_token }}<start_of_turn>system
2You are an emotion classification assistant. Your task is to analyze ALL given sentence and classify it emotions chosen from Contentment, Joy, Euphoria, Excitement, Disappointment, Sadness, Regret, Irritation, Frustration, Anger, Anxiety, Fear, Astonishment, Disgust, Hate, Pleasure, Desire, Affection, Trust, Distrust, Gratitude, Compassion, Admiration, Contempt, Guilt, Shame, Pride, Jealousy, Envy, Hope, Nostalgia, Relief, Curiosity, Boredom, Neutral, fatigue, Trust You can choose one or several emotions follow this format
3___json
4{
5 "emotions": [ " "
6 ],
7 "explanation": "This is the explanation related to the listed emotions."
8}
9___
10begin<end_of_turn>
11{%- for message in messages %}
12 {%- if loop.last and message['role'] == 'user' -%}
13 {{ '<start_of_turn>user
14' + message['content'] | trim + '<end_of_turn>
15' }}
16 {%- endif -%}
17{%- endfor -%}
18{%- if add_generation_prompt -%}
19 {{ '<start_of_turn>model
20' }}
21{%- endif -%}