alexkueck commited on
Commit
cbcdf0d
·
1 Parent(s): df5275a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -143,8 +143,7 @@ print ("trainer")
143
  #trainer.train()
144
  #Wenn man vom letzten checkpoint aus weiter trainieren möchte: trainer.train(resume_from_checkpoint=True)
145
  print("trained!!!!!")
146
- #in den Hub laden
147
- #trainer.push_to_hub("test-tis", use_auth_token=True)
148
 
149
  ##################
150
  #Evaluate the new Model
@@ -181,8 +180,10 @@ print("done")
181
  print("push to hub")
182
  login(token=os.environ["HF_WRITE_TOKEN"])
183
  trainer.push_to_hub("test-tis-1")
184
- print("done")
185
  '''
 
 
 
186
 
187
 
188
  ##############################################
 
143
  #trainer.train()
144
  #Wenn man vom letzten checkpoint aus weiter trainieren möchte: trainer.train(resume_from_checkpoint=True)
145
  print("trained!!!!!")
146
+
 
147
 
148
  ##################
149
  #Evaluate the new Model
 
180
  print("push to hub")
181
  login(token=os.environ["HF_WRITE_TOKEN"])
182
  trainer.push_to_hub("test-tis-1")
 
183
  '''
184
+ tokenizer.push_to_hub("test-tis-1")
185
+ print("done")
186
+
187
 
188
 
189
  ##############################################