update batch size for embeddings
This commit is contained in:
parent
f46297255d
commit
bc2e9656a1
|
|
@ -28,8 +28,8 @@ DB_CONFIG = {
|
||||||
'password': 'hadith_ingest' # UPDATE THIS
|
'password': 'hadith_ingest' # UPDATE THIS
|
||||||
}
|
}
|
||||||
|
|
||||||
# BATCH_SIZE = 8 # Process 32 hadiths at a time
|
BATCH_SIZE = 8 # Process 32 hadiths at a time
|
||||||
BATCH_SIZE = 32 # Process 32 hadiths at a time
|
# BATCH_SIZE = 32 # Process 32 hadiths at a time
|
||||||
MAX_TEXT_LENGTH = 1500 # Truncate individual texts to avoid issues
|
MAX_TEXT_LENGTH = 1500 # Truncate individual texts to avoid issues
|
||||||
COLLECTION_NAME = "hadith_embeddings"
|
COLLECTION_NAME = "hadith_embeddings"
|
||||||
VERIFY_SSL = False # Ignore SSL certificate verification
|
VERIFY_SSL = False # Ignore SSL certificate verification
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue