Table of Contents
One of the pioneers of open source
Controversy: Should it be open source?
Home Technology peripherals AI Experience the stable diffusion moment of the 7 billion-parameter StableLM large language model online

Experience the stable diffusion moment of the 7 billion-parameter StableLM large language model online

Apr 23, 2023 pm 10:28 PM
language model

In the big language model battle, Stability AI has also come to an end.

Recently, Stability AI announced the launch of their first large language model-StableLM. Important: It is open source and available on GitHub.

The model starts with 3B and 7B parameters, and will be followed by versions from 15B to 65B.

Moreover, Stability AI also released the RLHF fine-tuning model for research.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

## Project address: https://github.com/Stability-AI/StableLM/

Although OpenAI is not open, the open source community is already blooming. In the past we had Open Assistant and Dolly 2.0, and now we have StableLM.

Actual test experience

Now, we can try the demo of StableLM fine-tuned chat model on Hugging Face.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

#You can tell at a glance just how far StableLM can achieve it.

For example, you can ask it how to make a peanut butter sandwich, and it will give you a complicated, slightly ridiculous recipe.

Or write an epic rap duel between neural networks and symbolic artificial intelligence:

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

again Or write an "auspicious email" (text generation):

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

And, use C language to calculate the meaning of life (code generation):

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

# However, a foreign media reporter personally tested StableLM and found that: compared with its predecessor ChatGPT, it can talk nonsense seriously. , not to mention giving in too much.

For example, if you ask it what happened on January 6, 2021? It will tell you: Trump supporters control the Legislature.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

If the intended main use of Stable LM is not text generation, what can it do?

If you ask it this question yourself, it will say something like this, "It is mainly used as a decision support system in systems engineering and architecture, and can also be used for statistical learning. , reinforcement learning and other fields."

In addition, Stable LM obviously lacks the protection of certain sensitive content. For example, give it the famous "Don't praise Hitler" test, and its answer is also surprising.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

However, we are not in a hurry to call it "the worst language model ever". After all, it is open source, so this black box AI allows anyone to peek inside the box and see what potential causes are causing the problem.

StableLM

Stability AI officially claims: The Alpha version of StableLM has 3 billion and 7 billion parameters, and there will be subsequent versions with 15 billion to 65 billion parameters.

StabilityAI also boldly stated that developers can use it as they wish. As long as you abide by the relevant terms, you can do whatever you want, whether inspecting, applying or adapting the basic model.

StableLM is powerful. It can not only generate text and code, but also provide a technical foundation for downstream applications. It is a great example of how a small, efficient model can achieve sufficiently high performance with proper training.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

In the early years, Stability AI and the non-profit research center Eleuther AI developed early language models together. It can be said that Stability AI has a deep accumulation. .

Like GPT-J, GPT-NeoX and Pythia, these are the products of cooperative training between the two companies, and are trained on The Pile open source data set.

The subsequent open source models, such as Cerebras-GPT and Dolly-2, are all follow-up products of the above three brothers.

Back to StableLM, it was trained on a new data set based on The Pile. The data set contains 1.5 trillion tokens, which is about 3 times that of The Pile. . The model's context length is 4096 tokens.

In an upcoming technical report, Stability AI will announce the model size and training settings.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

As a proof-of-concept, the team fine-tuned the model with Stanford University’s Alpaca and used a dataset of five recent conversational agents. Combination: Stanford University’s Alpaca, Nomic-AI’s gpt4all, RyokoAI’s ShareGPT52K dataset, Databricks labs’ Dolly, and Anthropic’s HH.

These models will be released as StableLM-Tuned-Alpha. Of course, these fine-tuned models are for research purposes only and are non-commercial.

In the future, Stability AI will also announce more details of the new data set.

Among them, the new data set is very rich, which is why the performance of StableLM is great. Although the parameter scale is still a bit small at present (compared to GPT-3’s 175 billion parameters).

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

Stability AI stated that language models are the core of the digital age, and we hope that everyone can have a say in language models.

And the transparency of StableLM. Features such as accessibility and support also implement this concept.

  • StableLM’s transparency:

The best way to embody transparency is to be open source. Developers can go deep inside the model to verify performance, identify risks, and develop protective measures together. Companies or departments in need can also adjust the model to meet their own needs.

  • Accessibility of StableLM:

Everyday users can run the model anytime, anywhere on their local device. Developers can apply the model to create and use hardware-compatible standalone applications. In this way, the economic benefits brought by AI will not be divided up by a few companies, and the dividends belong to all daily users and developer communities.

This is something that a closed model cannot do.

  • StableLM support:

Stability AI builds models to support users, not replace them. In other words, convenient and easy-to-use AI is developed to help people handle work more efficiently and increase people's creativity and productivity. Instead of trying to develop something invincible to replace everything.

Stability AI stated that these models have been published on GitHub, and a complete technical report will be released in the future.

