search
HomeTechnology peripheralsAIExperience the stable diffusion moment of the 7 billion-parameter StableLM large language model online

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
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
一文搞懂Tokenization!一文搞懂Tokenization!Apr 12, 2024 pm 02:31 PM

语言模型是对文本进行推理的,文本通常是字符串形式,但模型的输入只能是数字,因此需要将文本转换成数字形式。Tokenization是自然语言处理的基本任务,根据特定需求能够把一段连续的文本序列(如句子、段落等)切分为一个字符序列(如单词、短语、字符、标点等多个单元),其中的单元称为token或词语。根据下图所示的具体流程,首先将文本句子切分成一个个单元,然后将单元素数值化(映射为向量),再将这些向量输入到模型进行编码,最后输出到下游任务进一步得到最终的结果。文本切分按照文本切分的粒度可以将Toke

为大模型提供全新科学复杂问答基准与测评体系,UNSW、阿贡、芝加哥大学等多家机构联合推出SciQAG框架为大模型提供全新科学复杂问答基准与测评体系,UNSW、阿贡、芝加哥大学等多家机构联合推出SciQAG框架Jul 25, 2024 am 06:42 AM

编辑|ScienceAI问答(QA)数据集在推动自然语言处理(NLP)研究发挥着至关重要的作用。高质量QA数据集不仅可以用于微调模型,也可以有效评估大语言模型(LLM)的能力,尤其是针对科学知识的理解和推理能力。尽管当前已有许多科学QA数据集,涵盖了医学、化学、生物等领域,但这些数据集仍存在一些不足。其一,数据形式较为单一,大多数为多项选择题(multiple-choicequestions),它们易于进行评估,但限制了模型的答案选择范围,无法充分测试模型的科学问题解答能力。相比之下,开放式问答

云端部署大模型的三个秘密云端部署大模型的三个秘密Apr 24, 2024 pm 03:00 PM

编译|星璇出品|51CTO技术栈(微信号:blog51cto)在过去的两年里,我更多地参与了使用大型语言模型(LLMs)的生成AI项目,而非传统的系统。我开始怀念无服务器云计算。它们的应用范围广泛,从增强对话AI到为各行各业提供复杂的分析解决方案,以及其他许多功能。许多企业将这些模型部署在云平台上,因为公共云提供商已经提供了现成的生态系统,而且这是阻力最小的路径。然而,这并不便宜。云还提供了其他好处,如可扩展性、效率和高级计算能力(按需提供GPU)。在公共云平台上部署LLM的过程有一些鲜为人知的

顺手训了一个史上超大ViT?Google升级视觉语言模型PaLI:支持100+种语言顺手训了一个史上超大ViT?Google升级视觉语言模型PaLI:支持100+种语言Apr 12, 2023 am 09:31 AM

近几年自然语言处理的进展很大程度上都来自于大规模语言模型,每次发布的新模型都将参数量、训练数据量推向新高,同时也会对现有基准排行进行一次屠榜!比如今年4月,Google发布5400亿参数的语言模型PaLM(Pathways Language Model)在语言和推理类的一系列测评中成功超越人类,尤其是在few-shot小样本学习场景下的优异性能,也让PaLM被认为是下一代语言模型的发展方向。同理,视觉语言模型其实也是大力出奇迹,可以通过提升模型的规模来提升性能。当然了,如果只是多任务的视觉语言模

大规模语言模型高效参数微调--BitFit/Prefix/Prompt 微调系列大规模语言模型高效参数微调--BitFit/Prefix/Prompt 微调系列Oct 07, 2023 pm 12:13 PM

2018年谷歌发布了BERT,一经面世便一举击败11个NLP任务的State-of-the-art(Sota)结果,成为了NLP界新的里程碑;BERT的结构如下图所示,左边是BERT模型预训练过程,右边是对于具体任务的微调过程。其中,微调阶段是后续用于一些下游任务的时候进行微调,例如:文本分类,词性标注,问答系统等,BERT无需调整结构就可以在不同的任务上进行微调。通过”预训练语言模型+下游任务微调”的任务设计,带来了强大的模型效果。从此,“预训练语言模型+下游任务微调”便成为了NLP领域主流训

RoSA: 一种高效微调大模型参数的新方法RoSA: 一种高效微调大模型参数的新方法Jan 18, 2024 pm 05:27 PM

随着语言模型扩展到前所未有的规模,对下游任务进行全面微调变得十分昂贵。为了解决这个问题,研究人员开始关注并采用PEFT方法。PEFT方法的主要思想是将微调的范围限制在一小部分参数上,以降低计算成本,同时仍能实现自然语言理解任务的最先进性能。通过这种方式,研究人员能够在保持高性能的同时,节省计算资源,为自然语言处理领域带来新的研究热点。RoSA是一种新的PEFT技术,通过在一组基准测试的实验中,发现在使用相同参数预算的情况下,RoSA表现出优于先前的低秩自适应(LoRA)和纯稀疏微调方法。本文将深

Meta 推出 AI 语言模型 LLaMA,一个有着 650 亿参数的大型语言模型Meta 推出 AI 语言模型 LLaMA,一个有着 650 亿参数的大型语言模型Apr 14, 2023 pm 06:58 PM

2月25日消息,Meta在当地时间周五宣布,它将推出一种针对研究社区的基于人工智能(AI)的新型大型语言模型,与微软、谷歌等一众受到ChatGPT刺激的公司一同加入人工智能竞赛。Meta的LLaMA是“大型语言模型MetaAI”(LargeLanguageModelMetaAI)的缩写,它可以在非商业许可下提供给政府、社区和学术界的研究人员和实体工作者。该公司将提供底层代码供用户使用,因此用户可以自行调整模型,并将其用于与研究相关的用例。Meta表示,该模型对算力的要

BLOOM可以为人工智能研究创造一种新的文化,但挑战依然存在BLOOM可以为人工智能研究创造一种新的文化,但挑战依然存在Apr 09, 2023 pm 04:21 PM

​译者 | 李睿审校 | 孙淑娟BigScience研究项目日前发布了一个大型语言模型BLOOM,乍一看,它看起来像是复制OpenAI的GPT-3的又一次尝试。 但BLOOM与其他大型自然语言模型(LLM)的不同之处在于,它在研究、开发、培训和发布机器学习模型方面所做的努力。近年来,大型科技公司将大型自然语言模型(LLM)就像严守商业机密一样隐藏起来,而BigScience团队从项目一开始就把透明与开放放在了BLOOM的中心。 其结果是一个大型语言模型,可以供研究和学习,并可供所有人使用。B

See all articles

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)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft