Instructions to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF", dtype="auto") - llama-cpp-python
How to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF", filename="mistral-7b-inst-0.2-bulleted-notes.Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
Use Docker
docker model run hf.co/cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with Ollama:
ollama run hf.co/cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
- Unsloth Studio new
How to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF to start chatting
- Docker Model Runner
How to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with Docker Model Runner:
docker model run hf.co/cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
- Lemonade
How to use cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cognitivetech/Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Mistral-7b-Inst-0.2-Bulleted-Notes_GGUF-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- README.md +22 -0
- config.json +3 -0
- mistral-7b-inst-0.2-bulleted-notes.Q2_K.gguf +3 -0
- mistral-7b-inst-0.2-bulleted-notes.Q4_K_M.gguf +3 -0
- mistral-7b-inst-0.2-bulleted-notes.Q5_K_M.gguf +3 -0
- mistral-7b-inst-0.2-bulleted-notes.Q6_k.gguf +3 -0
- mistral-7b-inst-0.2-bulleted-notes.Q8_0.gguf +3 -0
- mistral-7b-inst-0.2-bulleted-notes.fp16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Mistral-7B-Instruct-v0.2-Bulleted-Notes_GGUF-unsloth.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Mistral-7B-Instruct-v0.2-Bulleted-Notes_GGUF-unsloth.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Mistral-7B-Instruct-v0.2-Bulleted-Notes_GGUF-unsloth.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Mistral-7B-Instruct-v0.2-Bulleted-Notes_GGUF-unsloth.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
mistral-7b-inst-0.2-bulleted-notes.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
mistral-7b-inst-0.2-bulleted-notes.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
mistral-7b-inst-0.2-bulleted-notes.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
mistral-7b-inst-0.2-bulleted-notes.Q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
mistral-7b-inst-0.2-bulleted-notes.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
mistral-7b-inst-0.2-bulleted-notes.fp16.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- text-generation-inference
|
| 7 |
+
- transformers
|
| 8 |
+
- unsloth
|
| 9 |
+
- mistral
|
| 10 |
+
- gguf
|
| 11 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Uploaded model
|
| 15 |
+
|
| 16 |
+
- **Developed by:** cognitivetech
|
| 17 |
+
- **License:** apache-2.0
|
| 18 |
+
- **Finetuned from model :** mistralai/Mistral-7B-Instruct-v0.2
|
| 19 |
+
|
| 20 |
+
This mistral model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
+
|
| 22 |
+
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "mistral"
|
| 3 |
+
}
|
mistral-7b-inst-0.2-bulleted-notes.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7d16390c7ff3c1a8201955b5a9df55528cf53a99690b2844164a8057782bd35
|
| 3 |
+
size 2719242432
|
mistral-7b-inst-0.2-bulleted-notes.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc10cf6ffe1c359a29ad1f20a8bc7c0b1ef04f7bb3e5e3035e8ac7fc51cd179a
|
| 3 |
+
size 4368439488
|
mistral-7b-inst-0.2-bulleted-notes.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b0334e4042ccdc3616d1493678b0f67eb046fd29220987a97ae2a4ab7594248
|
| 3 |
+
size 5131409600
|
mistral-7b-inst-0.2-bulleted-notes.Q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c59d9d5109c769742d05df7867c3e3e3cd80987ae9f2c62ac839c2ddf78296b4
|
| 3 |
+
size 5942065344
|
mistral-7b-inst-0.2-bulleted-notes.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fdc4e75bb03b93aabcd6fcc80a9f310523219216bf16752ce1239f62b21f519
|
| 3 |
+
size 7695857856
|
mistral-7b-inst-0.2-bulleted-notes.fp16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4a8d691cfa56b607b563a765803bc968d5d80ab0c02b04a68f2e0e0d38586d1
|
| 3 |
+
size 14484732064
|