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

Hello,I want to know how to get the pre-trained embedding? #1

Open
a2695400142 opened this issue Apr 6, 2023 · 0 comments
Open

Hello,I want to know how to get the pre-trained embedding? #1

a2695400142 opened this issue Apr 6, 2023 · 0 comments

Comments

@a2695400142
Copy link

print("Loading pre-trained embedding...")
self.pos_user_review, self.pos_user_senti = pickle.load(gzip.open(root + 'pos_user.p', 'rb'))
self.neg_user_review, self.neg_user_senti = pickle.load(gzip.open(root + 'neg_user.p', 'rb'))
self.pos_item_review, self.pos_item_senti = pickle.load(gzip.open(root + 'pos_item.p', 'rb'))
self.neg_item_review, self.neg_item_senti = pickle.load(gzip.open(root + 'neg_item.p', 'rb'))
print("Finish loading pre-trained embedding...")

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

1 participant