-
Notifications
You must be signed in to change notification settings - Fork 40
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
OSS work: sdk and cli support for training retriever, e2e, and qa-gen, license #33
Conversation
README.md
Outdated
```shell | ||
git clone https://github.com/arcee-ai/DALM.git && cd DALM | ||
python -m venv .venv && source .venv/bin/activate | ||
pip install invoke |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this? I have never heard of this before.
also, how can users install the dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is how you install the dependencies. I added instructions to instlal without invoke, you don't need it, but it helps organize, like a Makefile
Alternatively, for development or research, you can clone and install the repo locally: | ||
```shell | ||
git clone https://github.com/arcee-ai/DALM.git && cd DALM | ||
pip install --upgrade -e . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other the license part and a nitpick, everything seems dandy and clean to me. Among other good things, I haven't seen this level of python type annotation/hints, awesome stuff 🥇
use_peft: Annotated[bool, typer.Option(help="Whether to use Peft during fine-tuning.")] = True, | ||
) -> None: | ||
"""End-to-end train an in-domain model, including the retreiver and generator""" | ||
train_e2e( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this file a bit more simplified? I feel like too many arguments passing here and there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what you mean? It's just the 1 function. This is identical to how we have it with argparse https://github.com/arcee-ai/DALM/blob/main/dalm/training/rag_e2e/train_rage2e.py#L58-L211
Why is this confusing but argparse isn't?
dalm
that can be called post installdalm
clicloses #22
closes #21
closes #15