Correct model name and model id (#92)
Browse files* Update model name & model id
* Facultative commit
cc @gary149
Files changed (3)
6 unmodified lines7891011121314156 unmodified linesSHARE_BASE_URL=#https://hf.co/chatCOOKIE_NAME=hf-chatPUBLIC_MODEL_ENDPOINT=https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-1-pythia-12bPUBLIC_MODEL_NAME=OpenAssistant/oasst-sft-1-pythia-12bPUBLIC_MODEL_TAGLINE=This is the first iteration English supervised-fine-tuning (SFT) model of the <a class="underline" href="https://github.com/LAION-AI/Open-Assistant">Open-Assistant</a> project. It is based on a Pythia 12B that was fine-tuned on ~22k human demonstrations of assistant conversations collected through the <a class="underline" href="https://open-assistant.io/">https://open-assistant.io/</a> human feedback web app before March 7, 2023.PUBLIC_DISABLE_INTRO_TILES=falsePUBLIC_USER_MESSAGE_TOKEN=<|prompter|>PUBLIC_ASSISTANT_MESSAGE_TOKEN=<|assistant|>6 unmodified lines7891011121314156 unmodified linesSHARE_BASE_URL=#https://hf.co/chatCOOKIE_NAME=hf-chatPUBLIC_MODEL_ENDPOINT=https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-6-llama-30bPUBLIC_MODEL_NAME=OpenAssistant/oasst-sft-6-llama-30b # public facing linkPUBLIC_MODEL_ID=OpenAssistant/oasst-sft-6-llama-30b-xor # used to link to model pagePUBLIC_DISABLE_INTRO_TILES=falsePUBLIC_USER_MESSAGE_TOKEN=<|prompter|>PUBLIC_ASSISTANT_MESSAGE_TOKEN=<|assistant|>
1234530 unmodified lines36373839404142<script lang="ts">import { PUBLIC_DISABLE_INTRO_TILES, PUBLIC_MODEL_NAME } from "$env/static/public";import Logo from "$lib/components/icons/Logo.svelte";import CarbonArrowUpRight from "~icons/carbon/arrow-up-right";30 unmodified linesclass="flex items-center gap-5 px-3 py-2 bg-gray-100 rounded-xl text-sm text-gray-600 dark:text-gray-300 dark:bg-gray-800"><ahref="https://huggingface.co/{PUBLIC_MODEL_NAME}"target="_blank"rel="noreferrer"class="flex items-center hover:underline"12345678930 unmodified lines40414243444546<script lang="ts">import {PUBLIC_DISABLE_INTRO_TILES,PUBLIC_MODEL_ID,PUBLIC_MODEL_NAME,} from "$env/static/public";import Logo from "$lib/components/icons/Logo.svelte";import CarbonArrowUpRight from "~icons/carbon/arrow-up-right";30 unmodified linesclass="flex items-center gap-5 px-3 py-2 bg-gray-100 rounded-xl text-sm text-gray-600 dark:text-gray-300 dark:bg-gray-800"><ahref="https://huggingface.co/{PUBLIC_MODEL_ID}"target="_blank"rel="noreferrer"class="flex items-center hover:underline"
6 unmodified lines7891011121331 unmodified lines45464748495051526 unmodified linesimport ChatMessages from "./ChatMessages.svelte";import ChatInput from "./ChatInput.svelte";import CarbonExport from "~icons/carbon/export";import { PUBLIC_MODEL_NAME } from "$env/static/public";export let messages: Message[] = [];export let disabled: boolean = false;31 unmodified lines</form><div class="flex text-xs text-gray-400/90 mt-2 justify-between self-stretch px-1 max-sm:gap-2"><p>Model: {PUBLIC_MODEL_NAME} <span class="max-sm:hidden">·</span><br class="sm:hidden" /> Generatedcontent may be inaccurate or false.</p>{#if messages.length}<button6 unmodified lines7891011121331 unmodified lines454647484950515253545556576 unmodified linesimport ChatMessages from "./ChatMessages.svelte";import ChatInput from "./ChatInput.svelte";import CarbonExport from "~icons/carbon/export";import { PUBLIC_MODEL_ID, PUBLIC_MODEL_NAME } from "$env/static/public";export let messages: Message[] = [];export let disabled: boolean = false;31 unmodified lines</form><div class="flex text-xs text-gray-400/90 mt-2 justify-between self-stretch px-1 max-sm:gap-2"><p>Model: <ahref="https://huggingface.co/{PUBLIC_MODEL_ID}"target="_blank"rel="noreferrer"class="hover:underline">{PUBLIC_MODEL_NAME}</a> <span class="max-sm:hidden">·</span><br class="sm:hidden" /> Generated content may be inaccurateor false.</p>{#if messages.length}<button
.env+3-3
src/lib/components/chat/ChatIntroduction.svelte+6-2
src/lib/components/chat/ChatWindow.svelte+8-3