Edit model card

Uploaded model

  • Developed by: seandearnaley
  • License: apache-2.0
  • Finetuned from model : unsloth/Phi-3-mini-4k-instruct

This phi-3 model was trained 2x faster with Unsloth and Huggingface's TRL library.

Developed to support Elevating Sentiment Analysis @Medium.

example Ollama Modelfile:

FROM ./phi3-4k-sentiment-may-24-2024-2epoches-unsloth.Q4_K_M.gguf
SYSTEM """
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:
"""
TEMPLATE """{{ if .System }}<|system|>
{{ .System }}<|end|>
{{ end }}{{ if .Prompt }}<|user|>
{{ .Prompt }}<|end|>
{{ end }}<|assistant|>
{{ .Response }}<|end|>"""

# PARAMETER stop <|end_of_text|> # Default for Llama3
# PARAMETER stop </s> # Default for Mistral

# A parameter that sets the temperature of the model, controlling how creative or conservative the model's responses will be
PARAMETER temperature 0.2

# Sets how far back for the model to look back to prevent repetition. (Default: 64, 0 = disabled, -1 = num_ctx)
PARAMETER repeat_last_n 256
Downloads last month
37
Safetensors
Model size
3.82B params
Tensor type
FP16
·
Inference API
Unable to determine this model’s pipeline type. Check the docs .

Model tree for seandearnaley/phi3-4k-sentiment-may-24-2024-2epoches

Quantized
(17)
this model