Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
X2Paddle
提交
aafa197e
X
X2Paddle
项目概览
PaddlePaddle
/
X2Paddle
大约 1 年 前同步成功
通知
328
Star
698
Fork
167
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
26
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
X2Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
26
Issue
26
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
aafa197e
编写于
6月 30, 2022
作者:
W
wjj19950828
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rm useless info
上级
32d5c55c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
14 addition
and
14 deletion
+14
-14
docs/inference_model_convertor/toolkits/HuggingFace2paddle.md
.../inference_model_convertor/toolkits/HuggingFace2paddle.md
+14
-14
未找到文件。
docs/inference_model_convertor/toolkits/HuggingFace2paddle.md
浏览文件 @
aafa197e
# HuggingFace 模型
导出
为 Paddle 模型教程
# HuggingFace 模型
转换
为 Paddle 模型教程
X2Paddle 新增对 HuggingFace 模型支持,目前模型支持的列表如下
X2Paddle 新增对 HuggingFace 模型支持,
TorchScript 支持55+模型,ONNX 支持40+模型,
目前模型支持的列表如下
## TorchScript
...
...
@@ -31,19 +31,19 @@ Notes:
<font
size=
0.5
>
| |
<font
size=
2
>
CausalLM |
<font
size=
2
>
MaskedLM |
<font
size=
2
>
Seq2SeqLM |
<font
size=
2
>
SequenceClassification |
<font
size=
2
>
MultipleChoice |
<font
size=
2
>
NextSentencePrediction |
<font
size=
2
>
TokenClassification |
<font
size=
2
>
QuestionAnswering |
<font
size=
2
>
AudioClassification
|
| |
<font
size=
2
>
CausalLM |
<font
size=
2
>
MaskedLM |
<font
size=
2
>
Seq2SeqLM |
<font
size=
2
>
SequenceClassification |
<font
size=
2
>
TokenClassification |
<font
size=
2
>
QuestionAnswering
|
|---|---|---|---|---|---|---|---|---|---|
|
<font
size=
2
>
[
BERT
](
https://huggingface.co/docs/transformers/main/model_doc/bert#transformers.BertModel
)
|✅ | ✅ | None |✅|
None|None|✅|✅|None
|
|
<font
size=
2
>
[
RoBERTa
](
https://huggingface.co/docs/transformers/main/model_doc/roberta#transformers.RobertaModel
)
|✅ |✅ | None |✅|
None| None |✅|✅| None
|
|
<font
size=
2
>
[
T5
](
https://huggingface.co/docs/transformers/main/model_doc/t5#transformers.T5Model
)
| None | None |✅|None|None|None|
None|None|None|
|
<font
size=
2
>
[
GPT2
](
https://huggingface.co/docs/transformers/main/model_doc/gpt2#transformers.GPT2Model
)
|✅ | None |None|✅|
None|None|✅|None
|None|
|
<font
size=
2
>
[
MarianMT
](
https://huggingface.co/docs/transformers/main/model_doc/marian#transformers.MarianModel
)
|✅ | None |✅|None|None|None|
None|None|None|
|
<font
size=
2
>
[
ELECTRA
](
https://huggingface.co/docs/transformers/main/model_doc/electra#transformers.ElectraModel
)
| None | ✅ |None|✅|
None|None|✅|✅|None
|
|
<font
size=
2
>
[
DistilBERT
](
https://huggingface.co/docs/transformers/main/model_doc/distilbert#transformers.DistilBertModel
)
|None | ✅ |None|✅|
None|None|✅|✅|None
|
|
<font
size=
2
>
[
BART
](
https://huggingface.co/docs/transformers/main/model_doc/bart#transformers.BartModel
)
|✅ |None |✅|✅|None|
None|None|✅|None
|
|
<font
size=
2
>
[
XLM-RoBERTa
](
https://huggingface.co/docs/transformers/main/model_doc/xlm-roberta#transformers.XLMRobertaModel
)
|✅ |✅ | None |✅|
None|None|✅|✅|None
|
|
<font
size=
2
>
[
ALBERT
](
https://huggingface.co/docs/transformers/main/model_doc/albert#transformers.AlbertModel
)
|None | ✅ |None|✅|
None|None|✅|✅|None
|
|
<font
size=
2
>
[
LayoutLM
](
https://huggingface.co/docs/transformers/main/model_doc/layoutlm#transformers.LayoutLMModel
)
|None | ✅ |None|✅|
None|None|✅|None
|None|
|
<font
size=
2
>
[
BERT
](
https://huggingface.co/docs/transformers/main/model_doc/bert#transformers.BertModel
)
|✅ | ✅ | None |✅|
✅|✅
|
|
<font
size=
2
>
[
RoBERTa
](
https://huggingface.co/docs/transformers/main/model_doc/roberta#transformers.RobertaModel
)
|✅ |✅ | None |✅|
✅|✅
|
|
<font
size=
2
>
[
T5
](
https://huggingface.co/docs/transformers/main/model_doc/t5#transformers.T5Model
)
| None | None |✅|None|None|None|
|
<font
size=
2
>
[
GPT2
](
https://huggingface.co/docs/transformers/main/model_doc/gpt2#transformers.GPT2Model
)
|✅ | None |None|✅|
✅
|None|
|
<font
size=
2
>
[
MarianMT
](
https://huggingface.co/docs/transformers/main/model_doc/marian#transformers.MarianModel
)
|✅ | None |✅|None|None|None|
|
<font
size=
2
>
[
ELECTRA
](
https://huggingface.co/docs/transformers/main/model_doc/electra#transformers.ElectraModel
)
| None | ✅ |None|✅|
✅|✅
|
|
<font
size=
2
>
[
DistilBERT
](
https://huggingface.co/docs/transformers/main/model_doc/distilbert#transformers.DistilBertModel
)
|None | ✅ |None|✅|
✅|✅
|
|
<font
size=
2
>
[
BART
](
https://huggingface.co/docs/transformers/main/model_doc/bart#transformers.BartModel
)
|✅ |None |✅|✅|None|
✅
|
|
<font
size=
2
>
[
XLM-RoBERTa
](
https://huggingface.co/docs/transformers/main/model_doc/xlm-roberta#transformers.XLMRobertaModel
)
|✅ |✅ | None |✅|
✅|✅
|
|
<font
size=
2
>
[
ALBERT
](
https://huggingface.co/docs/transformers/main/model_doc/albert#transformers.AlbertModel
)
|None | ✅ |None|✅|
✅|✅
|
|
<font
size=
2
>
[
LayoutLM
](
https://huggingface.co/docs/transformers/main/model_doc/layoutlm#transformers.LayoutLMModel
)
|None | ✅ |None|✅|
✅
|None|
Notes:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录