mrm8488 commited on
Commit
b945d24
1 Parent(s): c66892d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -44,7 +44,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
44
  model = AutoModelForCausalLM.from_pretrained(model_id).to("cuda")
45
 
46
 
47
- def create_instruction(instruction: str, input_data: str = None, context: str = None) -> str:
48
  sections = {
49
  "Instrucción": instruction,
50
  "Entrada": input_data,
@@ -63,7 +63,6 @@ def create_instruction(instruction: str, input_data: str = None, context: str =
63
  return prompt
64
 
65
 
66
-
67
  def generate(
68
  instruction,
69
  input=None,
 
44
  model = AutoModelForCausalLM.from_pretrained(model_id).to("cuda")
45
 
46
 
47
+ def create_instruction(instruction, input_data=None, context=None):
48
  sections = {
49
  "Instrucción": instruction,
50
  "Entrada": input_data,
 
63
  return prompt
64
 
65
 
 
66
  def generate(
67
  instruction,
68
  input=None,