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
I encountered key error by using my own data set #333
Comments
Seems it is similar to issue #80 |
Seems there is some bug on line 489 of run_classifier.py. |
how did you solve this problem? I am not sure which line is line 489 @PaulZhangIsing |
about here, I make feature line into the if loop for (ex_index, example) in enumerate(examples):
max_seq_length, tokenizer) |
I |
Sorry I unable to do so. But you can send yours to me and I try to edit on it and send it back to u? |
send my dataset and code to you,please check your email. @PaulZhangIsing . |
I need this weekend to check as my company currently unable to connect to outlook
…Sent from my iPhone
On 10 Jan 2019, at 16:55, mice4869 <notifications@github.com<mailto:notifications@github.com>> wrote:
send my dataset and code to you,please check your email. @PaulZhangIsing<https://github.com/PaulZhangIsing> .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#333 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Aab_R5Z8eLNWYFSyW5U0Glc9dW6coVYlks5vBwAEgaJpZM4ZpNAN>.
|
it`s ok. I got this problem fixed. Thank you man@PaulZhanglsing |
So basically what have u done?
…Sent from my iPhone
On 11 Jan 2019, at 14:46, mice4869 <notifications@github.com<mailto:notifications@github.com>> wrote:
it`s ok. I got this problem fixed. Thank you man@PaulZhanglsing
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#333 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Aab_R9YgkVPb8jCZN96E3GjlYjKLRdh3ks5vCDM6gaJpZM4ZpNAN>.
|
Hi, I'm having the same problem. I added a tab in line 489 but I am still getting the same error. How did you solved it? |
You should take a look at data processor instead. |
I manged to solved it by adding: |
@AsafBanana I have done this for |
actually, the main problem is when you solve the problem such as issue #717 df_train = pd.read_csv("data/train.tsv", header =None, sep="\t", encoding = "UTF-8", quotechar='"') header=False ~is the key open your tsv file and check the header |
We should not do the things described below, otherwise it shall yield very wierd result, as only few data are passing into processing.,
And we shall take a look at data processing, ensure that text_a and label are correctly passed into
and do this at create examples
The text was updated successfully, but these errors were encountered: