julien-c HF staff coyotte508 HF staff osanseviero commited on
Commit
97b65ef
1 Parent(s): c67d260

`/privacy` page, rendered from markdown (#100)

Browse files

* /privacy from markdown

* improve style...

* ♻️ Simpler loading of PRIVACY.md

* improve style

* Better formatting

* 💄 Better scrolling

* 🔥 Remove file committed by mistake

* Apply suggestions from code review

Co-authored-by: Omar Sanseviero <[email protected]>

---------

Co-authored-by: coyotte508 <[email protected]>
Co-authored-by: Omar Sanseviero <[email protected]>

PRIVACY.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## Privacy & About this app
2
+
3
+ In this `v0` of HuggingChat, we only store messages to display them to the user, not for any other usage (including for research or model training purposes).
4
+
5
+ Please note that in `v0`, 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
+
7
+ In a future version, we are considering exposing a setting for users to share their conversations with the model authors (here OpenAssistant) to improve their training data and their model over time. In other terms, model authors are the custodians of the data collected by their model, even if it's hosted on our platform.
8
+
9
+ ### About available LLMs
10
+
11
+ The goal of this app is to showcase that it is now (April 2023) possible to build an open source alternative to ChatGPT. 💪
12
+
13
+ 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.
14
+
15
+ ### Technical details
16
+
17
+ 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.
18
+ The inference backend is running [text-generation-inference](https://github.com/huggingface/text-generation-inference) on HuggingFace's Inference API infrastructure.
19
+
20
+ 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)
21
+
22
+ We welcome any feedback on this app: please participate to the public discussion at https://huggingface.co/spaces/huggingchat/chat-ui/discussions
23
+
24
+ [![open a discussion](https://huggingface.co/datasets/huggingface/badges/raw/main/share-to-community-xl.svg)](https://huggingface.co/spaces/huggingchat/chat-ui/discussions)
25
+
26
+ ### Coming soon
27
+
28
+ - LLM watermarking
29
+ - user setting to share conversations with model authors.
src/lib/components/NavMenu.svelte CHANGED
@@ -89,7 +89,7 @@
89
  Feedback
90
  </a>
91
  <a
92
- href={base}
93
  class="group pl-3 pr-2 h-9 rounded-lg flex-none text-gray-500 dark:text-gray-400 dark:hover:bg-gray-700 flex items-center gap-1.5 hover:bg-gray-100"
94
  >
95
  Privacy
 
89
  Feedback
90
  </a>
91
  <a
92
+ href="{base}/privacy"
93
  class="group pl-3 pr-2 h-9 rounded-lg flex-none text-gray-500 dark:text-gray-400 dark:hover:bg-gray-700 flex items-center gap-1.5 hover:bg-gray-100"
94
  >
95
  Privacy
src/routes/privacy/+page.svelte ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import { marked } from "marked";
3
+ import privacy from "../../../PRIVACY.md?raw";
4
+ </script>
5
+
6
+ <div class="my-6 overflow-auto">
7
+ <div class="mx-auto pt-12 prose">
8
+ <h1>Hello</h1>
9
+ {@html marked(privacy, { gfm: true })}
10
+ </div>
11
+ </div>