This commit is contained in:
josc146 2023-05-06 21:32:14 +08:00
parent ac3e34e1d8
commit fbeee1917c
3 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ export const Configs: FC = () => {
<ToolTipButton desc="Manage Models" icon={<DataUsageSettings20Regular/>}/> <ToolTipButton desc="Manage Models" icon={<DataUsageSettings20Regular/>}/>
</div> </div>
}/> }/>
<div/> <ToolTipButton text="Convert" desc="Convert model with these configs"/>
<Labeled label="Device" content={ <Labeled label="Device" content={
<Dropdown style={{minWidth: 0}} className="grow"> <Dropdown style={{minWidth: 0}} className="grow">
<Option>CPU</Option> <Option>CPU</Option>

View File

@ -58,7 +58,7 @@ export const Home: FC = () => {
<img className="rounded-xl select-none hidden sm:block" src={Banner}/> <img className="rounded-xl select-none hidden sm:block" src={Banner}/>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">
<Text size={600} weight="medium">Introduction</Text> <Text size={600} weight="medium">Introduction</Text>
<div className="h-40 overflow-y-auto"> <div className="h-40 overflow-y-auto p-1">
RWKV is an RNN with Transformer-level LLM performance, which can also be directly trained like a GPT RWKV is an RNN with Transformer-level LLM performance, which can also be directly trained like a GPT
transformer (parallelizable). And it's 100% attention-free. You only need the hidden state at position t to transformer (parallelizable). And it's 100% attention-free. You only need the hidden state at position t to
compute the state at position t+1. You can use the "GPT" mode to quickly compute the hidden state for the compute the state at position t+1. You can use the "GPT" mode to quickly compute the hidden state for the

View File

@ -1,10 +1,10 @@
import React, {FC, ReactElement} from 'react'; import React, {FC, ReactElement} from 'react';
import {Button, Tooltip} from '@fluentui/react-components'; import {Button, Tooltip} from '@fluentui/react-components';
export const ToolTipButton: FC<{ desc: string, icon: ReactElement }> = ({desc, icon}) => { export const ToolTipButton: FC<{ text?: string, desc: string, icon?: ReactElement }> = ({text, desc, icon}) => {
return ( return (
<Tooltip content={desc} showDelay={0} hideDelay={0} relationship="label"> <Tooltip content={desc} showDelay={0} hideDelay={0} relationship="label">
<Button icon={icon}/> <Button icon={icon}>{text}</Button>
</Tooltip> </Tooltip>
); );
}; };