Skip to content

Commit

Permalink
example 1 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
saransh-mehta committed Jun 10, 2020
1 parent b694609 commit 4c8d04f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/intent_ner_fragment/tasks_file_snips.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ intent:
loss_type: CrossEntropyLoss
task_type: SingleSenClassification
file_names:
- int_snips_train.tsv
- int_snips_dev.tsv
- int_snips_test.tsv
- intent_snips_train.tsv
- intent_snips_dev.tsv
- intent_snips_test.tsv


fragdetect:
Expand Down
2 changes: 1 addition & 1 deletion utils/tranform_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def create_fragment_detection_tsv(dataDir, readFile, wrtDir, transParamDict, isT
# saving
print('writing fragment file for {} at {}'.format(readFile, wrtDir))

finalDf.to_csv(os.path.join(wrtDir, 'frag_{}.tsv'.format(readFile.split('.')[0])), sep='\t',
finalDf.to_csv(os.path.join(wrtDir, 'fragment_{}.tsv'.format(readFile.split('.')[0])), sep='\t',
index=False, header=False)

def msmarco_query_type_to_tsv(dataDir, readFile, wrtDir, transParamDict, isTrainFile=False):
Expand Down

0 comments on commit 4c8d04f

Please sign in to comment.