Stability AI looks forward to collaborating with a wide range of developers and researchers. At the same time, they also stated that they will launch the crowdsourcing RLHF plan, open assistant cooperation, and create an open source data set for AI assistants.

One of the pioneers of open source

The name Stability AI is already very familiar to us. It is the company behind the famous image generation model Stable Diffusion.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

Now, with the launch of StableLM, it can be said that Stability AI is going further and further on the road of using AI to benefit everyone. After all, open source has always been their fine tradition.

In 2022, Stability AI provides a variety of ways for everyone to use Stable Diffusion, including public demos, software beta versions, and complete downloads of models. Developers can use the models at will. Various integrations.

As a revolutionary image model, Stable Diffusion represents a transparent, open and scalable alternative to proprietary AI.

Obviously, Stable Diffusion allows everyone to see the various benefits of open source. Of course, there will also be some unavoidable disadvantages, but this is undoubtedly a meaningful historical node.

(Last month, an "epic" leak of Meta's open source model LLaMA resulted in a series of amazing ChatGPT "replacements". The alpaca family is like the universe. Births like an explosion: Alpaca, Vicuna, Koala, ChatLLaMA, FreedomGPT, ColossalChat...)

However, Stability AI also warned that although the data set it uses should help On "Guiding basic language models into safer text distribution, but not all biases and toxicity can be mitigated through fine-tuning."

Controversy: Should it be open source?

These days, we have witnessed an explosion of open source text generation models, as companies large and small have discovered that in the increasingly lucrative field of generative AI, it is better to become famous early. .

Over the past year, Meta, Nvidia, and independent groups like the Hugging Face-backed BigScience project have released “private” API models similar to GPT-4 and Anthropic’s Claude replacement.

Many researchers have severely criticized these open source models similar to StableLM because criminals may use them with ulterior motives, such as creating phishing emails or assisting malware.

But Stablity AI insists that open source is the most correct way.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

Stability AI emphasized, “We open source our models to increase transparency and foster trust. Researchers can gain in-depth understanding of these models and verify their performance, research explainability techniques, identify potential risks, and assist in developing protective measures."

"Open, fine-grained access to our models allows a broad range of research and academics , developing explainability and security technology that goes beyond closed models."

Stablity AI's statement does make sense. Even GPT-4, the industry's top model with filters and human review teams, is not immune to toxicity.

And, the open source model obviously requires more effort to adjust and fix the backend - especially if developers are not keeping up with the latest updates.

In fact, looking back on history, Stability AI has never avoided controversy.

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

# A while ago, it was at the forefront of an infringement legal case. Some people accused it of using copyrighted images scraped from the Internet to develop AI drawings. Tools that violate the rights of millions of artists.

In addition, some people with ulterior motives have used Stability's AI tools to generate deep fake pornographic images of many celebrities, as well as violent images.

Although Stability AI emphasized its charitable tone in the blog post, Stability AI is also facing pressure from commercialization, whether in the fields of art, animation, biomedicine, or generated audio. .

真·大语言模型Stable Diffusion时刻?StableLM开源,70亿参数在线体验

Stability AI CEO Emad Mostaque has hinted at plans to go public. Stability AI was valued at more than $1 billion last year and has raised more than $1 billion. billion in venture capital. However, according to foreign media Semafor, Stability AI "is burning money, but making slow progress in making money."

The above is the detailed content of Experience the stable diffusion moment of the 7 billion-parameter StableLM large language model online. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Understand Tokenization in one article! Understand Tokenization in one article! Apr 12, 2024 pm 02:31 PM

Language models reason about text, which is usually in the form of strings, but the input to the model can only be numbers, so the text needs to be converted into numerical form. Tokenization is a basic task of natural language processing. It can divide a continuous text sequence (such as sentences, paragraphs, etc.) into a character sequence (such as words, phrases, characters, punctuation, etc.) according to specific needs. The units in it Called a token or word. According to the specific process shown in the figure below, the text sentences are first divided into units, then the single elements are digitized (mapped into vectors), then these vectors are input to the model for encoding, and finally output to downstream tasks to further obtain the final result. Text segmentation can be divided into Toke according to the granularity of text segmentation.

Three secrets for deploying large models in the cloud Three secrets for deploying large models in the cloud Apr 24, 2024 pm 03:00 PM

Compilation|Produced by Xingxuan|51CTO Technology Stack (WeChat ID: blog51cto) In the past two years, I have been more involved in generative AI projects using large language models (LLMs) rather than traditional systems. I'm starting to miss serverless cloud computing. Their applications range from enhancing conversational AI to providing complex analytics solutions for various industries, and many other capabilities. Many enterprises deploy these models on cloud platforms because public cloud providers already provide a ready-made ecosystem and it is the path of least resistance. However, it doesn't come cheap. The cloud also offers other benefits such as scalability, efficiency and advanced computing capabilities (GPUs available on demand). There are some little-known aspects of deploying LLM on public cloud platforms

To provide a new scientific and complex question answering benchmark and evaluation system for large models, UNSW, Argonne, University of Chicago and other institutions jointly launched the SciQAG framework To provide a new scientific and complex question answering benchmark and evaluation system for large models, UNSW, Argonne, University of Chicago and other institutions jointly launched the SciQAG framework Jul 25, 2024 am 06:42 AM

Editor |ScienceAI Question Answering (QA) data set plays a vital role in promoting natural language processing (NLP) research. High-quality QA data sets can not only be used to fine-tune models, but also effectively evaluate the capabilities of large language models (LLM), especially the ability to understand and reason about scientific knowledge. Although there are currently many scientific QA data sets covering medicine, chemistry, biology and other fields, these data sets still have some shortcomings. First, the data form is relatively simple, most of which are multiple-choice questions. They are easy to evaluate, but limit the model's answer selection range and cannot fully test the model's ability to answer scientific questions. In contrast, open-ended Q&A

Efficient parameter fine-tuning of large-scale language models--BitFit/Prefix/Prompt fine-tuning series Efficient parameter fine-tuning of large-scale language models--BitFit/Prefix/Prompt fine-tuning series Oct 07, 2023 pm 12:13 PM

In 2018, Google released BERT. Once it was released, it defeated the State-of-the-art (Sota) results of 11 NLP tasks in one fell swoop, becoming a new milestone in the NLP world. The structure of BERT is shown in the figure below. On the left is the BERT model preset. The training process, on the right is the fine-tuning process for specific tasks. Among them, the fine-tuning stage is for fine-tuning when it is subsequently used in some downstream tasks, such as text classification, part-of-speech tagging, question and answer systems, etc. BERT can be fine-tuned on different tasks without adjusting the structure. Through the task design of "pre-trained language model + downstream task fine-tuning", it brings powerful model effects. Since then, "pre-training language model + downstream task fine-tuning" has become the mainstream training in the NLP field.

RoSA: A new method for efficient fine-tuning of large model parameters RoSA: A new method for efficient fine-tuning of large model parameters Jan 18, 2024 pm 05:27 PM

As language models scale to unprecedented scale, comprehensive fine-tuning for downstream tasks becomes prohibitively expensive. In order to solve this problem, researchers began to pay attention to and adopt the PEFT method. The main idea of ​​the PEFT method is to limit the scope of fine-tuning to a small set of parameters to reduce computational costs while still achieving state-of-the-art performance on natural language understanding tasks. In this way, researchers can save computing resources while maintaining high performance, bringing new research hotspots to the field of natural language processing. RoSA is a new PEFT technique that, through experiments on a set of benchmarks, is found to outperform previous low-rank adaptive (LoRA) and pure sparse fine-tuning methods using the same parameter budget. This article will go into depth

Meta launches AI language model LLaMA, a large-scale language model with 65 billion parameters Meta launches AI language model LLaMA, a large-scale language model with 65 billion parameters Apr 14, 2023 pm 06:58 PM

According to news on February 25, Meta announced on Friday local time that it will launch a new large-scale language model based on artificial intelligence (AI) for the research community, joining Microsoft, Google and other companies stimulated by ChatGPT to join artificial intelligence. Intelligent competition. Meta's LLaMA is the abbreviation of "Large Language Model MetaAI" (LargeLanguageModelMetaAI), which is available under a non-commercial license to researchers and entities in government, community, and academia. The company will make the underlying code available to users, so they can tweak the model themselves and use it for research-related use cases. Meta stated that the model’s requirements for computing power

Conveniently trained the biggest ViT in history? Google upgrades visual language model PaLI: supports 100+ languages Conveniently trained the biggest ViT in history? Google upgrades visual language model PaLI: supports 100+ languages Apr 12, 2023 am 09:31 AM

The progress of natural language processing in recent years has largely come from large-scale language models. Each new model released pushes the amount of parameters and training data to new highs, and at the same time, the existing benchmark rankings will be slaughtered. ! For example, in April this year, Google released the 540 billion-parameter language model PaLM (Pathways Language Model), which successfully surpassed humans in a series of language and reasoning tests, especially its excellent performance in few-shot small sample learning scenarios. PaLM is considered to be the development direction of the next generation language model. In the same way, visual language models actually work wonders, and performance can be improved by increasing the scale of the model. Of course, if it is just a multi-tasking visual language model

BLOOM can create a new culture for AI research, but challenges remain BLOOM can create a new culture for AI research, but challenges remain Apr 09, 2023 pm 04:21 PM

Translator | Reviewed by Li Rui | Sun Shujuan BigScience research project recently released a large language model BLOOM. At first glance, it looks like another attempt to copy OpenAI's GPT-3. But what sets BLOOM apart from other large-scale natural language models (LLMs) is its efforts to research, develop, train, and release machine learning models. In recent years, large technology companies have hidden large-scale natural language models (LLMs) like strict trade secrets, and the BigScience team has put transparency and openness at the center of BLOOM from the beginning of the project. The result is a large-scale language model that can be studied and studied, and made available to everyone. B

See all articles