Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
曾经的那一瞬间
Models
提交
7094ee98
M
Models
项目概览
曾经的那一瞬间
/
Models
大约 1 年 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
Models
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7094ee98
编写于
1月 04, 2022
作者:
F
Frederick Liu
提交者:
A. Unique TensorFlower
1月 04, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[refactor] Move tn_bert/triviaqa from nlp/projects to official/projects
PiperOrigin-RevId: 419617646
上级
9f3443f9
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
13 addition
and
13 deletion
+13
-13
official/projects/tn_bert/README.md
official/projects/tn_bert/README.md
+0
-0
official/projects/triviaqa/__init__.py
official/projects/triviaqa/__init__.py
+0
-0
official/projects/triviaqa/dataset.py
official/projects/triviaqa/dataset.py
+1
-1
official/projects/triviaqa/download_and_prepare.py
official/projects/triviaqa/download_and_prepare.py
+1
-1
official/projects/triviaqa/evaluate.py
official/projects/triviaqa/evaluate.py
+1
-1
official/projects/triviaqa/evaluation.py
official/projects/triviaqa/evaluation.py
+0
-0
official/projects/triviaqa/inputs.py
official/projects/triviaqa/inputs.py
+1
-1
official/projects/triviaqa/modeling.py
official/projects/triviaqa/modeling.py
+0
-0
official/projects/triviaqa/predict.py
official/projects/triviaqa/predict.py
+3
-3
official/projects/triviaqa/prediction.py
official/projects/triviaqa/prediction.py
+0
-0
official/projects/triviaqa/preprocess.py
official/projects/triviaqa/preprocess.py
+2
-2
official/projects/triviaqa/sentencepiece_pb2.py
official/projects/triviaqa/sentencepiece_pb2.py
+0
-0
official/projects/triviaqa/train.py
official/projects/triviaqa/train.py
+4
-4
未找到文件。
official/
nlp/
projects/tn_bert/README.md
→
official/projects/tn_bert/README.md
浏览文件 @
7094ee98
文件已移动
official/
nlp/
projects/triviaqa/__init__.py
→
official/projects/triviaqa/__init__.py
浏览文件 @
7094ee98
文件已移动
official/
nlp/
projects/triviaqa/dataset.py
→
official/projects/triviaqa/dataset.py
浏览文件 @
7094ee98
...
...
@@ -23,7 +23,7 @@ import six
import
tensorflow
as
tf
import
tensorflow_datasets.public_api
as
tfds
from
official.
nlp.
projects.triviaqa
import
preprocess
from
official.projects.triviaqa
import
preprocess
_CITATION
=
"""
@article{2017arXivtriviaqa,
...
...
official/
nlp/
projects/triviaqa/download_and_prepare.py
→
official/projects/triviaqa/download_and_prepare.py
浏览文件 @
7094ee98
...
...
@@ -21,7 +21,7 @@ from absl import logging
import
apache_beam
as
beam
import
tensorflow_datasets
as
tfds
from
official.
nlp.
projects.triviaqa
import
dataset
# pylint: disable=unused-import
from
official.projects.triviaqa
import
dataset
# pylint: disable=unused-import
flags
.
DEFINE_integer
(
'sequence_length'
,
4096
,
'Max number of tokens.'
)
...
...
official/
nlp/
projects/triviaqa/evaluate.py
→
official/projects/triviaqa/evaluate.py
浏览文件 @
7094ee98
...
...
@@ -20,7 +20,7 @@ from absl import flags
from
absl
import
logging
import
tensorflow
as
tf
from
official.
nlp.
projects.triviaqa
import
evaluation
from
official.projects.triviaqa
import
evaluation
flags
.
DEFINE_string
(
'gold_path'
,
None
,
'Path to golden validation, i.e. wikipedia-dev.json.'
)
...
...
official/
nlp/
projects/triviaqa/evaluation.py
→
official/projects/triviaqa/evaluation.py
浏览文件 @
7094ee98
文件已移动
official/
nlp/
projects/triviaqa/inputs.py
→
official/projects/triviaqa/inputs.py
浏览文件 @
7094ee98
...
...
@@ -20,7 +20,7 @@ import tensorflow as tf
import
tensorflow_datasets
as
tfds
from
official.modeling
import
tf_utils
from
official.
nlp.
projects.triviaqa
import
dataset
# pylint: disable=unused-import
from
official.projects.triviaqa
import
dataset
# pylint: disable=unused-import
def
_flatten_dims
(
tensor
:
tf
.
Tensor
,
...
...
official/
nlp/
projects/triviaqa/modeling.py
→
official/projects/triviaqa/modeling.py
浏览文件 @
7094ee98
文件已移动
official/
nlp/
projects/triviaqa/predict.py
→
official/projects/triviaqa/predict.py
浏览文件 @
7094ee98
...
...
@@ -27,9 +27,9 @@ import tensorflow_datasets as tfds
import
sentencepiece
as
spm
from
official.nlp.configs
import
encoders
# pylint: disable=unused-import
from
official.
nlp.
projects.triviaqa
import
evaluation
from
official.
nlp.
projects.triviaqa
import
inputs
from
official.
nlp.
projects.triviaqa
import
prediction
from
official.projects.triviaqa
import
evaluation
from
official.projects.triviaqa
import
inputs
from
official.projects.triviaqa
import
prediction
flags
.
DEFINE_string
(
'data_dir'
,
None
,
'TensorFlow Datasets directory.'
)
...
...
official/
nlp/
projects/triviaqa/prediction.py
→
official/projects/triviaqa/prediction.py
浏览文件 @
7094ee98
文件已移动
official/
nlp/
projects/triviaqa/preprocess.py
→
official/projects/triviaqa/preprocess.py
浏览文件 @
7094ee98
...
...
@@ -30,8 +30,8 @@ import numpy as np
import
tensorflow.io.gfile
as
gfile
import
sentencepiece
as
spm
from
official.
nlp.
projects.triviaqa
import
evaluation
from
official.
nlp.
projects.triviaqa
import
sentencepiece_pb2
from
official.projects.triviaqa
import
evaluation
from
official.projects.triviaqa
import
sentencepiece_pb2
@
dataclasses
.
dataclass
...
...
official/
nlp/
projects/triviaqa/sentencepiece_pb2.py
→
official/projects/triviaqa/sentencepiece_pb2.py
浏览文件 @
7094ee98
文件已移动
official/
nlp/
projects/triviaqa/train.py
→
official/projects/triviaqa/train.py
浏览文件 @
7094ee98
...
...
@@ -30,10 +30,10 @@ import tensorflow_datasets as tfds
import
sentencepiece
as
spm
from
official.nlp
import
optimization
as
nlp_optimization
from
official.nlp.configs
import
encoders
from
official.
nlp.
projects.triviaqa
import
evaluation
from
official.
nlp.
projects.triviaqa
import
inputs
from
official.
nlp.
projects.triviaqa
import
modeling
from
official.
nlp.
projects.triviaqa
import
prediction
from
official.projects.triviaqa
import
evaluation
from
official.projects.triviaqa
import
inputs
from
official.projects.triviaqa
import
modeling
from
official.projects.triviaqa
import
prediction
flags
.
DEFINE_string
(
'data_dir'
,
None
,
'Data directory for TensorFlow Datasets.'
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录