feat(gallery): add llama3, hermes, phi-3, and others (#2110)

Also adds embeddings and llava models

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-04-23 19:35:45 +02:00 committed by GitHub
parent d344daf129
commit 8b169f1dac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 804 additions and 229 deletions

31
gallery/phi-3-chat.yaml Normal file
View file

@ -0,0 +1,31 @@
name: "phi-3-chat"
license: mit
description: |
The Phi-3-Mini-4K-Instruct is a 3.8B parameters, lightweight, state-of-the-art open model trained with the Phi-3 datasets that includes both synthetic data and the filtered publicly available websites data with a focus on high-quality and reasoning dense properties. The model belongs to the Phi-3 family with the Mini version in two variants 4K and 128K which is the context length (in tokens) it can support. The model has underwent a post-training process that incorporates both supervised fine-tuning and direct preference optimization to ensure precise instruction adherence and robust safety measures. When assessed against benchmarks testing common sense, language understanding, math, code, long context and logical reasoning, Phi-3 Mini-4K-Instruct showcased a robust and state-of-the-art performance among models with less than 13 billion parameters.
urls:
- https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-gguf
tags:
- llm
- gguf
- gpu
- cpu
config_file: |
mmap: true
template:
chat_message: |
<|{{ .RoleName }}|>
{{.Content}}<|end|>
chat: |
{{.Input}}
<|assistant|>
completion: |
{{.Input}}
context_size: 4096
f16: true
stopwords:
- <|end|>