Skip to content
Merged
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ Star and join us, and you will receive all release notifications from GitHub wit

| Memory (GB) | Docker Deployment (Windows/Linux) | Docker Deployment (Mac) | Integrated Setup (Windows/Linux) | Integrated Setup (Mac) |
|--------------|-----------------------------|-------------------|--------------------------|----------------|
| 8 | ~0.8B (example) | ~0.4B (example) | ~1.0B (example) | ~0.6B (example) |
| 16 | 1.5B (example) | 0.5B (example) | ~2.0B (example) | ~0.8B (example) |
| 32 | ~2.8B (example) | ~1.2B (example) | ~3.5B (example) | ~1.5B (example) |
| 8 | ~0.7B | ~0.7B | ~1.5B | ~0.7B |
| 16 | 1.5B | 0.7B | ~3.0B | ~0.7B |
| 32 | ~3B | ~1.5B | ~3B | ~1.5B |

> **Note**: Models below 0.5B may not provide satisfactory performance for complex tasks. And we're continuously improving cross-platform support - please [submit an issue](https://github.com/mindverse/Second-Me/issues/new) for feedback or compatibility problems on different operating systems.

Expand Down
4 changes: 2 additions & 2 deletions lpm_frontend/src/app/dashboard/playground/chat/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export default function PlaygroundChat() {
}, [loadInfo, modelType]);
const originSettings = useMemo(() => {
return {
enableL0Retrieval: true,
enableL1Retrieval: true,
enableL0Retrieval: false,
enableL1Retrieval: false,
enableHelperModel: false,
selectedModel: 'ollama',
apiKey: 'http://localhost:11434',
Expand Down
2 changes: 1 addition & 1 deletion lpm_frontend/src/components/OnboardingTutorial/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function OnboardingTutorial({ onComplete, onClose }: OnboardingTu
image: '/images/step_3.png'
},
{
title: 'Join AI Network',
title: 'Export your Second Me',
description:
'Explore interactions between your Second Me and other AI entities in the network.',
image: '/images/step_4.png'
Expand Down
25 changes: 24 additions & 1 deletion lpm_frontend/src/components/ThinkingModelModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,28 @@ const ThinkingModelModal = (props: IProps) => {
}, [open]);

useEffect(() => {
setThinkingModelParams(thinkingModelConfig);
// If backend returned data
if (thinkingModelConfig) {
const updatedParams = {...thinkingModelConfig};

// Check fields, if null/undefined then set default values
if (updatedParams.thinking_model_name === null || updatedParams.thinking_model_name === undefined) {
updatedParams.thinking_model_name = "deepseek-reasoner";
}

if (updatedParams.thinking_endpoint === null || updatedParams.thinking_endpoint === undefined) {
updatedParams.thinking_endpoint = "https://api.deepseek.com";
}

setThinkingModelParams(updatedParams);
} else {
// Set complete default values when no configuration exists
setThinkingModelParams({
thinking_model_name: "deepseek-reasoner",
thinking_endpoint: "https://api.deepseek.com",
thinking_api_key: ""
});
}
}, [thinkingModelConfig]);

const handleUpdate = () => {
Expand Down Expand Up @@ -75,6 +96,7 @@ const ThinkingModelModal = (props: IProps) => {
<Input
autoComplete="off"
className="w-full"
disabled
onChange={(e) =>
setThinkingModelParams({
...thinkingModelParams,
Expand Down Expand Up @@ -109,6 +131,7 @@ const ThinkingModelModal = (props: IProps) => {
<Input
autoComplete="off"
className="w-full"
disabled
onChange={(e) =>
setThinkingModelParams({
...thinkingModelParams,
Expand Down
9 changes: 6 additions & 3 deletions lpm_frontend/src/components/train/TrainingConfiguration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const TrainingConfiguration: React.FC<TrainingConfigurationProps> = ({
e.stopPropagation();

if (disabledChangeParams) {
message.warning('Cancel the current train in order to configure the model');
message.warning('Cancel the current training run to configure the model');

return;
}
Expand Down Expand Up @@ -348,7 +348,7 @@ const TrainingConfiguration: React.FC<TrainingConfigurationProps> = ({
value={trainingParams.number_of_epochs}
/>
<div className="text-xs text-gray-500">
Enter an integer between 1 and 10 (recommended: 2)
Enter an integer between 1 and 10 (recommended: 3)
</div>
</div>
<div className="flex flex-col gap-2">
Expand Down Expand Up @@ -460,8 +460,11 @@ const TrainingConfiguration: React.FC<TrainingConfigurationProps> = ({
setOpenThinkingModel(true);
}}
>
Thinking Model
Thinking Model
</div>
<Tooltip title="Chain of Thought (CoT) enables the model to perform step-by-step reasoning during training. This improves the quality of responses by allowing the model to 'think' through complex questions before answering, resulting in more accurate and logically coherent outputs.">
<QuestionCircleOutlined className="cursor-pointer ml-2" />
</Tooltip>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lpm_frontend/src/layouts/DashboardLayout/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ const Menu = () => {
)}
onClick={() => {
if (disabledChangeParams) {
message.warning('Cancel the current train in order to configure the model');
message.warning('Cancel the current training run to configure the model');

return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TrainingParamsManager:
"learning_rate": 1e-4,
"number_of_epochs": 3,
"concurrency_threads": 2,
"data_synthesis_mode": "low",
"data_synthesis_mode": "high",
"use_cuda": False, # Default to using CUDA when available
"is_cot": False
}
Expand Down