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 form a ram_plus_tag_embedding_class_4585_des_51.pth for my own data. #188

Open
DWHNicholas opened this issue Jun 13, 2024 · 3 comments

Comments

@DWHNicholas
Copy link

image
In the fourth step of model training preparation, you need to download aram_plus_tag_embedding_class_4585_des_51.pthfile. Looking at the code, this file seems to be used for tag embedding. I read it in the code and saw that the shape is ([233835, 512]). I would like to know how this file is formed and how to form such a file when preparing my own data set for processing.

@DWHNicholas
Copy link
Author

I already know that theram_tag_list_4585_llm_tag_descriptions.jsontext is 233835 based on 4585*51, which should be the embedding of the description corresponding to the tag. Is there any other document that describes how to generate this embedding or what model is used to generate the embedding?

@DWHNicholas
Copy link
Author

I think I already know how to do it

@ntlm1686
Copy link

ntlm1686 commented Sep 4, 2024

@DWHNicholas Could you please explain briefly how?

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