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

请教一下可视化的代码,能否分享呢?在二维空间中的embedding的可视化的过程 #11

Open
From-zero-tohero opened this issue Aug 20, 2023 · 3 comments

Comments

@From-zero-tohero
Copy link

No description provided.

@zezhishao
Copy link
Owner

您好,我这里没有现成的可视化脚本。可视化过程很简单:1. 将待可视化的embedding保存下来。2: 使用t-SNE将其降低到2维;3. matplotlib散点图可视化。

@dtz6
Copy link

dtz6 commented Dec 21, 2023

您好,请教一下应该在哪个文件的哪里添加保存embedding的代码呢,谢谢!

@zezhishao
Copy link
Owner

你可以直接load训练好的模型参数,就能得到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

3 participants