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

Transformer model #3

Open
Bouncer51 opened this issue Aug 30, 2021 · 2 comments
Open

Transformer model #3

Bouncer51 opened this issue Aug 30, 2021 · 2 comments

Comments

@Bouncer51
Copy link

Hi,

Have you not completely implemented the Transformer model and seq2seq+ transformer model proposed in "Don’t Classify, Translate: Multi-Level E-Commerce Product Categorization Via Machine Translation". Maggie Yundi Li, Liling Tan, Stanley Kok. 2018. https://arxiv.org/pdf/1812.05774.pdf .

Is there any missing parts that is yet to be implemented?

TIA

@Priyanshiguptaaa
Copy link
Owner

Hi,

Yes, I've implemented it, I'll add it to the repository shortly!

@Bouncer51
Copy link
Author

Bouncer51 commented Aug 30, 2021

I Am having some issue in executing training code of seq2seq. I got error like: test variable is not defined anywhere, could you help me find what exactly the variable holds?.

There is a line in code with test['category'].apply(lambda x: category_dictionary[x])

TIA

Update: I have got it working by using test_data instead.

I have achieved accuracy of 92% when trained for 5 Epochs:

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

2 participants