ibm-research / PowerMoE-3b

huggingface.co
Total runs: 234.9K
24-hour runs: 0
7-day runs: -154.3K
30-day runs: -1.1M
Model's Last Updated: September 25 2024
text-generation

Introduction of PowerMoE-3b

Model Details of PowerMoE-3b

Model Summary

PowerMoE-3B is a 3B sparse Mixture-of-Experts (sMoE) language model trained with the Power learning rate scheduler. It sparsely activates 800M parameters for each token. It is trained on a mix of open-source and proprietary datasets. PowerMoE-3B has shown promising results compared to other dense models with 2x activate parameters across various benchmarks, including natural language multi-choices, code generation, and math reasoning. Paper: https://arxiv.org/abs/2408.13359

Usage

Note: Requires installing HF transformers from source.

Generation

This is a simple example of how to use PowerMoE-3b model.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # or "cpu"
model_path = "ibm/PowerMoE-3b"
tokenizer = AutoTokenizer.from_pretrained(model_path)
# drop device_map if running on CPU
model = AutoModelForCausalLM.from_pretrained(model_path, device_map=device)
model.eval()
# change input text as desired
prompt = "Write a code to find the maximum value in a list of numbers."
# tokenize the text
input_tokens = tokenizer(prompt, return_tensors="pt")
# transfer tokenized inputs to the device
for i in input_tokens:
    input_tokens[i] = input_tokens[i].to(device)
# generate output tokens
output = model.generate(**input_tokens, max_new_tokens=100)
# decode output tokens into text
output = tokenizer.batch_decode(output)
# loop over the batch to print, in this example the batch size is 1
for i in output:
    print(i)

Runs of ibm-research PowerMoE-3b on huggingface.co

234.9K
Total runs
0
24-hour runs
0
3-day runs
-154.3K
7-day runs
-1.1M
30-day runs

More Information About PowerMoE-3b huggingface.co Model

More PowerMoE-3b license Visit here:

https://choosealicense.com/licenses/apache-2.0

PowerMoE-3b huggingface.co

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

ibm-research PowerMoE-3b online free

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

ibm-research PowerMoE-3b online free url in huggingface.co:

https://huggingface.co/ibm-research/PowerMoE-3b

PowerMoE-3b install

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

PowerMoE-3b install url in huggingface.co:

https://huggingface.co/ibm-research/PowerMoE-3b

Url of PowerMoE-3b

Provider of PowerMoE-3b huggingface.co

ibm-research
ORGANIZATIONS

Other API from ibm-research

huggingface.co

Total runs: 33.7K
Run Growth: -38.5K
Growth Rate: -114.23%
Updated:March 20 2026
huggingface.co

Total runs: 24.1K
Run Growth: -25.7K
Growth Rate: -106.27%
Updated:September 16 2024
huggingface.co

Total runs: 5.9K
Run Growth: 296
Growth Rate: 5.05%
Updated:March 24 2026
huggingface.co

Total runs: 4.1K
Run Growth: -7.7K
Growth Rate: -188.77%
Updated:January 18 2025
huggingface.co

Total runs: 1.5K
Run Growth: -832
Growth Rate: -54.88%
Updated:October 12 2022