Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that "auto" methods do not work with HF OLMo checkpoints #588

Merged
merged 1 commit into from
May 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Checkpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ Transformers checkpoints can be found in HF Hub repos that end in `-hf` (e.g. [O
HF OLMo checkpoints
---

These checkpoints can be used with the Transformers-style OLMo implementation in the `hf_olmo` package. This implementation has only partial support for Transformers functionality. Consequently, we recommend using Transformers checkpoints over these if available. These checkpoints cannot be used with the pretraining/fine-tuning script provided in this repo.
These checkpoints can be used with the Transformers-style OLMo implementation in the `hf_olmo` package. This implementation has only partial support for Transformers functionality. In particular, using "auto" methods like `AutoModelForCausalLM` with these checkpoints is not supported. Consequently, we recommend using Transformers checkpoints over these if available. These checkpoints cannot be used with the pretraining/fine-tuning script provided in this repo.

The following checkpoints on HF Hub are HF OLMo checkpoints:
- [OLMo-1.7-7B](https://huggingface.co/allenai/OLMo-1.7-7B)
- [OLMo-1B](https://huggingface.co/allenai/OLMo-1B)
- [OLMo-7B](https://huggingface.co/allenai/OLMo-7B)
- [OLMo-7B-Twin-2T](https://huggingface.co/allenai/OLMo-7B-Twin-2T)

An OLMo checkpoint can be converted into its HF OLMo equivalent using [convert_olmo_to_hf.py](https://github.com/allenai/OLMo/blob/main/hf_olmo/convert_olmo_to_hf.py).
An OLMo checkpoint can be converted into its HF OLMo equivalent using [convert_olmo_to_hf.py](https://github.com/allenai/OLMo/blob/main/hf_olmo/convert_olmo_to_hf.py).
Loading