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 build a batch input for tf hub model in R, while using universal sentence encoder? #11

Open
skallinen opened this issue Jul 23, 2018 · 1 comment

Comments

@skallinen
Copy link

skallinen commented Jul 23, 2018

adding issue here per twitter conversation with @skeydan : working with the universal sentence encoder from within R. got it working with the help from @skeydan and the example here. it is a naive implementation where I input an r vector with sentences to the embed module. but would like to send the data in batches. tried to replicate the pattern in the example https://github.com/rstudio/tfdatasets/blob/master/examples/text/train.R loading the sentences from a file, but couldn't get it to work. any pointers where to look for how to construct the input data or perhaps a batch generator?

@jjallaire
Copy link
Member

We are going to be working on developing this example further soon, so stay tuned.

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