Instructions to use llmware/dragon-mistral-answer-tool with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llmware/dragon-mistral-answer-tool with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("llmware/dragon-mistral-answer-tool", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use llmware/dragon-mistral-answer-tool with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf llmware/dragon-mistral-answer-tool # Run inference directly in the terminal: llama cli -hf llmware/dragon-mistral-answer-tool
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf llmware/dragon-mistral-answer-tool # Run inference directly in the terminal: llama cli -hf llmware/dragon-mistral-answer-tool
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf llmware/dragon-mistral-answer-tool # Run inference directly in the terminal: ./build/bin/llama cli -hf llmware/dragon-mistral-answer-tool
Use Docker
docker model run hf.co/llmware/dragon-mistral-answer-tool
- Llama new
- LM Studio
- Jan
- Ollama
How to use llmware/dragon-mistral-answer-tool with Ollama:
ollama run hf.co/llmware/dragon-mistral-answer-tool
- Unsloth Desktop
- Docker Model Runner
How to use llmware/dragon-mistral-answer-tool with Docker Model Runner:
docker model run hf.co/llmware/dragon-mistral-answer-tool
- Lemonade
How to use llmware/dragon-mistral-answer-tool with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull llmware/dragon-mistral-answer-tool
Run and chat with the model
lemonade run user.dragon-mistral-answer-tool-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ Load in your favorite GGUF inference engine, or try with llmware as follows:
|
|
| 20 |
|
| 21 |
from llmware.models import ModelCatalog
|
| 22 |
model = ModelCatalog().load_model("dragon-mistral-answer-tool")
|
| 23 |
-
response = model.inference(query, text_sample)
|
| 24 |
|
| 25 |
Note: please review [**config.json**](https://huggingface.co/llmware/dragon-mistral-answer-tool/blob/main/config.json) in the repository for prompt wrapping information, details on the model, and full test set.
|
| 26 |
|
|
|
|
| 20 |
|
| 21 |
from llmware.models import ModelCatalog
|
| 22 |
model = ModelCatalog().load_model("dragon-mistral-answer-tool")
|
| 23 |
+
response = model.inference(query, add_context=text_sample)
|
| 24 |
|
| 25 |
Note: please review [**config.json**](https://huggingface.co/llmware/dragon-mistral-answer-tool/blob/main/config.json) in the repository for prompt wrapping information, details on the model, and full test set.
|
| 26 |
|