-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
FEAT: add tagging support to axolotl #1004
FEAT: add tagging support to axolotl #1004
Conversation
@winglian , shall we both quickly test if the tags work? I suggest we simply init a |
that would be great if you could test that to verify please. |
Thanks @winglian from transformers import TrainingArguments, AutoModelForCausalLM
from axolotl.core.trainer_builder import AxolotlTrainer, AxolotlMambaTrainer, OneCycleLRSchedulerTrainer, ReLoRATrainer
trainer_classes = [AxolotlTrainer, AxolotlMambaTrainer, OneCycleLRSchedulerTrainer, ReLoRATrainer]
model = AutoModelForCausalLM.from_pretrained("facebook/opt-125m")
for trainer_cls in trainer_classes:
args = TrainingArguments(
output_dir=f"test-axolotl-{trainer_cls.__name__.lower()}"
)
trainer = trainer_cls(
args=args,
model=model
)
trainer.push_to_hub() And you can find below, the links to all pushed trainers:
As you can see, they all have the tag |
This is really great, thanks @younesbelkada ! |
Hi there,
I would like to introduce a feature request to axolotl; automatic tagging when users push the trained model on the Hub. That way, you can easily filter on 🤗 Hub models that has been trained with axolotl with a simple filter: https://huggingface.co/models?other=axolotl&sort=created
Similar feature as: huggingface/trl#1133 that we added in TRL library
cc @winglian