PraisonAI 2.0.72__cp313-cp313-manylinux_2_39_x86_64.whl → 2.0.73__cp313-cp313-manylinux_2_39_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of PraisonAI might be problematic. Click here for more details.
- praisonai/deploy.py +1 -1
- praisonai/train.py +15 -15
- {praisonai-2.0.72.dist-info → praisonai-2.0.73.dist-info}/METADATA +1 -1
- {praisonai-2.0.72.dist-info → praisonai-2.0.73.dist-info}/RECORD +7 -7
- {praisonai-2.0.72.dist-info → praisonai-2.0.73.dist-info}/LICENSE +0 -0
- {praisonai-2.0.72.dist-info → praisonai-2.0.73.dist-info}/WHEEL +0 -0
- {praisonai-2.0.72.dist-info → praisonai-2.0.73.dist-info}/entry_points.txt +0 -0
praisonai/deploy.py
CHANGED
|
@@ -56,7 +56,7 @@ class CloudDeployer:
|
|
|
56
56
|
file.write("FROM python:3.11-slim\n")
|
|
57
57
|
file.write("WORKDIR /app\n")
|
|
58
58
|
file.write("COPY . .\n")
|
|
59
|
-
file.write("RUN pip install flask praisonai==2.0.
|
|
59
|
+
file.write("RUN pip install flask praisonai==2.0.73 gunicorn markdown\n")
|
|
60
60
|
file.write("EXPOSE 8080\n")
|
|
61
61
|
file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')
|
|
62
62
|
|
praisonai/train.py
CHANGED
|
@@ -217,23 +217,23 @@ class TrainModel:
|
|
|
217
217
|
tokenized_dataset = self.tokenize_dataset(raw_dataset)
|
|
218
218
|
print("DEBUG: Dataset tokenization complete.")
|
|
219
219
|
training_args = TrainingArguments(
|
|
220
|
-
per_device_train_batch_size=2,
|
|
221
|
-
gradient_accumulation_steps=
|
|
222
|
-
warmup_steps=
|
|
223
|
-
max_steps=
|
|
224
|
-
learning_rate=2e-4,
|
|
225
|
-
fp16=not is_bfloat16_supported(),
|
|
226
|
-
bf16=is_bfloat16_supported(),
|
|
227
|
-
logging_steps=
|
|
228
|
-
optim="adamw_8bit",
|
|
229
|
-
weight_decay=0.01,
|
|
230
|
-
lr_scheduler_type="linear",
|
|
231
|
-
seed=3407,
|
|
232
|
-
output_dir="outputs",
|
|
220
|
+
per_device_train_batch_size=self.config.get("per_device_train_batch_size", 2),
|
|
221
|
+
gradient_accumulation_steps=self.config.get("gradient_accumulation_steps", 2),
|
|
222
|
+
warmup_steps=self.config.get("warmup_steps", 50),
|
|
223
|
+
max_steps=self.config.get("max_steps", 2800),
|
|
224
|
+
learning_rate=self.config.get("learning_rate", 2e-4),
|
|
225
|
+
fp16=self.config.get("fp16", not is_bfloat16_supported()),
|
|
226
|
+
bf16=self.config.get("bf16", is_bfloat16_supported()),
|
|
227
|
+
logging_steps=self.config.get("logging_steps", 15),
|
|
228
|
+
optim=self.config.get("optim", "adamw_8bit"),
|
|
229
|
+
weight_decay=self.config.get("weight_decay", 0.01),
|
|
230
|
+
lr_scheduler_type=self.config.get("lr_scheduler_type", "linear"),
|
|
231
|
+
seed=self.config.get("seed", 3407),
|
|
232
|
+
output_dir=self.config.get("output_dir", "outputs"),
|
|
233
233
|
report_to="none" if not os.getenv("PRAISON_WANDB") else "wandb",
|
|
234
|
-
save_steps=100 if os.getenv("PRAISON_WANDB") else None,
|
|
234
|
+
save_steps=self.config.get("save_steps", 100) if os.getenv("PRAISON_WANDB") else None,
|
|
235
235
|
run_name=os.getenv("PRAISON_WANDB_RUN_NAME", "praisonai-train") if os.getenv("PRAISON_WANDB") else None,
|
|
236
|
-
remove_unused_columns=False,
|
|
236
|
+
remove_unused_columns=self.config.get("remove_unused_columns", False),
|
|
237
237
|
)
|
|
238
238
|
# Since the dataset is pre-tokenized, we supply a dummy dataset_text_field.
|
|
239
239
|
trainer = SFTTrainer(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: PraisonAI
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.73
|
|
4
4
|
Summary: PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.
|
|
5
5
|
Author: Mervin Praison
|
|
6
6
|
Requires-Python: >=3.10,<3.13
|
|
@@ -5,7 +5,7 @@ praisonai/api/call.py,sha256=krOfTCZM_bdbsNuWQ1PijzCHECkDvEi9jIvvZaDQUUU,11035
|
|
|
5
5
|
praisonai/auto.py,sha256=uLDm8CU3L_3amZsd55yzf9RdBF1uW-BGSx7nl9ctNZ4,8680
|
|
6
6
|
praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
|
|
7
7
|
praisonai/cli.py,sha256=cu7Eit5i-UIcEkylDl0iJvrDBrW-ueobHmjwlx8dmQo,25442
|
|
8
|
-
praisonai/deploy.py,sha256=
|
|
8
|
+
praisonai/deploy.py,sha256=L5ot0aZ91R3TKmgu4CZUGAOtwEUO-UPGD4k4NhoID8w,6028
|
|
9
9
|
praisonai/inbuilt_tools/__init__.py,sha256=fai4ZJIKz7-iOnGZv5jJX0wmT77PKa4x2jqyaJddKFA,569
|
|
10
10
|
praisonai/inbuilt_tools/autogen_tools.py,sha256=kJdEv61BTYvdHOaURNEpBcWq8Rs-oC03loNFTIjT-ak,4687
|
|
11
11
|
praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
|
|
@@ -33,7 +33,7 @@ praisonai/setup/setup_conda_env.py,sha256=4QiWrqgEObivzOMwfJgWaCPpUEpB68cQ6lFwVw
|
|
|
33
33
|
praisonai/setup/setup_conda_env.sh,sha256=tU6CeQdOB-Tka21C4qYhaCtVNOzLf1A6jlYEf_DIXuo,4087
|
|
34
34
|
praisonai/setup.py,sha256=0jHgKnIPCtBZiGYaYyTz3PzrJI6nBy55VXk2UctXlDo,373
|
|
35
35
|
praisonai/test.py,sha256=OL-wesjA5JTohr8rtr6kWoaS4ImkJg2l0GXJ-dUUfRU,4090
|
|
36
|
-
praisonai/train.py,sha256=
|
|
36
|
+
praisonai/train.py,sha256=Kxe6f1DNojb5Vw420NUMuHoRB2jvExrsgl1MKIqWq38,24105
|
|
37
37
|
praisonai/ui/README.md,sha256=QG9yucvBieVjCjWFzu6hL9xNtYllkoqyJ_q1b0YYAco,1124
|
|
38
38
|
praisonai/ui/agents.py,sha256=1qsWE2yCaQKhuc-1uLHdMfZJeOXzBtp4pe5q7bk2EuA,32813
|
|
39
39
|
praisonai/ui/callbacks.py,sha256=V4_-GjxmjDFmugUZGfQHKtNSysx7rT6i1UblbM_8lIM,1968
|
|
@@ -82,8 +82,8 @@ praisonai/ui/realtimeclient/tools.py,sha256=IJOYwVOBW5Ocn5_iV9pFkmSKR3WU3YpX3kwF
|
|
|
82
82
|
praisonai/ui/sql_alchemy.py,sha256=oekZOXlRGMJ2SuC-lmgMMIzAmvbMg2DWeGTSpOzbVBM,29674
|
|
83
83
|
praisonai/ui/tools.md,sha256=Ad3YH_ZCLMWlz3mDXllQnQ_S5l55LWqLdcZSh-EXrHI,3956
|
|
84
84
|
praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
|
|
85
|
-
praisonai-2.0.
|
|
86
|
-
praisonai-2.0.
|
|
87
|
-
praisonai-2.0.
|
|
88
|
-
praisonai-2.0.
|
|
89
|
-
praisonai-2.0.
|
|
85
|
+
praisonai-2.0.73.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
|
|
86
|
+
praisonai-2.0.73.dist-info/METADATA,sha256=tSeHt5I1bqEO5c7E6pHG9EMKo7JTgCVFEu3fzZCfzCs,21942
|
|
87
|
+
praisonai-2.0.73.dist-info/WHEEL,sha256=OiNztsphQWM3l0xJ9BHQRElMnxzHbt1M68r2N60f8T8,110
|
|
88
|
+
praisonai-2.0.73.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
|
|
89
|
+
praisonai-2.0.73.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|