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

Finetuning #759

Open
thanhtruongtran opened this issue May 9, 2024 · 1 comment
Open

Finetuning #759

thanhtruongtran opened this issue May 9, 2024 · 1 comment

Comments

@thanhtruongtran
Copy link

How can i finetune in kaggle or colab

@staoxiao
Copy link
Collaborator

staoxiao commented May 9, 2024

The usage of kaggle and colab is same as jupyter.
You can pip install FlagEmbedding and run the command by adding ! at the beginning, e.g.,

! pip install -U FlagEmbedding
! torchrun --nproc_per_node {number of gpus} -m FlagEmbedding.baai_general_embedding.finetune.run --output_dir {path to save model} --model_name_or_path BAAI/bge-large-zh-v1.5 --train_data {your_data}

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