Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
update decode task data link and checksum (#3749)
Browse files Browse the repository at this point in the history
* update decode task data link and checksum

* bump version

* bump version

* cleaner
  • Loading branch information
meganung authored Jun 25, 2021
1 parent a88a179 commit 6e3eb3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions parlai/tasks/decode/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from parlai.utils.io import PathManager
from parlai.core.teachers import DialogTeacher

from .build import build, DECODE, DECODE_PREFIX, DECODE_VERSION
from .build import build, DECODE, DECODE_PREFIX, DECODE_FOLDER_VERSION


def _path(opt, test_type):
Expand All @@ -32,7 +32,7 @@ def _path(opt, test_type):
raise RuntimeError('Not valid datatype.')

data_directory = os.path.join(
opt['datapath'], DECODE, DECODE_PREFIX + DECODE_VERSION
opt['datapath'], DECODE, DECODE_PREFIX + DECODE_FOLDER_VERSION
)

data_path = os.path.join(data_directory, suffix + '.jsonl')
Expand Down
6 changes: 3 additions & 3 deletions parlai/tasks/decode/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

DECODE = 'decode'
DECODE_PREFIX = 'decode_'
DECODE_VERSION = 'v0.1'
DECODE_VERSION = 'v0.1.1'
DECODE_FOLDER_VERSION = 'v0.1'


RESOURCES = [
DownloadableFile(
'https://sharenlpfile-01.s3.amazonaws.com/data/decode_v0.1.zip',
'http://parl.ai/downloads/decode/decode_v0.1.zip',
'decode_v0.1.zip',
# '0badc03c41813ae9748f259370ce655e576d736fea2d084dd6a786ac59f2f2a1',
'084aab98652a04ce4a78c1a63d91575f5ab416a0c474b962ca1f4508a56b7484',
True,
False,
Expand Down

0 comments on commit 6e3eb3f

Please sign in to comment.