Closed JulesBelveze closed 5 months ago
This pull request introduces the implementation of the LtAdapter for adapter-based fine-tuning within the bert_squeeze framework.
LtAdapter
lt_adapter.py
train_adapter.yaml
train_assistant.py
bert_squeeze.models
test_train_assistant.py
TrainAssistant
pyproject.toml
transformers
adapters
Implement LtAdapter for adapter-based fine-tuning
This pull request introduces the implementation of the LtAdapter for adapter-based fine-tuning within the bert_squeeze framework.
Changes:
Feature implementation:
LtAdapter
class for adapter-based training functionality inlt_adapter.py
.train_adapter.yaml
for setting up LtAdapter training.train_assistant.py
to support the new "adapter" model type.LtAdapter
into thebert_squeeze.models
module for easy access and usage within the framework.Testing:
test_train_assistant.py
to ensure proper initialization and functioning ofTrainAssistant
with theLtAdapter
model.Dependencies & Fix:
pyproject.toml
to adjust thetransformers
library version, ensuring compatibility by setting it below version 4.36.0.adapters
version 0.1.1 to bring additional functionality required for adapter-based models.