Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ curl -sSL https://install.python-poetry.org | python3 -
```bash
# Install dependencies
poetry install

# Install flash-attn for Qwen3-Embedding-4B, it does not support PEP-517 builds, so no Poetry
pip install flash-attn --no-build-isolation
```

### Optional: Weights and Biases for Experiment Tracking
Expand Down Expand Up @@ -286,10 +289,10 @@ wandb login
# Using FP16 mixed precision for faster training
# Using a sample fraction of 0.5 to use half the dataset
nohup eridu train \
--model "intfloat/multilingual-e5-base" \
--model "Qwen/Qwen3-Embedding-4B" \
--use-gpu \
--fp16 \
--batch-size 32 \
--batch-size 128 \
--epochs 1 \
--patience 1 \
--weight-decay 0.01 \
Expand Down
32 changes: 31 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ cuml-cu12 = { version = "^25.6.0", source = "rapids" }
cleanco = "^2.3"
stop-words = "^2018.7.23"
langdetect = "^1.0.9"
packaging = "^25.0"
ninja = "^1.13.0"

[tool.poetry.group.dev.dependencies]
black = { version = "^25.1.0", extras = ["jupyter"] }
Expand Down