Spaces:
Build error
Build error
Release as a GitHub repo (#195)
Browse files* Update PRIVACY.md
* Update README.md
* mention SvelteKit in the readme
* Add banner
- PRIVACY.md +8 -5
- README.md +1 -2
- src/lib/components/chat/ChatIntroduction.svelte +10 -0
PRIVACY.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
## Privacy
|
2 |
|
3 |
-
> Last updated: May
|
4 |
|
5 |
In this `v0.1` of HuggingChat, users are not authenticated in any way, i.e. this app doesn't have access to your HF user account even if you're logged in to huggingface.co. The app is only using an anonymous session cookie. ❗️ Warning ❗️ this means if you switch browsers or clear cookies, you will currently lose your conversations.
|
6 |
|
@@ -12,7 +12,7 @@ If you disable data sharing in your settings, your conversations will not be use
|
|
12 |
|
13 |
## About available LLMs
|
14 |
|
15 |
-
The goal of this app is to showcase that it is now (
|
16 |
|
17 |
For now, it's running OpenAssistant's [latest LLaMA based model](https://huggingface.co/OpenAssistant/oasst-sft-6-llama-30b-xor) (which is one of the current best open source chat models), but the plan in the longer-term is to expose all good-quality chat models from the Hub.
|
18 |
|
@@ -20,8 +20,11 @@ We are not affiliated with Open Assistant, but if you want to contribute to the
|
|
20 |
|
21 |
## Technical details
|
22 |
|
23 |
-
This app is running in a [Space](https://huggingface.co/docs/hub/spaces-overview), which entails that the code for this UI is
|
24 |
-
|
|
|
|
|
|
|
25 |
|
26 |
It is therefore possible to deploy a copy of this app to a Space and customize it (swap model, add some UI elements, or store user messages according to your own Terms and conditions)
|
27 |
|
@@ -31,5 +34,5 @@ We welcome any feedback on this app: please participate to the public discussion
|
|
31 |
|
32 |
## Coming soon
|
33 |
|
34 |
-
- LLM watermarking
|
35 |
- User setting to share conversations with model authors (done ✅)
|
|
|
|
1 |
## Privacy
|
2 |
|
3 |
+
> Last updated: May 11th, 2023
|
4 |
|
5 |
In this `v0.1` of HuggingChat, users are not authenticated in any way, i.e. this app doesn't have access to your HF user account even if you're logged in to huggingface.co. The app is only using an anonymous session cookie. ❗️ Warning ❗️ this means if you switch browsers or clear cookies, you will currently lose your conversations.
|
6 |
|
|
|
12 |
|
13 |
## About available LLMs
|
14 |
|
15 |
+
The goal of this app is to showcase that it is now (May 2023) possible to build an open source alternative to ChatGPT. 💪
|
16 |
|
17 |
For now, it's running OpenAssistant's [latest LLaMA based model](https://huggingface.co/OpenAssistant/oasst-sft-6-llama-30b-xor) (which is one of the current best open source chat models), but the plan in the longer-term is to expose all good-quality chat models from the Hub.
|
18 |
|
|
|
20 |
|
21 |
## Technical details
|
22 |
|
23 |
+
This app is running in a [Space](https://huggingface.co/docs/hub/spaces-overview), which entails that the code for this UI is publicly visible [inside the Space repo](https://huggingface.co/spaces/huggingchat/chat-ui/tree/main).
|
24 |
+
|
25 |
+
**Further development takes place on the [huggingface/chat-ui GitHub repo](https://github.com/huggingface/chat-ui).**
|
26 |
+
|
27 |
+
The inference backend is running the optimized [text-generation-inference](https://github.com/huggingface/text-generation-inference) on HuggingFace's Inference API infrastructure.
|
28 |
|
29 |
It is therefore possible to deploy a copy of this app to a Space and customize it (swap model, add some UI elements, or store user messages according to your own Terms and conditions)
|
30 |
|
|
|
34 |
|
35 |
## Coming soon
|
36 |
|
|
|
37 |
- User setting to share conversations with model authors (done ✅)
|
38 |
+
- LLM watermarking
|
README.md
CHANGED
@@ -10,12 +10,11 @@ base_path: /chat
|
|
10 |
app_port: 3000
|
11 |
---
|
12 |
|
13 |
-
|
14 |
# Chat UI
|
15 |
|
16 |
![Chat UI repository thumbnail](https://huggingface.co/datasets/huggingface/documentation-images/raw/f038917dd40d711a72d654ab1abfc03ae9f177e6/chat-ui-repo-thumbnail.svg)
|
17 |
|
18 |
-
A chat interface using open source models, eg OpenAssistant.
|
19 |
|
20 |
## Launch
|
21 |
|
|
|
10 |
app_port: 3000
|
11 |
---
|
12 |
|
|
|
13 |
# Chat UI
|
14 |
|
15 |
![Chat UI repository thumbnail](https://huggingface.co/datasets/huggingface/documentation-images/raw/f038917dd40d711a72d654ab1abfc03ae9f177e6/chat-ui-repo-thumbnail.svg)
|
16 |
|
17 |
+
A chat interface using open source models, eg OpenAssistant. It is a SvelteKit app and it powers the [HuggingChat app on hf.co/chat](https://huggingface.co/chat).
|
18 |
|
19 |
## Launch
|
20 |
|
src/lib/components/chat/ChatIntroduction.svelte
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
import Logo from "$lib/components/icons/Logo.svelte";
|
4 |
import { createEventDispatcher } from "svelte";
|
5 |
import IconChevron from "$lib/components/icons/IconChevron.svelte";
|
|
|
|
|
6 |
import ModelsModal from "../ModelsModal.svelte";
|
7 |
import type { Model } from "$lib/types/Model";
|
8 |
import ModelCardMetadata from "../ModelCardMetadata.svelte";
|
@@ -38,6 +40,14 @@
|
|
38 |
</div>
|
39 |
</div>
|
40 |
<div class="lg:col-span-2 lg:pl-24">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
{#if isModelsModalOpen}
|
42 |
<ModelsModal {settings} {models} on:close={() => (isModelsModalOpen = false)} />
|
43 |
{/if}
|
|
|
3 |
import Logo from "$lib/components/icons/Logo.svelte";
|
4 |
import { createEventDispatcher } from "svelte";
|
5 |
import IconChevron from "$lib/components/icons/IconChevron.svelte";
|
6 |
+
import CarbonArrowUpRight from "~icons/carbon/arrow-up-right";
|
7 |
+
import AnnouncementBanner from "../AnnouncementBanner.svelte";
|
8 |
import ModelsModal from "../ModelsModal.svelte";
|
9 |
import type { Model } from "$lib/types/Model";
|
10 |
import ModelCardMetadata from "../ModelCardMetadata.svelte";
|
|
|
40 |
</div>
|
41 |
</div>
|
42 |
<div class="lg:col-span-2 lg:pl-24">
|
43 |
+
<AnnouncementBanner classNames="mb-4" title="Chat UI is now open sourced on GitHub">
|
44 |
+
<a
|
45 |
+
target="_blank"
|
46 |
+
href="https://github.com/huggingface/chat-ui"
|
47 |
+
class="mr-2 flex items-center underline hover:no-underline"
|
48 |
+
><CarbonArrowUpRight class="mr-1" /> GitHub repo</a
|
49 |
+
>
|
50 |
+
</AnnouncementBanner>
|
51 |
{#if isModelsModalOpen}
|
52 |
<ModelsModal {settings} {models} on:close={() => (isModelsModalOpen = false)} />
|
53 |
{/if}
|