SparseLLM / relu2-60B

huggingface.co
Total runs: 1
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: February 07 2024
text-generation

Introduction of relu2-60B

Model Details of relu2-60B

Background

Sparse computation is increasingly recognized as an important direction in enhancing the computational efficiency of large language models (LLMs).

Prior research has demonstrated that LLMs utilizing the ReLU activation function exhibit sparse activations. Interestingly, our findings indicate that models based on SwiGLU also manifest sparse activations.

This phenomenon prompts an essential question: Which activation function is optimal for sparse LLMs? Although previous works on activation function selection have focused on the performance of LLMs, we argue that the efficiency of sparse computation should also be considered so that the LLMs can proceed with efficient inference while preserving performance.

To answer this question, we pretrain 4 LLMs with different activation functions, including ReLU, SwiGLU, ReGLU, and Squared ReLU to do more comprehensive experiments.

Dataset

We pretrain the model on 100 billion tokens, including:

  • Refinedweb
  • SlimPajama
Training Hyper-parameters
Parameter Value
Batch_Size 4M
GPUs 64xA100(80G)
LR_Scheduler cosine
LR 3e-4
Citation:

Please kindly cite using the following BibTeX:

@article{zhang2024relu2,
      title={ReLU$^2$ Wins: Discovering Efficient Activation Functions for Sparse LLMs}, 
      author={Zhengyan Zhang and Yixin Song and Guanghui Yu and Xu Han and Yankai Lin and Chaojun Xiao and Chenyang Song and Zhiyuan Liu and Zeyu Mi and Maosong Sun},
      journal = {arXiv preprint arXiv:2402.03804},
       year={2024},
}

Runs of SparseLLM relu2-60B on huggingface.co

1
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About relu2-60B huggingface.co Model

More relu2-60B license Visit here:

https://choosealicense.com/licenses/llama2

relu2-60B huggingface.co

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

SparseLLM relu2-60B online free

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

SparseLLM relu2-60B online free url in huggingface.co:

https://huggingface.co/SparseLLM/relu2-60B

relu2-60B install

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

relu2-60B install url in huggingface.co:

https://huggingface.co/SparseLLM/relu2-60B

Url of relu2-60B

Provider of relu2-60B huggingface.co

SparseLLM
ORGANIZATIONS

Other API from SparseLLM

huggingface.co

Total runs: 5
Run Growth: 4
Growth Rate: 80.00%
Updated:February 07 2024
huggingface.co

Total runs: 4
Run Growth: 3
Growth Rate: 75.00%
Updated:February 07 2024
huggingface.co

Total runs: 4
Run Growth: 2
Growth Rate: 50.00%
Updated:February 07 2024
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 3
Run Growth: 1
Growth Rate: 33.33%
Updated:February 07 2024
huggingface.co

Total runs: 3
Run Growth: 1
Growth Rate: 33.33%
Updated:February 07 2024
huggingface.co

Total runs: 3
Run Growth: 2
Growth Rate: 66.67%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: -1
Growth Rate: -50.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: -1
Growth Rate: -50.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: -3
Growth Rate: -150.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: -2
Growth Rate: -100.00%
Updated:February 07 2024
huggingface.co

Total runs: 2
Run Growth: -1
Growth Rate: -50.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -4
Growth Rate: -400.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -2
Growth Rate: -200.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -3
Growth Rate: -300.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -2
Growth Rate: -200.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:February 07 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 07 2024
huggingface.co

Total runs: 0
Run Growth: -1
Growth Rate: 0.00%
Updated:February 07 2024