Aya Family of Models
Aya is a family of multilingual large language models that are designed to expand the number of languages covered by generative AI. Its 8-billion and 32-billion parameter “Expanse” offerings are optimized to perform well in these 23 languages: Arabic, Chinese (simplified & traditional), Czech, Dutch, English, French, German, Greek, Hebrew, Hebrew, Hindi, Indonesian, Italian, Japanese, Korean, Persian, Polish, Portuguese, Romanian, Russian, Spanish, Turkish, Ukrainian, and Vietnamese.
Model Details
How Can I Get Access to the Aya Models?
If you want to test Aya, you have three options. First (and simplest), you can use the Cohere playground or Hugging Face Space to play around with them and see what they’re capable of.
Second, you can use the Cohere Chat API to work with Aya programmatically. Here’s a very lightweight example of using the Cohere SDK to create a Spanish-language tutor with Aya that tells a story with simple Spanish vocabulary (NOTE: you’ll need an API key to run this code, and if you haven’t installed the Cohere SDK you can do that with pip install cohere
).
And here’s an example output (remember: these models are stochastic, and what you see might look quite different).
Finally, you can directly download the raw models for research purposes because Cohere For AI has released Aya Expanse 8B and Aya Expanse 32B as open-weight models, through HuggingFace. What’s more, the massively multilingual instruction data used for development of these models has been made available for download as well.
Aya Expanse Integration with WhatsApp
In addition to the above, you also have the option of talking to Aya Expanse through the popular messaging service WhatsApp. Below, we’ll answer some questions about this process.
By communicating with Aya Expanse through WhatsApp, you agree to Cohere’s Terms of Use and Privacy Policy. Large Language Models might hallucinate, so be sure to verify important information.
How do I Talk to Aya with WhatsApp?
Use this link to open a WhatsApp chatbox with Aya Expanse. If you don’t have WhatsApp downloaded on your machine you might need to do that, or, if you have it on your phone, you can follow the on-screen instructions to link your phone and WhatsApp Web. By the end, you should see a text window that looks something like this, which you can use to chat with the model:
Will I Get Charged for Talking to Aya?
Aya Expanse is free to use on WhatsApp. You will not be charged for any usage and are not limited in the number of interactions you can have with the model.
Are There Certain Aya Capabilities that Aren’t Available Through WhatsApp?
Aya Expanse is a multilingual language model capable of conversing in 23 languages. However, retrieval-augemented generation RAG and tool-use are not available in WhatsApp, for that you should instead use the Cohere chat endpoint.
Are There Special Commands I Should Keep in Mind while Chatting with Aya Expanse via Whatsapp?
Yes, you can send the “/clear” command to the model via WhatsApp to clear the context of your previous chat with the model and start a fresh conversation with Aya Expanse.
How do I Know It’s Really Aya Expanse I’m Talking to?
If you follow the link provided above and see the “Aya Expanse by Cohere for AI” banner at the top, it’s Aya.
What Should I do if the Model Becomes Unresponsive?
Aya Expanse should be accessible via Whatsapp at all times. Sometimes, a simple app refresh can resolve any temporary glitches. If the problem persists, we encourage you to report the issue on the Cohere Discord server.
Find More
We hope you’ve found this as fascinating as we do! If you want to see more substantial projects you can check out these notebooks (source):