jorge-henao commited on
Commit
2447645
1 Parent(s): addf8b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -5
README.md CHANGED
@@ -41,7 +41,7 @@ Testing is a work in progress, we decide to share both model variations with com
41
 
42
  - ### About pre-processing
43
 
44
- ```python
45
  def format_instruction_without_context(example):
46
  example["topic"] = example['input']
47
  input = "La conversación entre un humano y un asistente de IA."
@@ -53,10 +53,7 @@ def format_instruction_without_context(example):
53
  input += "\n[|AI|] "+f"Aquí una lista de tópicos: {topics}."
54
  example["topic"] += f" ({topics})"
55
  example["input"] = input
56
- return example
57
- data_reforma_salud_cfqa_without_context = data_reforma_salud_cfqa.map(format_instruction_without_context, remove_columns=['output','topics','instruction'])
58
- data_reforma_salud_cqa_withou
59
- </code>
60
 
61
 
62
  More details can be found in the Ask2Democracy [GitHub](https://github.com/jorge-henao/ask2democracy)
 
41
 
42
  - ### About pre-processing
43
 
44
+ `
45
  def format_instruction_without_context(example):
46
  example["topic"] = example['input']
47
  input = "La conversación entre un humano y un asistente de IA."
 
53
  input += "\n[|AI|] "+f"Aquí una lista de tópicos: {topics}."
54
  example["topic"] += f" ({topics})"
55
  example["input"] = input
56
+ return example`
 
 
 
57
 
58
 
59
  More details can be found in the Ask2Democracy [GitHub](https://github.com/jorge-henao/ask2democracy)