rwheel commited on
Commit
df84f35
1 Parent(s): a80029a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import torch
3
  from peft import PeftModel, PeftConfig
4
  from transformers import AutoModelForCausalLM, AutoTokenizer
5
 
6
- peft_model_id = "hackathon-somos-nlp-2023/discriminacion_gitana_intervenciones_balanceado"
7
  config = PeftConfig.from_pretrained(peft_model_id)
8
  model = AutoModelForCausalLM.from_pretrained(config.base_model_name_or_path, return_dict=True, load_in_8bit=True, device_map='auto')
9
  tokenizer = AutoTokenizer.from_pretrained(peft_model_id)
 
3
  from peft import PeftModel, PeftConfig
4
  from transformers import AutoModelForCausalLM, AutoTokenizer
5
 
6
+ peft_model_id = "hackathon-somos-nlp-2023/PAG-BERT"
7
  config = PeftConfig.from_pretrained(peft_model_id)
8
  model = AutoModelForCausalLM.from_pretrained(config.base_model_name_or_path, return_dict=True, load_in_8bit=True, device_map='auto')
9
  tokenizer = AutoTokenizer.from_pretrained(peft_model_id)