Skip to content

very slow for bert #4

Open
Open

Description

@dpny518

I tested the speed of this versus bert as a service to generate 1 sentence embeddings but this one is a lot slower, do you have suggestions to keep the model in memory or how speed this up?

Activity

  1. YC-wind commented on Jan 9, 2019

    @YC-wind
    Owner

    1.you can freeze the graph as a pb file, then save current session;
    2.you can use GPU or TPU to speed this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions