Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Data adder for data pack#896

Merged
hepengfe merged 22 commits intoasyml:masterfrom
hepengfe:data_adder
Aug 26, 2022
Merged

Data adder for data pack#896
hepengfe merged 22 commits intoasyml:masterfrom
hepengfe:data_adder

Conversation

@hepengfe
Copy link
Collaborator

This PR fixes #895

Description of changes

  • function add_text to add text into DataPack
  • function add_audio to add audio into DataPack

Possible influences of this PR.

Describe what are the possible side-effects of the code change.

Test Conducted

Describe what test cases are included for the PR.

@codecov
Copy link

codecov bot commented Aug 17, 2022

Codecov Report

Merging #896 (220770a) into master (6b29ed2) will decrease coverage by 0.02%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #896      +/-   ##
==========================================
- Coverage   80.88%   80.85%   -0.03%     
==========================================
  Files         254      254              
  Lines       19599    19607       +8     
==========================================
+ Hits        15852    15854       +2     
- Misses       3747     3753       +6     
Impacted Files Coverage Δ
forte/data/data_pack.py 85.09% <50.00%> (-0.81%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hepengfe hepengfe marked this pull request as ready for review August 18, 2022 00:11
@hepengfe hepengfe requested a review from mylibrar August 18, 2022 00:12
@hepengfe hepengfe self-assigned this Aug 18, 2022
@hepengfe hepengfe added the topic: data Issue about data loader modules and data processing related label Aug 18, 2022
@hepengfe hepengfe changed the title Data adder Data adder for data pack Aug 19, 2022
Copy link
Collaborator

@mylibrar mylibrar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So where are the add_audio and add_text functions?

@hepengfe
Copy link
Collaborator Author

So where are the add_audio and add_text functions?

I deleted in one commit accidentally. I have added it back.

@hepengfe hepengfe requested a review from mylibrar August 22, 2022 16:46
@hepengfe hepengfe merged commit 3ba5d8f into asyml:master Aug 26, 2022
@hepengfe hepengfe deleted the data_adder branch August 26, 2022 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: data Issue about data loader modules and data processing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataPack function to add audio and text payload

2 participants