ybelkada / bloom-1b7-8bit

huggingface.co
Total runs: 193
24-hour runs: -7
7-day runs: -41
30-day runs: -168
Model's Last Updated: April 17 2023
text-generation

Introduction of bloom-1b7-8bit

Model Details of bloom-1b7-8bit

BLOOM LM - 8bit

BigScience Large Open-science Open-access Multilingual Language Model - 8bit
Model Card
BigScience Logo

Version 1.0 / 26.May.2022

Related paper: https://arxiv.org/abs/2208.07339

TL;DR

This repository contains 8bit weights of bloom-1b7 model. You can load this model using transformers==4.28.0 and bitsandbytes>0.37.2 out of the box !

# pip install accelerate bitsandbytes
from transformers import AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained("ybelkada/bloom-1b7-8bit")
How to push 8bit weights?

First, make sure you are using transformers & bitsandbytes versions stated above. Then load your 8bit model as usual using load_in_8bit=True !

# pip install accelerate bitsandbytes
from transformers import AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained("bigscience/bloom-1b7", device_map="auto", load_in_8bit=True)

Then just call push_to_hub method or save_pretrained method if you want to save your 8bit model locally

model.push_to_hub("{your_username}/bloom-1b7-8bit")

That's it!

What is inside the model's state_dict ?

Inside the state dict of the model ( pytorch_model.bin file) you have

  • the quantized int8 weights
  • the quantization statistics in float16

Runs of ybelkada bloom-1b7-8bit on huggingface.co

193
Total runs
-7
24-hour runs
-22
3-day runs
-41
7-day runs
-168
30-day runs

More Information About bloom-1b7-8bit huggingface.co Model

bloom-1b7-8bit huggingface.co

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

bloom-1b7-8bit huggingface.co Url

https://huggingface.co/ybelkada/bloom-1b7-8bit

ybelkada bloom-1b7-8bit online free

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

ybelkada bloom-1b7-8bit online free url in huggingface.co:

https://huggingface.co/ybelkada/bloom-1b7-8bit

bloom-1b7-8bit install

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

bloom-1b7-8bit install url in huggingface.co:

https://huggingface.co/ybelkada/bloom-1b7-8bit

Url of bloom-1b7-8bit

bloom-1b7-8bit huggingface.co Url

Provider of bloom-1b7-8bit huggingface.co

ybelkada
ORGANIZATIONS

Other API from ybelkada

huggingface.co

Total runs: 1
Run Growth: 1
Growth Rate: 100.00%
Updated:December 21 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 29 2023