Skip to content

Commit 7064c2e

Browse files
committed
Merge branch 'main' into samuel/graph-rag
2 parents 3cf90ae + 81013aa commit 7064c2e

File tree

7 files changed

+2772
-1750
lines changed

7 files changed

+2772
-1750
lines changed

Diff for: .env

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# force the use of the correct CUDA version shipped with torch pip package
2+
LD_LIBRARY_PATH=/home/guillaume/Projects/AMLD2025/.venv/lib/python3.12/site-packages/torch/lib:${LD_LIBRARY_PATH}
3+
LD_LIBRARY_PATH=/home/guillaume/Projects/AMLD2025/.venv/lib/python3.12/site-packages/nvidia/cusparse/lib:${LD_LIBRARY_PATH}
4+
LD_LIBRARY_PATH=/home/guillaume/Projects/AMLD2025/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/lib:${LD_LIBRARY_PATH}
5+
LD_LIBRARY_PATH=/home/guillaume/Projects/AMLD2025/.venv/lib/python3.12/site-packages/nvidia/nvjitlink/lib:${LD_LIBRARY_PATH}

Diff for: .gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ __pycache__
44
cache_claims/
55
cache_embeddings/
66
cache_graphs/
7-
.env
7+
.env
8+
outputs
9+
_unsloth*

Diff for: .vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.envFile": "${workspaceFolder}/.env"
3+
}

Diff for: 001_finetuning.ipynb

+2,311
Large diffs are not rendered by default.

Diff for: images/PPO_vs_GRPO.png

75.1 KB
Loading

Diff for: pyproject.toml

+38-13
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,45 @@ name = "amld2025"
33
version = "0.1.0"
44
description = "Workshop: Leveraging Large Language Models for Intelligent Claim Handling: A Hands-On Industry Case Study"
55
readme = "README.md"
6-
requires-python = ">=3.12"
6+
requires-python = ">=3.11,<3.12"
77
dependencies = [
8-
"backoff>=2.2.1",
9-
"jupyter>=1.1.1",
10-
"neo4j>=5.28.1",
11-
"numpy>=2.2.2",
12-
"openai>=1.61.1",
13-
"pandas>=2.2.3",
14-
"pydantic>=2.10.6",
15-
"python-dotenv>=1.0.1",
8+
"backoff>=2.2.1",
9+
"jupyter>=1.1.1",
10+
"neo4j>=5.28.1",
11+
"numpy>=1.24.0,<2.0.0",
12+
"openai>=1.61.1",
13+
"pandas>=2.2.3",
14+
"pydantic>=2.10.6",
15+
"python-dotenv>=1.0.1",
16+
"matplotlib>=3.10.0",
17+
"pillow>=11.1.0",
18+
"pydantic>=2.10.6",
19+
"scikit-learn>=1.6.1",
20+
"seaborn>=0.13.2",
21+
"torch<=2.4.0; platform_machine=='x86_64' and platform_system=='Darwin'", # Intel Mac
22+
"torch>=2.5.1; platform_machine=='arm64' and platform_system=='Darwin'", # Apple Silicon
23+
"torch>=2.5.1; sys_platform=='linux' or sys_platform=='win32'", # Linux/Windows
24+
"torchvision<=0.15.2; platform_machine=='x86_64' and platform_system=='Darwin'", # Intel Mac
25+
"torchvision>=0.20.1; platform_machine=='arm64' and platform_system=='Darwin'", # Apple Silicon
26+
"torchvision>=0.20.1; sys_platform=='linux' or sys_platform=='win32'", # Linux/Windows
27+
"unsloth>=2025.2.5; platform_machine=='arm64' and platform_system=='Darwin'", # Only on Apple Silicon
28+
"unsloth>=2025.2.5; sys_platform=='linux' or sys_platform=='win32'", # Only on Linux/Windows
29+
"vllm>=0.7.2; platform_machine=='arm64' and platform_system=='Darwin'", # Only on Apple Silicon
30+
"vllm>=0.7.2; sys_platform=='linux' or sys_platform=='win32'", # Only on Linux/Windows
1631
]
1732

18-
[dependency-groups]
19-
dev = [
20-
"mypy>=1.15.0",
21-
"ruff>=0.9.5",
33+
[[tool.uv.index]]
34+
name = "pytorch-cu124"
35+
url = "https://download.pytorch.org/whl/cu124"
36+
explicit = true
37+
38+
[tool.uv.sources]
39+
torch = [
40+
{ index = "pytorch-cu124", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
41+
]
42+
torchvision = [
43+
{ index = "pytorch-cu124", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
2244
]
45+
46+
[dependency-groups]
47+
dev = ["mypy>=1.15.0", "ruff>=0.9.5"]

Diff for: uv.lock

+412-1,736
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)