Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prepare the dataset? #7

Open
savvyyy opened this issue Apr 16, 2020 · 5 comments
Open

How to prepare the dataset? #7

savvyyy opened this issue Apr 16, 2020 · 5 comments

Comments

@savvyyy
Copy link

savvyyy commented Apr 16, 2020

Hi @lixin4ever I appreciate your work. Thank you for that.
I had a query, like you have provided dataset for laptop and rest_total.
Similarly I want to prepare dataset for twitter.
Can you help me how to proceed with preparing the dataset with appropriate label like defined in get_labels function in glue_utils.py.
Means how can i label them?
Do I need cached data also ? If yes, how I can Prepare that ?

@lixin4ever
Copy link
Owner

Please refer to Quick Start section in README.

NO NEED to change the functions in glue_utils.py. Cached data is not needed, either.

@savvyyy savvyyy closed this as completed Apr 17, 2020
@savvyyy savvyyy reopened this Apr 17, 2020
@savvyyy
Copy link
Author

savvyyy commented Apr 17, 2020

Hi @lixin4ever
But how do I tag my datasets as it is provided in laptop14 or rest_total ?
which method you have used to tag your datasets ?
How to perform BIEOS tagging scheme on my dataset ?
What is the meaning of B in B-NEG, B-POS, T in T-NEG, T-POS, I in I-NEG, I-POS
Please help.

@lixin4ever
Copy link
Owner

I suggest you to read the following materials:

  1. The definition of some commonly used tagging schema: Inside–outside–beginning (tagging) and Representing Text Chunks. Specifically, OT tagging schema is also called IO.
  2. The paper associated with this repo.

As with preparing your own dataset, you only need to organize the data files following the OT tagging schema.

If the code is useful for you project, hope you can star this repo.

@youyouyou404
Copy link

@savvyyy Hi, have you solved the problem of data labeling?

@yassmine-lam
Copy link

@savvyyy Hi, have you solved the problem of data labeling?

the same question plz

tahnk u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants