The Lucie-7B LLM and the Lucie Training Dataset: Open resources for multilingual language generation
Paper
•
2503.12294
•
Published
•
1
None defined yet.
pip install logfire-callback
export LOGFIRE_TOKEN=your_logfire_token
from transformers import Trainer, TrainingArguments
from logfire_callback import LogfireCallback
# Initialize your model, dataset, etc.
training_args = TrainingArguments(
output_dir="./results",
num_train_epochs=3,
# ... other training arguments
)
trainer = Trainer(
model=model,
args=training_args,
train_dataset=train_dataset,
callbacks=[LogfireCallback()] # Add the Logfire callback here
)
trainer.train()