ibm-research / PowerLM-3b

huggingface.co
Total runs: 19.5K
24-hour runs: 0
7-day runs: -6.9K
30-day runs: -30.0K
Model's Last Updated: September 16 2024
text-generation

Introduction of PowerLM-3b

Model Details of PowerLM-3b

Model Summary

PowerLM-3B is a 3B state-of-the-art small language model trained with the Power learning rate scheduler. It is trained on a mix of open-source and proprietary datasets. PowerLM-3B has shown promising results compared to other models in the size categories 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 PowerLM-3b model.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # or "cpu"
model_path = "ibm/PowerLM-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 PowerLM-3b on huggingface.co

19.5K
Total runs
0
24-hour runs
0
3-day runs
-6.9K
7-day runs
-30.0K
30-day runs

More Information About PowerLM-3b huggingface.co Model

More PowerLM-3b license Visit here:

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

PowerLM-3b huggingface.co

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

ibm-research PowerLM-3b online free

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

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

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

PowerLM-3b install

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

PowerLM-3b install url in huggingface.co:

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

Url of PowerLM-3b

Provider of PowerLM-3b huggingface.co

ibm-research
ORGANIZATIONS

Other API from ibm-research

huggingface.co

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

Total runs: 4.0K
Run Growth: -8.0K
Growth Rate: -197.75%
Updated:January 18 2025
huggingface.co

Total runs: 1.4K
Run Growth: -735
Growth Rate: -51.94%
Updated:October 12 2022