stabilityai / stablelm-base-alpha-3b

huggingface.co
Total runs: 2.1K
24-hour runs: -4
7-day runs: -28
30-day runs: 94
Model's Last Updated: October 19 2023
text-generation

Introduction of stablelm-base-alpha-3b

Model Details of stablelm-base-alpha-3b

StableLM-Base-Alpha

📢 DISCLAIMER : The StableLM-Base-Alpha models have been superseded. Find the latest versions in the Stable LM Collection here .

Model Description

StableLM-Base-Alpha is a suite of 3B and 7B parameter decoder-only language models pre-trained on a diverse collection of English and Code datasets with a sequence length of 4096 to push beyond the context window limitations of existing open-source language models.

Usage

Get started generating text with StableLM-Base-Alpha by using the following code snippet:

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("StabilityAI/stablelm-base-alpha-3b")
model = AutoModelForCausalLM.from_pretrained("StabilityAI/stablelm-base-alpha-3b")
model.half().cuda()

inputs = tokenizer("What's your mood today?", return_tensors="pt").to("cuda")
tokens = model.generate(
  **inputs,
  max_new_tokens=64,
  temperature=0.7,
  do_sample=True,
)
print(tokenizer.decode(tokens[0], skip_special_tokens=True))
Model Details
  • Developed by : Stability AI

  • Model type : StableLM-Base-Alpha models are auto-regressive language models based on the NeoX transformer architecture.

  • Language(s) : English

  • Library : GPT-NeoX

  • License : Base model checkpoints (StableLM-Base-Alpha) are licensed under the Creative Commons license (CC BY-SA-4.0). Under the license, you must give credit to Stability AI, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the Stability AI endorses you or your use.

  • Contact : For questions and comments about the model, please email [email protected]

Training
Parameters Hidden Size Layers Heads Sequence Length
3B 4096 16 32 4096
7B 6144 16 48 4096
Training Dataset

StableLM-Base-Alpha is pre-trained on a new experimental dataset built atop The Pile and is threes times larger at approximately 1.5T tokens.

Training Procedure

Models are pre-trained on the aforementioned dataset in mixed-precision (FP16), optimized with Adam, and trained using the NeoX tokenizer with a vocabulary size of 50,257. We outline the complete hyperparameters choices in the project's GitHub repository .

Use and Limitations
Intended Use

These models are intended to be used by all individuals as foundational models for application-specific fine-tuning without strict limitations on commercial use.

Limitations and bias

The pre-training dataset may contain offensive or inappropriate content even after applying data cleansing filters which can be reflected in generated text. We recommend users exercise reasonable caution when using these models in production systems. Do not use the models for any applications that may cause harm or distress to individuals or groups.

Citations
@software{gpt-neox-library,
  title = {{GPT-NeoX: Large Scale Autoregressive Language Modeling in PyTorch}},
  author = {Andonian, Alex and Anthony, Quentin and Biderman, Stella and Black, Sid and Gali, Preetham and Gao, Leo and Hallahan, Eric and Levy-Kramer, Josh and Leahy, Connor and Nestler, Lucas and Parker, Kip and Pieler, Michael and Purohit, Shivanshu and Songz, Tri and Phil, Wang and Weinbach, Samuel},
  url = {https://www.github.com/eleutherai/gpt-neox},
  doi = {10.5281/zenodo.5879544},
  month = {8},
  year = {2021},
  version = {0.0.1},
}

Runs of stabilityai stablelm-base-alpha-3b on huggingface.co

2.1K
Total runs
-4
24-hour runs
-6
3-day runs
-28
7-day runs
94
30-day runs

More Information About stablelm-base-alpha-3b huggingface.co Model

More stablelm-base-alpha-3b license Visit here:

https://choosealicense.com/licenses/cc-by-sa-4.0

stablelm-base-alpha-3b huggingface.co

stablelm-base-alpha-3b huggingface.co is an AI model on huggingface.co that provides stablelm-base-alpha-3b's model effect (), which can be used instantly with this stabilityai stablelm-base-alpha-3b model. huggingface.co supports a free trial of the stablelm-base-alpha-3b model, and also provides paid use of the stablelm-base-alpha-3b. Support call stablelm-base-alpha-3b model through api, including Node.js, Python, http.

stablelm-base-alpha-3b huggingface.co Url

https://huggingface.co/stabilityai/stablelm-base-alpha-3b

stabilityai stablelm-base-alpha-3b online free

stablelm-base-alpha-3b huggingface.co is an online trial and call api platform, which integrates stablelm-base-alpha-3b's modeling effects, including api services, and provides a free online trial of stablelm-base-alpha-3b, you can try stablelm-base-alpha-3b online for free by clicking the link below.

stabilityai stablelm-base-alpha-3b online free url in huggingface.co:

https://huggingface.co/stabilityai/stablelm-base-alpha-3b

stablelm-base-alpha-3b install

stablelm-base-alpha-3b is an open source model from GitHub that offers a free installation service, and any user can find stablelm-base-alpha-3b on GitHub to install. At the same time, huggingface.co provides the effect of stablelm-base-alpha-3b install, users can directly use stablelm-base-alpha-3b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

stablelm-base-alpha-3b install url in huggingface.co:

https://huggingface.co/stabilityai/stablelm-base-alpha-3b

Url of stablelm-base-alpha-3b

stablelm-base-alpha-3b huggingface.co Url

Provider of stablelm-base-alpha-3b huggingface.co

stabilityai
ORGANIZATIONS

Other API from stabilityai

huggingface.co

Total runs: 168.8K
Run Growth: 25.6K
Growth Rate: 15.14%
Updated: August 04 2023
huggingface.co

Total runs: 77.8K
Run Growth: -43.1K
Growth Rate: -55.58%
Updated: July 10 2024
huggingface.co

Total runs: 40.5K
Run Growth: 12.8K
Growth Rate: 31.61%
Updated: August 09 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: July 10 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated: April 14 2024