Skip to content

Unixcoder fine tune on POJ-104, how to use it for inference? #322

Description

Hi everybody, yesterday i executed the script that you can find here. This process returned a file called "model.bin" in the directory "saved_models", now i want to use this model in order to create embeddings for source code, in evaluation mode like i used to do here:"
model = UniXcoder("microsoft/unixcoder-base")
model.to(device)
model.eval()"
How to do that?

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions