Page 1Página 1
Guess the next wordAdivina la siguiente palabra
This is a real AI, and it runs right here on your phone or computer. It learned one single trick: guessing what comes next. Esta es una IA de verdad, y funciona aquí mismo, en tu teléfono o tu computadora. Aprendió un solo truco: adivinar qué palabra sigue.
You already know a cousin of this. When you text, your phone keyboard suggests the next word. An AI chatbot works the same way, only much, much bigger: it writes its whole answer one guess at a time. Seguro ya conoces algo parecido. Cuando mandas un mensaje, el teclado del teléfono te sugiere la siguiente palabra. Un chatbot de IA hace lo mismo, pero en grande: escribe toda su respuesta adivinando una palabra a la vez.
Try itPruébala
Pick a brain. Each one is a separate little AI.Escoge un cerebro. Cada uno es una IA chiquita distinta.
The AI has to download to your device first. It only does this once. After that it opens fast, and what you type never leaves your device. Primero la IA tiene que bajarse a tu aparato. Eso pasa solo una vez. Después abre rápido, y lo que escribes nunca sale de tu aparato.
Tip: use Wi-Fi if your phone plan has limited data.Consejo: usa wifi si tu plan de datos es limitado.
The AI couldn't load on this device.La IA no pudo cargar en este aparato.
Usually that means the internet dropped, the browser is older, or the device ran short of memory. Nothing is broken on your end. Casi siempre es porque se fue el internet, el navegador es algo viejito o al aparato le faltó memoria. No descompusiste nada.
Here's what it showed when it ran on a computerEsto es lo que mostró cuando sí corrió en una computadora
These numbers were saved from a real run of the same model.Estos números se guardaron de una prueba real con el mismo modelo.
The sentence so far (added words are highlighted):La frase hasta ahora (lo que se agrega sale marcado):
Tap any guess to add it.Toca cualquier opción para agregarla.
What's going on in there?¿Qué está pasando ahí adentro?
It chops your words into pieces. Short words stay whole. Long or rare words get split, like "un + believ + able." These pieces are called tokens. Corta tus palabras en pedacitos. Las palabras cortas quedan enteras. Las largas o raras se parten, como "in + creí + ble". A esos pedacitos les dicen tokens.
It gives every possible piece a chance. It knows about 50,000 pieces, and every single one gets a score. The bars show you only the top 8. Le da una probabilidad a cada pedacito posible. Conoce unos 50,000 pedacitos y le pone una calificación a cada uno. Las barras te enseñan solo los 8 más altos.
It picks one, adds it, and starts over. Then it reads everything again, new piece included, and guesses again. That loop is how every chatbot writes, even the big famous ones. Escoge uno, lo agrega y vuelve a empezar. Lee todo otra vez, con el pedacito nuevo, y vuelve a adivinar. Así escribe cualquier chatbot, hasta los más grandes y famosos.
Notice what is not on that list: looking anything up. It doesn't check a book or the internet. It just knows which words tend to follow which, from the text it read while it was learning. Fíjate en lo que no está en la lista: buscar información. No revisa un libro ni el internet. Nada más sabe qué palabras suelen ir después de otras, por todo lo que leyó cuando estaba aprendiendo.
A guess that starts with "…" finishes the last word instead of starting a new one. Una opción que empieza con "…" termina la última palabra en vez de empezar una nueva.
Things to tryCosas que puedes probar
- Type The capital of Texas is. Does it say Austin? Little models often don't. They aren't looking it up, so they guess what sounds right. Escribe La capital de México es. ¿Dice "la Ciudad de México"? Los modelos chiquitos muchas veces fallan. Como no lo buscan, adivinan lo que suena bien.
- Change one word and watch the bars move. Try My dog loves to, then My cat loves to. Cambia una sola palabra y mira cómo se mueven las barras. Prueba Mi perro siempre quiere y luego Mi gato siempre quiere.
- Press "Write 10 words by itself" a few times. Small models love to go in circles and repeat themselves. Dale varias veces a "Que escriba 10 palabras sola". A los modelos chiquitos les encanta dar vueltas y repetirse.
- Look at how sure it is. Often the top guess has less than 1 chance in 5. It still picks one and keeps going. Fíjate qué tan segura está. Muchas veces la opción más alta tiene menos de 1 oportunidad en 5. Aun así escoge una y sigue adelante.
The honest fine printLa letra chiquita, con honestidad
These two models are tiny and old on purpose, so they fit on a phone. The English one, DistilGPT-2, has about 82 million adjustable numbers and learned from web pages collected around 2019. The Spanish one, GPT-2 Spanish, has about 117 million and learned from Spanish Wikipedia, novels, stories, plays, poems and essays. The chatbots people use today are hundreds or thousands of times bigger. Estos dos modelos son chiquitos y viejitos a propósito, para que quepan en un teléfono. El de inglés, DistilGPT-2, tiene unos 82 millones de números ajustables y aprendió de páginas web juntadas por ahí del 2019. El de español, GPT-2 Spanish, tiene unos 117 millones y aprendió de Wikipedia en español, novelas, cuentos, obras de teatro, poemas y ensayos. Los chatbots que usa la gente hoy son cientos o miles de veces más grandes.
Because they learned from all kinds of text, they can say strange, wrong or rude things. This page hides a short list of rude words from the guesses, but it can't catch everything. Como aprendieron de todo tipo de textos, pueden decir cosas raras, equivocadas o groseras. Esta página esconde una lista corta de groserías, pero no las atrapa todas.
The model files come from Hugging Face, a public library of AI models. The math runs in your browser with Transformers.js. Los archivos de los modelos vienen de Hugging Face, una biblioteca pública de modelos de IA. Los cálculos corren en tu navegador con Transformers.js.