Duplicated from tykiww/lora_instruction_tuning
0f115b9 f82747d
1
2
3
4
5
6
7
8
9
10
def submit_weights(model, repository, model_out_name, token): """submits model to repository""" repo = repository + '/' + model_out_name model.push_to_hub(repo, token = token) tokenizer.push_to_hub(repo, token = token) return 0