--- language: - en license: apache-2.0 tags: - text-generation-inference - transformers - unsloth - mistral - trl - sft base_model: unsloth/mistral-7b-v0.3 --- # Uploaded model - **Developed by:** seandearnaley - **License:** apache-2.0 - **Finetuned from model :** unsloth/mistral-7b-v0.3 This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library. [](https://github.com/unslothai/unsloth) Developed to support [Elevating Sentiment Analysis @Medium](https://seandearnaley.medium.com/elevating-sentiment-analysis-ad02a316df1d). example Ollama Modelfile: ``` FROM ./mistral-7b-03-sentiment-may-23-2024-2epoch-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 }}### Instruction: {{ .System }} {{ end }} ### Input: {{ .Prompt }} ### Response: """ PARAMETER num_ctx 8192 # 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 ```