Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PALM
提交
23707ef7
P
PALM
项目概览
PaddlePaddle
/
PALM
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PALM
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
23707ef7
编写于
2月 07, 2020
作者:
X
Xiaoyao Xi
提交者:
GitHub
2月 07, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #52 from wangxiao1021/api
fix install
上级
9fe8cb18
e825103c
变更
11
显示空白变更内容
内联
并排
Showing
11 changed file
with
37 addition
and
34 deletion
+37
-34
paddlepalm/__init__.py
paddlepalm/__init__.py
+13
-13
paddlepalm/backbone/__init__.py
paddlepalm/backbone/__init__.py
+2
-2
paddlepalm/distribute/__init__.py
paddlepalm/distribute/__init__.py
+1
-1
paddlepalm/distribute/reader.py
paddlepalm/distribute/reader.py
+4
-1
paddlepalm/downloader.py
paddlepalm/downloader.py
+1
-1
paddlepalm/head/__init__.py
paddlepalm/head/__init__.py
+5
-5
paddlepalm/lr_sched/__init__.py
paddlepalm/lr_sched/__init__.py
+2
-2
paddlepalm/optimizer/__init__.py
paddlepalm/optimizer/__init__.py
+1
-1
paddlepalm/reader/__init__.py
paddlepalm/reader/__init__.py
+5
-5
paddlepalm/utils/__init__.py
paddlepalm/utils/__init__.py
+2
-2
paddlepalm/utils/basic_helper.py
paddlepalm/utils/basic_helper.py
+1
-1
未找到文件。
paddlepalm/__init__.py
浏览文件 @
23707ef7
import
downloader
from
.
import
downloader
# from mtl_controller import Controller
import
controller
import
optimizer
import
lr_sched
import
backbone
import
reader
import
head
#
import controller
from
.
import
optimizer
from
.
import
lr_sched
from
.
import
backbone
from
.
import
reader
from
.
import
head
from
trainer
import
Trainer
from
multihead_trainer
import
MultiHeadTrainer
from
.
trainer
import
Trainer
from
.
multihead_trainer
import
MultiHeadTrainer
del
interface
del
task_instance
del
default_settings
del
utils
#
del interface
#
del task_instance
#
del default_settings
#
del utils
paddlepalm/backbone/__init__.py
浏览文件 @
23707ef7
from
ernie
import
ERNIE
from
bert
import
BERT
from
.
ernie
import
ERNIE
from
.
bert
import
BERT
paddlepalm/distribute/__init__.py
浏览文件 @
23707ef7
...
...
@@ -5,5 +5,5 @@ import multiprocessing
gpu_dev_count
=
int
(
fluid
.
core
.
get_cuda_device_count
())
cpu_dev_count
=
int
(
os
.
environ
.
get
(
'CPU_NUM'
,
multiprocessing
.
cpu_count
()))
from
reader
import
yield_pieces
,
data_feeder
,
decode_fake
from
.
reader
import
yield_pieces
,
data_feeder
,
decode_fake
paddlepalm/distribute/reader.py
浏览文件 @
23707ef7
from
.
import
gpu_dev_count
,
cpu_dev_count
import
Queue
try
:
import
queue
except
ImportError
:
import
Queue
as
queue
from
threading
import
Thread
dev_count
=
gpu_dev_count
if
gpu_dev_count
>
0
else
cpu_dev_count
...
...
paddlepalm/downloader.py
浏览文件 @
23707ef7
from
_downloader
import
*
\ No newline at end of file
from
._downloader
import
*
paddlepalm/head/__init__.py
浏览文件 @
23707ef7
from
cls
import
Classify
from
match
import
Match
from
ner
import
SequenceLabel
from
mrc
import
MRC
from
mlm
import
MaskLM
from
.
cls
import
Classify
from
.
match
import
Match
from
.
ner
import
SequenceLabel
from
.
mrc
import
MRC
from
.
mlm
import
MaskLM
paddlepalm/lr_sched/__init__.py
浏览文件 @
23707ef7
from
slanted_triangular_schedualer
import
TriangularSchedualer
from
warmup_schedualer
import
WarmupSchedualer
from
.
slanted_triangular_schedualer
import
TriangularSchedualer
from
.
warmup_schedualer
import
WarmupSchedualer
paddlepalm/optimizer/__init__.py
浏览文件 @
23707ef7
from
adam
import
Adam
from
.
adam
import
Adam
paddlepalm/reader/__init__.py
浏览文件 @
23707ef7
from
cls
import
ClassifyReader
from
match
import
MatchReader
from
seq_label
import
SequenceLabelReader
from
mrc
import
MRCReader
from
mlm
import
MaskLMReader
from
.
cls
import
ClassifyReader
from
.
match
import
MatchReader
from
.
seq_label
import
SequenceLabelReader
from
.
mrc
import
MRCReader
from
.
mlm
import
MaskLMReader
paddlepalm/utils/__init__.py
浏览文件 @
23707ef7
import
basic_helper
import
config_helper
from
.
import
basic_helper
from
.
import
config_helper
paddlepalm/utils/basic_helper.py
浏览文件 @
23707ef7
...
...
@@ -2,7 +2,7 @@
import
os
import
json
import
yaml
from
config_helper
import
PDConfig
from
.
config_helper
import
PDConfig
import
logging
from
paddle
import
fluid
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录