Downloads · 30 days
17
3% of all-time downloads
jacobthebanana/galactica-30b
galactica-30b is a text generation model from jacobthebanana. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
JAX weights converted from Torch checkpoint at facebook/galactica-30b.
Downloads · 30 days
17
3% of all-time downloads
All-time downloads
557
Public
Repo size
60 GB
Likes
1
Public
Click a slice to open those files.
.msgpack60 GB · 100%
From the Hugging Face model README
JAX weights converted from Torch checkpoint at facebook/galactica-30b.
(env) ubuntu@vm:~$ JAX_PLATFORM_NAME=cpu python3
>>> import jax
>>> print(jax.devices())
[CpuDevice(id=0)] # Ensure that model weights are loaded into CPU RAM, not accelerator memory.
>>> from transformers import FlaxOPTForCausalLM
>>> model = FlaxOPTForCausalLM.from_pretrained("facebook/galactica-30b", from_pt=True)
>>> model.push_to_hub(hf_model_repo)
Citation from the original repo is reproduced below as per the cc-by-nc-4.0 licsense.
@inproceedings{GALACTICA,
title={GALACTICA: A Large Language Model for Science},
author={Ross Taylor and Marcin Kardas and Guillem Cucurull and Thomas Scialom and Anthony Hartshorn and Elvis Saravia and Andrew Poulton and Viktor Kerkez and Robert Stojnic},
year={2022}
}
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC)