Skip to content
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

can't access my finetuned model #223

Open
GP24CairoUni opened this issue Jun 14, 2024 · 0 comments
Open

can't access my finetuned model #223

GP24CairoUni opened this issue Jun 14, 2024 · 0 comments

Comments

@GP24CairoUni
Copy link

from ragatouille import RAGTrainer

trainer = RAGTrainer(model_name="MyFineTunedColBERT",
pretrained_model_name="colbert-ir/colbertv2.0")

trainer.prepare_training_data(raw_data=positive_pairs,
data_out_path="./data2/",
all_documents=cleaned_documents,
mine_hard_negatives=True)

training_path = trainer.train(batch_size=16,
nbits=4,
maxsteps=500000,
use_ib_negatives=True,
dim=128,
learning_rate=5e-6,
doc_maxlen=256,
use_relu=False,
warmup_steps="auto")

image

I finished finetuning but I cant access and use the model again and no checkpoints on my local storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant