tensorflow / tensor2tensor

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.
Apache License 2.0
15.5k stars 3.49k forks source link

*Help*How to get the results of word embeddings #709

Closed xiangdouou closed 6 years ago

xiangdouou commented 6 years ago

help

Description

Hi,I have trained the transformer model, PROBLEM=translate_ende_wmt32k MODEL=transformer HPARAMS=transformer_base_single_gpu But I want to get the word embedding result. Can you tell me how to get the result of word embedding(word to vector)? Thank you!

TensorFlow and tensor2tensor versions

TensorFlow-gpu==1.4.0 t2t==1.5.4

In case of bug report: Steps to reproduce the problem

In case of bug report: Error log

xiangdouou commented 6 years ago

Hello,Can anyone help me?

martinpopel commented 6 years ago

The embeddings are stored in the checkpoint.

xiangdouou commented 6 years ago

Thank you very much!@martinpopel I will look at the checkpoint.

stefan-it commented 6 years ago

@xiangdouou Does that hint solves the issue? If that is the case, please close that issue :)

guotong1988 commented 6 years ago

May I know what word embedding can be got?