Downloads · 30 days
96
7% of all-time downloads
llmware/dragon-llama-answer-tool
dragon-llama-answer-tool is a machine learning model from llmware. 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 llama2.
dragon-llama-answer-tool is a quantized version of DRAGON Llama 7B, with 4KM GGUF quantization, providing a fast, small inference implementation for use on CPUs.
Downloads · 30 days
96
7% of all-time downloads
All-time downloads
1.4K
Public
Repo size
4.1 GB
Likes
5
Public
Click a slice to open those files.
.gguf4.1 GB · 100%
From the Hugging Face model README
dragon-llama-answer-tool is a quantized version of DRAGON Llama 7B, with 4_K_M GGUF quantization, providing a fast, small inference implementation for use on CPUs.
dragon-llama-7b is a fact-based question-answering model, optimized for complex business documents.
To pull the model via API:
from huggingface_hub import snapshot_download
snapshot_download("llmware/dragon-llama-answer-tool", local_dir="/path/on/your/machine/", local_dir_use_symlinks=False)
Load in your favorite GGUF inference engine, or try with llmware as follows:
from llmware.models import ModelCatalog
model = ModelCatalog().load_model("dragon-llama-answer-tool")
response = model.inference(query, add_context=text_sample)
Note: please review config.json in the repository for prompt wrapping information, details on the model, and full test set.
Darren Oberst & llmware team