Try Language Models with Python: StabilityAI’s StableLM

Koki Noda
3 min readApr 22, 2023

Do you want to use a instruction-tuned natural language model comparable to ChatGPT for free?
Do you want to try a natural language model published by Stability AI?

In such cases, I recommend StableLM.
This article describes StableLM, a great language model developed by Stability AI.

Table of Contents:

  • What is StableLM?
  • Libraries required to run StableLM
  • Try StableLM

What is StableLM?

StableLM is a new open-source language model released by Stability AI. The Alpha version of the model is available in 3 billion and 7 billion parameters, with 15 billion to 65 billion parameter models to follow.

In 2022, Stability AI drove the public release of Stable Diffusion, a revolutionary image model that represents a transparent, open, and scalable alternative to proprietary AI. StableLM models can generate text and code and will power a range of downstream applications. They demonstrate how small and efficient models can deliver high performance with appropriate training.

StableLM is trained on a new experimental dataset built on The Pile, but three times larger with 1.5 trillion tokens of content. We will release details on the dataset in due course. The richness of this dataset gives StableLM surprisingly high performance in conversational and coding tasks…

--

--