Views
No views yet
facebook/galactica-30b.1(env) ubuntu@vm:~$ JAX_PLATFORM_NAME=cpu python3
2>>> import jax
3>>> print(jax.devices())
4[CpuDevice(id=0)] # Ensure that model weights are loaded into CPU RAM, not accelerator memory.
5>>> from transformers import FlaxOPTForCausalLM
6>>> model = FlaxOPTForCausalLM.from_pretrained("facebook/galactica-30b", from_pt=True)
7>>> model.push_to_hub(hf_model_repo)1@inproceedings{GALACTICA,
2 title={GALACTICA: A Large Language Model for Science},
3 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},
4 year={2022}
5}Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC)