Download modeling_olmo.py from repetition-experiments/test: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/repetition-experiments/test/resolve/main/modeling_olmo.py
- Command line
-
hf download hf://repetition-experiments/test/modeling_olmo.py
-
curl -L -o modeling_olmo.py https://huggingface.co/repetition-experiments/test/resolve/main/modeling_olmo.py
131 Bytes
| from hf_olmo import OLMoForCausalLM, OLMoConfig | |
| from transformers import AutoModel | |
| AutoModel.register(OLMoConfig, OLMoForCausalLM) |