mrm8488 commited on
Commit
a1da1f7
1 Parent(s): 44f0ec2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -58,6 +58,18 @@ def get_answer(question, context):
58
 
59
  return tokenizer.decode(output[0], skip_special_tokens=True)
60
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  ```
62
 
63
  > Created by [Manuel Romero/@mrm8488](https://twitter.com/mrm8488) with the support of [Narrativa](https://www.narrativa.com/)
58
 
59
  return tokenizer.decode(output[0], skip_special_tokens=True)
60
 
61
+ context = '''
62
+ La ex codirectora del grupo de investigación de IA ética de Google, Margaret Mitchell,
63
+ quien fue despedida en febrero después de una controversia sobre un artículo crítico del que fue coautora,
64
+ se unirá a HuggingFace para ayudar a que los algoritmos de IA sean más justos.
65
+ '''
66
+
67
+ question = '¿Qué hará Margaret Mitchell en HuggingFace?'
68
+
69
+ print(get_answer(context, question))
70
+
71
+ # ayudar a que los algoritmos de ia sean más justos
72
+
73
  ```
74
 
75
  > Created by [Manuel Romero/@mrm8488](https://twitter.com/mrm8488) with the support of [Narrativa](https://www.narrativa.com/)