mrm8488 commited on
Commit
d18e04b
1 Parent(s): 5bc25d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,11 +21,11 @@ def infer(input_ids, max_length, temperature, top_k, top_p, num_return_sequences
21
  )
22
 
23
  return output_sequences
24
- default_value = "Vea cómo una red neuronal moderna completa automáticamente su texto 🤗 Este sitio, creado por el equipo de Hugging Face, le permite escribir un documento completo directamente desde su navegador, y puede activar el Transformer en cualquier lugar usando la tecla Tab. Es como tener una máquina inteligente que completa tus pensamientos 😀 Comienza escribiendo un fragmento personalizado, consulta el repositorio o prueba uno de los ejemplos."
25
 
26
  #prompts
27
  st.title("Write with Spanish GPT-2 🦄")
28
- st.write("The almighty king of text generation, GPT-2 comes in four available sizes, only three of which have been publicly made available. Feared for its fake news generation capabilities, it currently stands as the most syntactically coherent model. A direct successor to the original GPT, it reinforces the already established pre-training/fine-tuning killer duo. From the paper: Language Models are Unsupervised Multitask Learners by Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei and Ilya Sutskever.")
29
 
30
  sent = st.text_area("Text", default_value, height = 275)
31
  max_length = st.sidebar.slider("Max Length", min_value = 10, max_value=30)
21
  )
22
 
23
  return output_sequences
24
+ default_value = "Vea cómo una red neuronal moderna completa automáticamente su texto 🤗 Este sitio, creado por el equipo de Hugging Face, le permite escribir un documento completo directamente desde su navegador, y puede activar el Transformer (Spanish GPT-2) en cualquier lugar usando la tecla Tab. Es como tener una máquina inteligente que completa tus pensamientos 😀 Comienza escribiendo un fragmento personalizado."
25
 
26
  #prompts
27
  st.title("Write with Spanish GPT-2 🦄")
28
+ st.write("Demo del modelo Spanish GPT-2 creado por Manuel Romero y su equipo en la Flax/Jax Commnunity Event orgranizado por Hugging Face y Google")
29
 
30
  sent = st.text_area("Text", default_value, height = 275)
31
  max_length = st.sidebar.slider("Max Length", min_value = 10, max_value=30)