Copy # Login to HF notebook_login() # Define a path in HF repository you want to push your model --> CHANGE THIS TO YOUR HF PATH model_path = "qendel-ai/aq-LORA-finetuned-mistral-7b-instruct-model-v01" # Merge the finetuned model adapters with the base model finetuned_model = finetuned_model.merge_and_unload() # Push the finetuned model along with adapters finetuned_model.push_to_hub(model_path, use_auth_token=True) tokenizer.push_to_hub(model_path, use_auth_token=True)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter