Many models now have their checkpoints shared (e.g. allenai/OLMo-1B at main )
But it is often hard to recreate by code the naming conventions of the revisions (e.g., in the example above, the tokens seen is not a series one can compute).
Is there a way to ask the hub (or github API?) for a list of all the revisions a model has?
nonworking code example
import hub
revision_list = hub.get_revision("olmo-7B")
for rev in revision_list:
print(rev) # StepxTokensY