julien-c HF staff commited on
Commit
0fe4fa3
β€’
1 Parent(s): 9dccef9

Release as a GitHub repo (#195)

Browse files

* Update PRIVACY.md

* Update README.md

* mention SvelteKit in the readme

* Add banner

PRIVACY.md CHANGED
@@ -1,6 +1,6 @@
1
  ## Privacy
2
 
3
- > Last updated: May 2nd, 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,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 (April 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,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 open source: https://huggingface.co/spaces/huggingchat/chat-ui/tree/main.
24
- The inference backend is running [text-generation-inference](https://github.com/huggingface/text-generation-inference) on HuggingFace's Inference API infrastructure.
 
 
 
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}