hsqmlzno1 / hatn Goto Github PK
View Code? Open in Web Editor NEWHierarchical Attention Transfer Network for Cross-domain Sentiment Classification (AAAI'18)
License: MIT License
Hierarchical Attention Transfer Network for Cross-domain Sentiment Classification (AAAI'18)
License: MIT License
I can not run ur code in ubuntu , the issue is no model named multiarray. so can u tell me hao u process with the word token . and forgive me for this bad English
Hi, thank you for releasing your work!
I have a question regarding the model adaptability in a slightly different case, I want to train a generic sentiment classifier on multiple domains (multiple datasets), without having a specific target domain, how would that fit in the current model?
when i run the code using pickle to load data. There is the ImportError: No module named multiarray. How can i solve this? Thank you!
Hi,
Congratulations on your amazing work. I have a doubt in vocabulary preparation in line 47 in utils.py.
Testing data is also used in vocabulary preparation. However, testing data should be completely unseen right??
Please correct me if I am wrong.
Thank you
Hello, Zheng Li, do you have the code for the pytorch version? I want to use your code to do research, but I am not familiar with tensorflow. If so, can I send me a copy? Grateful!
Great works!
May I know the source of the dataset you used in your paper and in this repo.? I noticed that you cited Blitzer et al.'s work in ACL2007 as the source of the dataset in your paper but their original dataset has only 2000 labeled datapoints(reviews) in total for each domain, while in yours, the total no. is 6000.
So may I know how did you augment the original dataset, or may I know if there are any other datasets you have used in your works? Looking forward to your reply. Thanks.
Flitter
The computer has 32gb of memory, but when running the tran_hatn.py and extract_pivot.py,computer memory increases indefinitely until the computer freezes.I would like to ask if you have encountered this kind of trouble, what is the possible cause.I think the problem may be the word vector loading problem in utils.py file. thanks
when i use the commdand 'python extract_pivots.py --train --test -s dvd [source_domain] -t electronics [target_domain] -v [verbose]', this kind of command line lag unknown error occurs. Can you give some guide to fix it? Thank you!
Could you please release the code or give advice for transforming the raw review file (with each line be the document text) to the used form in data folder. Many thanks.
The datasets are JSON format ?right?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.