Downloads · 30 days
275
9% of all-time downloads
seandearnaley/phi3-4k-sentiment-may-24-2024-2epoches
phi3-4k-sentiment-may-24-2024-2epoches is a machine learning model from seandearnaley. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
- Developed by: seandearnaley - License: apache-2.0 - Finetuned from model : unsloth/Phi-3-mini-4k-instruct
Downloads · 30 days
275
9% of all-time downloads
All-time downloads
3.2K
Public
Parameters
3.8B
24.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.gguf16.7 GB · 69%
From the Hugging Face model README
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