alexkueck commited on
Commit
806c651
·
1 Parent(s): 5cd1505

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,7 +44,7 @@ xxx = os.getenv("TOKEN")
44
  login(token=xxx)
45
  #Modelle und Tokenizer
46
  model_name = "alexkueck/LIFineTuned"
47
- print(f"{model_name}/LIFineTuned/model/")
48
  #Alternativ mit beliebigen Modellen:
49
  base_model = "project-baize/baize-v2-7b" #load_8bit = False (in load_tokenizer_and_model)
50
  #base_model = "TheBloke/airoboros-13B-HF" #load_8bit = False (in load_tokenizer_and_model)
@@ -87,9 +87,9 @@ lm_datasets = tokenized_datasets.map(
87
  ####################################################
88
 
89
  #Training Args
90
- model_name = base_model.split("/")[-1]
91
  training_args = TrainingArguments(
92
- f"{model_name}/LIFineTuned/model/",
93
  evaluation_strategy = "epoch",
94
  learning_rate=2e-5,
95
  weight_decay=0.01,
 
44
  login(token=xxx)
45
  #Modelle und Tokenizer
46
  model_name = "alexkueck/LIFineTuned"
47
+
48
  #Alternativ mit beliebigen Modellen:
49
  base_model = "project-baize/baize-v2-7b" #load_8bit = False (in load_tokenizer_and_model)
50
  #base_model = "TheBloke/airoboros-13B-HF" #load_8bit = False (in load_tokenizer_and_model)
 
87
  ####################################################
88
 
89
  #Training Args
90
+ #model_name = base_model.split("/")[-1]
91
  training_args = TrainingArguments(
92
+ f"{model_name}/model/",
93
  evaluation_strategy = "epoch",
94
  learning_rate=2e-5,
95
  weight_decay=0.01,