Commit 33430a56 authored by liucong's avatar liucong
Browse files

修改部分文档

parent c99ee00b
Doc/Images/GPT_04.png

35.3 KB | W: | H:

Doc/Images/GPT_04.png

14.1 KB | W: | H:

Doc/Images/GPT_04.png
Doc/Images/GPT_04.png
Doc/Images/GPT_04.png
Doc/Images/GPT_04.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -8,7 +8,7 @@ GPT2主要使用Transformer的Decoder模块为特征提取器,并对Transforme
## Python版本推理
本次采用GPT-2模型进行诗词生成任务,模型文件下载链接:https://pan.baidu.com/s/1KWeoUuakCZ5dualK69qCcw , 提取码:4pmh ,并将GPT2_shici.onnx模型文件保存在model文件夹下。下面介绍如何运行python代码示例,具体推理代码解析,在Doc/Tutorial_Python目录中有详细说明。
本次采用GPT-2模型进行诗词生成任务,模型文件下载链接:https://pan.baidu.com/s/1KWeoUuakCZ5dualK69qCcw , 提取码:4pmh ,并将GPT2_shici.onnx模型文件保存在Resource/model文件夹下。下面介绍如何运行python代码示例,具体推理代码解析,在Doc/Tutorial_Python目录中有详细说明。
### 安装镜像
......
......@@ -23,7 +23,7 @@ GPT2::~GPT2()
}
ErrorCode GPT2::Initialize(InitializationParameterOfNLP initParamOfNLPGPT2)
ErrorCode GPT2::Initialize()
{
// 设置模型路径
std::string modelPath="../Resource/Models/GPT2_shici.onnx";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment