Update train_ner.py
This commit is contained in:
parent
be46e325c8
commit
764e49894d
@ -191,6 +191,6 @@ try:
|
||||
full_model_path = os.path.join(output_base, "full_model")
|
||||
merged_model.save_pretrained(full_model_path)
|
||||
tokenizer.save_pretrained(full_model_path)
|
||||
print(f"✅ Full merged model saved to {full_model_path}")
|
||||
print(f"Full merged model saved to {full_model_path}")
|
||||
except Exception as e:
|
||||
print(f"❌ Failed to merge and save full model: {e}")
|
||||
print(f"Failed to merge and save full model: {e}")
|
||||
|
Loading…
Reference in New Issue
Block a user