Compare commits

..

No commits in common. "main" and "v4.2" have entirely different histories.
main ... v4.2

5 changed files with 22 additions and 28 deletions

View file

@ -8,7 +8,7 @@ A frontend for large language models like [🐨 Koala](https://bair.berkeley.edu
- Python 3.10 - Python 3.10
- The pip packages listed in `requirements.txt` - The pip packages listed in `requirements.txt`
- An AI model in the ggml format (should be quantized) - A Koala model in the ggml format (should be quantized)
For memory and disk requirements for the different models, see [llama.cpp - Memory/Disk Requirements](https://github.com/ggerganov/llama.cpp#memorydisk-requirements) For memory and disk requirements for the different models, see [llama.cpp - Memory/Disk Requirements](https://github.com/ggerganov/llama.cpp#memorydisk-requirements)

View file

@ -11,7 +11,6 @@
--icon-button-fill: #ffffff; --icon-button-fill: #ffffff;
--send-icon-button-fill: #29c76d; --send-icon-button-fill: #29c76d;
--color: #fafafa; --color: #fafafa;
--color2: #bbbbbb;
--border-radius: .5rem; --border-radius: .5rem;
} }
@ -70,38 +69,20 @@ input[type="number"] {
} }
.messages { .messages {
gap: 1rem; gap: 1.1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
overflow-y: scroll; overflow-y: scroll;
max-height: 89vh; max-height: 89vh;
align-items: center;
flex-grow: 2;
} }
.message { .message {
display: flex; display: flex;
flex-direction: column; flex-direction: row;
flex-wrap: wrap; gap: .5rem;
gap: 1rem; padding: .5rem;
}
.message-type {
color: var(--color2);
text-align: center;
}
.message-text {
white-space: pre-wrap;
padding: .5rem .8rem;
border-radius: var(--border-radius); border-radius: var(--border-radius);
} max-width: fit-content;
white-space: pre-wrap;
.message-bg-assistant > .message-text {
background: var(--background2);
}
.message-bg-user > .message-text {
background: var(--background3);
} }
button { button {
@ -134,6 +115,19 @@ button:hover {
width: 100%; width: 100%;
} }
.message-bg-assistant {
background: var(--background2);
}
.message-bg-user {
background: var(--background3);
}
.message-type {
min-width: 3.5rem;
padding-left: .1rem;
}
.input-container { .input-container {
margin-top: auto; margin-top: auto;
flex-direction: row; flex-direction: row;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 117 KiB

Before After
Before After

View file

@ -1,5 +1,5 @@
{ {
"name": "Vicuna v0", "name": "Vicuna",
"conversation_prefix": "A chat between a curious human and a helpful AI assistant.\n\n", "conversation_prefix": "A chat between a curious human and a helpful AI assistant.\n\n",
"user_keyword": "### Human:", "user_keyword": "### Human:",
"assistant_keyword": "### Assistant:", "assistant_keyword": "### Assistant:",

View file

@ -1,5 +1,5 @@
{ {
"name": "Vicuna v1.1", "name": "Vicuna",
"conversation_prefix": "A chat between a curious user and a helpful AI assistant.\n\n", "conversation_prefix": "A chat between a curious user and a helpful AI assistant.\n\n",
"user_keyword": "USER:", "user_keyword": "USER:",
"assistant_keyword": "ASSISTANT:", "assistant_keyword": "ASSISTANT:",