bstraehle commited on
Commit
bd9d23a
1 Parent(s): 34a45fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -37,7 +37,8 @@ def fine_tune_model(base_model_id, dataset):
37
 
38
  # Load pre-trained model and tokenizer
39
  model_name = "meta-llama/Meta-Llama-3.1-8B-Instruct"
40
- model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
 
41
  tokenizer = AutoTokenizer.from_pretrained(model_name)
42
 
43
  if not tokenizer.pad_token:
 
37
 
38
  # Load pre-trained model and tokenizer
39
  model_name = "meta-llama/Meta-Llama-3.1-8B-Instruct"
40
+ model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
41
+ print(model)
42
  tokenizer = AutoTokenizer.from_pretrained(model_name)
43
 
44
  if not tokenizer.pad_token: