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

Merging MP results #270

Open
Demirrr opened this issue Nov 13, 2024 · 1 comment
Open

Merging MP results #270

Demirrr opened this issue Nov 13, 2024 · 1 comment

Comments

@Demirrr
Copy link
Member

Demirrr commented Nov 13, 2024

Training a model with MP trainer on 4 GPUs creates model_0.pt, model_1.pt, model_2.pt, and model_3.pt.
We need to write a function that takes the local path of a directory where these pytorch files reside.
Each file must have the same number of parameters, i.e., the embedding matrices shapes are same.
Task is to we need to concat these 4 models horizontaly.

@Demirrr
Copy link
Member Author

Demirrr commented Nov 13, 2024

entity_to_idx.csv and relation_to_idx.csv contain IRIs and their indices.

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

1 participant