-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Xicheng Guo
committed
Apr 16, 2024
1 parent
c9c9d7b
commit c91c0bf
Showing
5 changed files
with
100 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# AI 专业术语概念 | ||
|
||
## Generative Al(Gen AI) | ||
|
||
生成型人工智能,是人工智能领域的一个分支,专注于创造新的内容,如图像、音乐、文本等。这些内容可以与人类创作的内容相媲美,甚至无法区分。 | ||
|
||
## Prompt | ||
|
||
提示词,是指输入到模型的初始信息或指令,用于引导模型生成特定的输出内容。 | ||
|
||
## Prompt Engineering | ||
|
||
提示工程,是指设计和调整提示,以引导模型生成特定的输出内容。 | ||
|
||
## Prompt Injection | ||
|
||
提示词注入攻击,是一种针对生成型人工智能模型的攻击方式,通过在输入中注入提示词,使模型生成特定的输出内容。 | ||
|
||
## Agent | ||
|
||
Agent 是一种以人工智能技术为基础的软件程序,可以代表用户执行特定的任务。 | ||
|
||
## AI hallucination | ||
|
||
AI 幻觉,是指人工智能模型生成的内容与现实世界不符,或者没有实际意义。 | ||
|
||
## Chain of Thought (CoT) | ||
|
||
思维链,是一种基于提示工程的人工智能模型,可以生成连贯的文本内容。 | ||
|
||
## Context Window | ||
|
||
上下文窗口,是指模型在生成文本时考虑的上下文范围。 | ||
|
||
## Embedding | ||
|
||
嵌入,是指将文本、图像等数据映射到低维空间的过程。 | ||
|
||
## Retrieval | ||
|
||
检索,是指从数据库中检索相关信息的过程。 | ||
|
||
## Inference | ||
|
||
推理,是指从已知事实推导出新的结论的过程。 | ||
|
||
## Fine-Tuning | ||
|
||
微调,是指在预训练模型的基础上,通过少量数据进行训练,以适应特定任务。 | ||
|
||
## LangChain | ||
|
||
LangChain 是一种基于提示工程的人工智能模型,可以生成连贯的文本内容。 | ||
|
||
## Large Language Model(LLM) | ||
|
||
大型语言模型,是指参数量较大的语言模型,通常具有更好的生成能力。 | ||
|
||
## Multimodal Model | ||
|
||
多模态模型,是指可以处理多种数据类型(如文本、图像、音频等)的人工智能模型。 | ||
|
||
## zero-shot | ||
|
||
zere-shot 是指训练模型在没有直接接触到某些特定任务或类别的样板的情况下,依然能够识别和处理这些新任务的能力。 | ||
|
||
## few-shot | ||
|
||
few-shot 是指只有在少量样本的情况下,模型就能够学习到新任务的能力。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# children | ||
|
||
## 什么是 children | ||
|
||
`children` 是一个特殊的 prop,它允许将组件作为数据传递到其他组件。 | ||
|
||
## 基本用法 | ||
|
||
`props.children`可以是任意的 JSX 元素,包括原始值、React 元素、函数、组件等。 | ||
|
||
::: code-group | ||
|
||
<<< @/../projects/react-sandbox/src/pages/children-demo/ChildrenOriginalValue.tsx [原始值] | ||
|
||
<<< @/../projects/react-sandbox/src/pages/children-demo/ChildrenReactElement.tsx [React 元素] | ||
|
||
<<< @/../projects/react-sandbox/src/pages/children-demo/ChildrenFunction.tsx [函数] | ||
|
||
<<< @/../projects/react-sandbox/src/pages/children-demo/ChildrenComponent.tsx [组件] | ||
|
||
::: | ||
|
||
## 传递多个具名的子组件 | ||
|
||
<<< @/../projects/react-sandbox/src/pages/children-demo/ChildrenMultiple.tsx |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters