Update index.py
This commit is contained in:
parent
03cc42c22d
commit
f0f87b64f4
3
index.py
3
index.py
@ -13,7 +13,8 @@ import numpy as np
|
|||||||
from FlagEmbedding import BGEM3FlagModel
|
from FlagEmbedding import BGEM3FlagModel
|
||||||
|
|
||||||
# --- Paramètres -------------------------------------------------------------
|
# --- Paramètres -------------------------------------------------------------
|
||||||
ROOT = Path("/app/Fiches") # dossier monté contenant les fiches
|
# Si vous exécutez ce script SUR L’HÔTE, mettez le chemin local
|
||||||
|
ROOT = Path("Fiches") # ou Path("/home/fabnum/fabnum-dev/Fiches") # dossier monté contenant les fiches
|
||||||
MODEL_NAME = "BAAI/bge-m3" # embedding multilingue, licence MIT
|
MODEL_NAME = "BAAI/bge-m3" # embedding multilingue, licence MIT
|
||||||
CHUNK = 800 # taille cible (≈600 mots)
|
CHUNK = 800 # taille cible (≈600 mots)
|
||||||
OVERLAP = 100 # chevauchement pour la cohésion
|
OVERLAP = 100 # chevauchement pour la cohésion
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user