Commit graph

209 commits

Author SHA1 Message Date
JimmyZQX
f5bb0dad59
Data Filtering with Gemma (#396)
* Add code for data filtering llm judge

* Ignore log file created on root (mainly for synthetic_data_generation.log)

* Fix metadata API compatibility issues by commenting out metadata tags in LLM API calls

- Commented out metadata.tags parameters in all LLM API calls across the codebase
- This fixes compatibility issues with custom LLM providers that don't support metadata
- Affects shades generation, topics generation, wiki generation, bio QA, and question generation
- Preserves the original code structure for future re-enabling if needed

* feat: add data filtering pipeline with Ollama integration

- Add MergedDataJudge class for intelligent data filtering using Ollama Gemma
- Integrate automatic Ollama CLI installation into project setup process
- Add DATA_FILTERING step to training pipeline with concurrent processing
- Include testing for MergedDataJudge in its local main() function
- Add Ollama dependency to pyproject.toml

* feat: add automatic Ollama model cleanup after data filtering

* Add logging for outputting data filtering parameters

* fix: adjust error handling for MergedDataJudge:
- Keep original merged.json unchanged when any error occurs
- Exit filtering process immediately on errors instead of continuing with defaults
- Ensure training pipeline continues safely even if data filtering fails

* Add frontend for data filtering pipeline

* resolve data filtering quality_level error by commenting out problematic fields, change TrainProcessService back to original class definition

* fix: quote unquoted shade icons to prevent JSON parsing errors

* Fixed wiki_res.json missing due to no database connection at wiki/base.py module import

* Added scoring reasoning as part of the merged data

* fix: filter ANSI escape sequences from Ollama logs in data filtering step

* fix: Add data filtering steps to cloud training to resolve KeyError

- Added 'Data Filtering' step to cloud training progress holder
- Added data filtering step execution in cloud training service
- Added data filtering parameters to cloud training routes
- Updated frontend to send data filtering parameters
- Fixed missing except clause in cloud training service

This resolves the KeyError: 'data_filtering' when switching from cloud to local training.
2025-08-15 11:19:12 +08:00
doubleBlack2
a765759265
remove additional data (#399) 2025-07-28 16:36:40 +08:00
doubleBlack2
c7e56858dc
remove additional data (#398) 2025-07-28 16:11:25 +08:00
doubleBlack2
d96eda2e0d
Fix/new data fix (#394)
* fix

* fix error

* fix stop error

* fix stop error

* fix stop error

* fix stop error

* fix stop error
2025-07-03 18:56:37 +08:00
wuyuxiangX
7becdc4f84
Feature/new data (#393)
* new data pipiline

* new data pipiline

* shades and topic

---------

Co-authored-by: yanmuyuan <2216646664@qq.com>
2025-07-01 15:39:04 +08:00
wuyuxiangX
ea86f26af3
Feature/cloud upgrade (#388)
* feat: Updated the cloud service model list and fixed the error message in the training process service

* cloud serive add

* add deployed_name

* add name,deploy model

* add model,name

* feat: Update cloud model deployment information, add deployment status and related parameters

* remove qwen2.5

* feat: Updated the model name to Qwen3, adjusted related configurations and default values

* refactor: simplify chat data processing and update model training configuration

* Qwen 3

* feat: Add cloud service status check function to optimize model status management

* chore: update API endpoints and file paths for local development environment

* feat: store complete training parameters in local storage

* Fix/cloud service stop (#384)

* fix cloud service stop

* add pending status

* feature: Added pause status polling function and updated cloud training stop logic

* Stop logic modification

* feature: Added cloud training pause status check function to optimize training process control

* fix stop

* feature: Add language parameter to support multi-language training configuration

* add Chinese language, fix top

---------

Co-authored-by: wyx-hhhh <1360479992@qq.com>

* feat: update originPrompt to simplify response structure and enhance clarity

* load error

---------

Co-authored-by: yanmuyuan <2216646664@qq.com>
Co-authored-by: doubleBlack2 <108928143+doubleBlack2@users.noreply.github.com>
2025-06-23 14:21:23 +08:00
doubleBlack2
a01aaa98dc
Fix/cloud service stop (#384)
* fix cloud service stop

* add pending status

* feature: Added pause status polling function and updated cloud training stop logic

* Stop logic modification

* feature: Added cloud training pause status check function to optimize training process control

* fix stop

* feature: Add language parameter to support multi-language training configuration

* add Chinese language, fix top

---------

Co-authored-by: wyx-hhhh <1360479992@qq.com>
2025-06-17 15:07:39 +08:00
doubleBlack2
f3e4d289e6
Feature/cloud service (#383)
* Enhance GGUF model handling with timestamps, metadata and memory training status

* Check if is_trained exists

* fix

* cloud service

* Change the data type of the is_trained field to boolean and update the related logic to reflect this change

* Change the data type of the is_trained field to boolean and update the related logic to reflect this change

* Add gguf path to json file

* Added model selection function, updated model list acquisition logic, and enhanced model information display

* Update the model service startup logic, add integrity check for the model path, and support obtaining the model path from different fields

* Service Change

* full cloud service

* feat: implement async cloud training process with job tracking and API key management

* Progress bar modification

* feat: Add Local and Cloud Training Configuration Components

- Introduced LocalTrainingConfig component for configuring local training parameters.
- Updated TrainingConfiguration component to include tabs for Local and Cloud training configurations.
- Added API functions for setting and getting cloud service API keys.
- Created useCloudProviderStore for managing cloud provider configurations.
- Enhanced event utility to include a new event for showing cloud provider modal.

* Refactor cloud provider and training configuration components

- Updated CloudProviderModal to handle cloud service API key management.
- Replaced API key handling with model configuration updates in CloudProviderModal.
- Enhanced CloudTrainingConfig to manage cloud models based on API key availability.
- Introduced new cloud service functions for listing available models and managing training jobs.
- Modified LocalTrainingConfig to ensure default model selection and synchronization.
- Updated TrainingConfiguration to manage model switching between local and cloud environments.
- Refactored useCloudProviderStore to integrate cloud service API key handling.
- Adjusted useTrainingStore to prioritize model name selection based on the active environment.

* Stream Output

* feat: Enhance training configuration and progress components

- Updated LocalTrainingConfig to improve default model handling and avoid unnecessary updates.
- Introduced LocalTrainingProgress component to manage local training progress display.
- Refactored TrainingConfiguration to support both local and cloud training types, including updated button text and actions.
- Modified TrainingProgress to conditionally render local or cloud training progress based on the selected training type.
- Added cloud service functions for starting training and managing job information.
- Adjusted training parameter interfaces to ensure consistency across local and cloud models.

* Stream response change

* feat: Enhance cloud training and inference capabilities

- Updated TrainingProgress component to handle cloud training progress data and job ID.
- Modified trainExposureModel to allow nullable path and added optional stageName.
- Enhanced useSSE hook to support cloud model inference with new parameters.
- Introduced CloudProgressData type to align cloud training progress with local training structure.
- Implemented cloud inference request handling with local knowledge retrieval in cloudService.
- Added utility functions for managing active cloud model state in cloudModelUtils.
- Updated cloud inference endpoint to support local knowledge retrieval before cloud inference.
- Refactored advanced chat service to utilize new message structure for cloud inference.
- Enhanced prompt strategies to incorporate knowledge retrieval based on user messages.

* feat: Delete the training parameter debugging information component

* Resume training at breakpoint

* Repair data redundancy

* Stop system modification

* fix error: reset training

* fix stop and reset

* Change chat reply format

* Enhance cloud and local service management with status tracking and improved progress reporting

- Implemented service status file management in cloud and local services to track active status and model information.
- Added endpoints to start and stop cloud services, including validation for existing services.
- Enhanced local service management with status checks and progress updates during document processing and chunk embedding.
- Introduced real-time progress tracking for document embedding and chunk processing, allowing for incremental updates.
- Improved error handling and logging throughout the service management processes.
- Refactored chat request handling to intelligently route between local and cloud services based on current status.

* feat:Cleaned up code comment

* translate Chinese comments to English in cloud service modules

* translate into chinese

* feat: Enhance cloud provider configuration and training management with API key handling and tab switching logic

* bug fix

* Add is_trained field modification in the cloud

* feat: Refactor training parameters management to separate local and cloud configurations

* feat: Update training parameter types to improve type safety and consistency

* feat: Add data synthesis mode to cloud training parameters and update related components

* feat: The document embedding part is restored to its original state

* refactor: optimize cloud training process with improved stop handling and file path updates

* feat: Update the default values and merging logic of cloud training parameters to ensure parameter consistency

* feat: Add API key preloading function to optimize the loading experience when the modal box is opened

* feat: Optimize CloudProviderModal component, add API key preloading and state management

* fix: Simplify cloud provider display by removing conditional rendering for Alibaba Cloud

* feat: Update .gitignore to include job_id.json and add .gitkeep for gguf directory

---------

Co-authored-by: wyx-hhhh <1360479992@qq.com>
2025-06-04 19:52:14 +08:00
yexiangle
d177a88b79
Fix/0519/fix repeat generate (#382)
* fix: fix repeat generate document embedding problem

* fix:fix repeat generate chunking problem
2025-06-04 17:51:25 +08:00
wuyuxiangX
7c9fa8a493
Feature/china setup (#371)
* feature: add China image configuration options

* feature: update Python and Poetry mirror configurations to use Tsinghua and Aliyun

* feature: improve Poetry mirror configuration to check for existing sources

* feature: rename setup-china to setup-cn and update pip mirror to Aliyun

* Add MD file

* Modify GitHub download

* Change to Chinese Mainland

---------

Co-authored-by: yanmuyuan <2216646664@qq.com>
2025-05-20 16:21:19 +08:00
doubleBlack2
eaeac58c18
Fix progress bar display abnormality (#358) 2025-05-19 11:32:14 +08:00
Keith Yang
71d20458e7
Fix re-install same graphrag version target due to two "Version:" found (#340) 2025-05-19 10:18:20 +08:00
KKKKKKKevin
2b921d3a11
add mcp description (#355) 2025-05-19 10:18:03 +08:00
CangWu
c89bae94b2
Feature/0509/add download current file (#368)
* feat:add current file to model download progress

* git ignore yarn

* feat: show current downloading

---------

Co-authored-by: Ye Xiangle <yexiangle@mail.mindverse.ai>
Co-authored-by: kevinaimonster <kevinaimonster@gmail.com>
2025-05-16 14:02:56 +08:00
doubleBlack2
899e2cb752
Provide a selection of Chinese mirror websites for Huggingface (#360)
* Provide a selection of Chinese mirror websites for Huggingface

* Remove default values
2025-05-16 11:55:27 +08:00
KKKKKKKevin
f03fdb08cf
git ignore yarn (#367)
Co-authored-by: kevinaimonster <kevinaimonster@gmail.com>
2025-05-16 11:52:08 +08:00
wuyuxiangX
1f257184bd
Feature/fix duplicate files (#363)
* feat: file display and deletion related

* fix: file saving logic
2025-05-15 15:30:34 +08:00
Xiang Ying
4f6dffc64d
Update utils.py for progress (#365) 2025-05-15 15:27:29 +08:00
KKKKKKKevin
5ceed311bf
Feature/add hint (#361)
* optimize doc

* better code

---------

Co-authored-by: kevinaimonster <kevinaimonster@gmail.com>
2025-05-14 20:26:45 +08:00
KKKKKKKevin
5ed6a52dba
fix numbers (#354) 2025-05-13 20:45:05 +08:00
KKKKKKKevin
b4766a9d9d
UI Improvements and Thinking Model Configuration Enhancements (#353)
* Join AI Network -> Export your Second Me

* Default Synthesis Mode -> high
Default Epoch ->  3

* Set Thinking-Mode Default Value

* Better Display Of ReadMe

* default value of thinking mode

* Set Default value of enableL0Retrival to false
2025-05-13 19:42:34 +08:00
Crabboss
166db04c22
feature: add support for multi deepseek api format (#352) 2025-05-13 16:12:42 +08:00
KKKKKKKevin
7f361aedf4
better symbol (#344) 2025-05-13 14:22:47 +08:00
KKKKKKKevin
6d3a9c1e8a
add execute right of prompt_cuda (#345) 2025-05-13 14:20:49 +08:00
KKKKKKKevin
179c52ec18
Merge pull request #349 from mindverse/develop
Release 1.0.1 🎉
2025-05-13 14:04:04 +08:00
kevin-mindverse
56e676763b Merge branch 'master' into develop 2025-05-13 13:56:12 +08:00
KKKKKKKevin
601f371f46
change log (#346) 2025-05-12 11:59:38 +08:00
Xiang Ying
a65f4a58fe
hotfix for strage problem which leads to the error during graphrag. (#347) 2025-05-12 11:59:35 +08:00
kevinaimonster
8ada304769
feat: add cloud deployment options (#334)
Co-authored-by: kevin-mindverse <kevin@mindverse.ai>
2025-05-12 09:53:59 +08:00
yingapple
da2b704ed4 fix(model tokenizer): just use the model tokenizer without anythink else. 2025-05-09 16:09:20 +08:00
yingapple
bec5b8865c fix(deployment): resolve model deployment issue on CUDA + Windows environment 2025-05-09 13:43:29 +08:00
KKKKKKKevin
1e7d60777f
Feat/ Enhance Issue Templates (#333)
* feat: add new issue template

* new version template

* new category

* fix link

* optimize description
2025-05-08 10:12:53 +08:00
ryangyuan
c3855f37ad
Fix/0429/fix all log (#318)
* fix:fix return all log problem

* fix:delete no use code

* fix: add sse offset

* fix: change offset to string

* fix: fix more localStore

* fix: change log only

* fix: cancel offset

* fix: remove offset

* fix:delete no use code

* fix:add hertbeat

* fix: delete useless code

---------

Co-authored-by: Ye Xiangle <yexiangle@mail.mindverse.ai>
2025-05-07 15:53:25 +08:00
kevin-mindverse
1d79691e71 Merge branch 'master' into develop 2025-05-07 13:42:56 +08:00
yexiangle
ff9a9b9970
delete useless code in route_l2.py (#332) 2025-05-07 13:40:10 +08:00
yexiangle
82422a5f76
Merge pull request #313 from mindverse/feat/0427/meta_exposure
Feat/0427/meta exposure
2025-05-06 16:04:38 +08:00
ryangyuan
b7f0cc7feb
Feat/0422/train l1 exposure (#319)
* feat:add get steps content(EXTRACT_DIMENSIONAL_TOPICS,MAP_ENTITY_NETWORK,DECODE_PREFERENCE_PATTERNS,AUGMENT_CONTENT_RETENTION)

* feat:add file_type

* feat: exponse train L1

* feat:jsonfy return data

* fix: jsonfy

* feat:add log

* fix: fix step change error

* feat:delete useless log

* fix:fix not import problem

* fix:fix old trainprocess init problem

* feat: Train Step Show Table

* feat:add L1_exposure_manager optimize code structure

* fix: fix bio return format & map_your_entity_network

* feat: show tip when resource empty

* add have_output & path

* fix: fix log problem

* feat: adjustment output ui

* fix: L1 exposure add loading

---------

Co-authored-by: Ye Xiangle <yexiangle@mail.mindverse.ai>
2025-05-06 16:02:22 +08:00
KKKKKKKevin
ad824973ba
Merge pull request #314 from ScarletttMoon/master
Updated README (#what's next in May & quick start)
2025-05-06 10:58:14 +08:00
Scarlett
533fe8eeb1
Update README.md
quick start
2025-04-30 17:53:37 +08:00
Scarlett
f64a9974e0
Merge branch 'mindverse:master' into master 2025-04-30 17:37:54 +08:00
KKKKKKKevin
245bb1e27b
fix:hotfix use_previous_params problem (#320)
Co-authored-by: Ye Xiangle <yexiangle@mail.mindverse.ai>
2025-04-30 16:13:18 +08:00
KKKKKKKevin
78bb0e3c8a
Merge pull request #316 from mindverse/fix/0430/hotfix_use_previous_params
fix:hotfix use_previous_params problem
2025-04-30 16:08:06 +08:00
Ye Xiangle
1bf8ba5ce7 fix:hotfix use_previous_params problem 2025-04-30 14:49:07 +08:00
Scarlett
933289e353
Update README.md
updated #what's next and #contributing, deleted #join our community
2025-04-30 14:13:18 +08:00
Scarlett
dc23555eeb
Merge branch 'mindverse:master' into master 2025-04-30 14:09:38 +08:00
KKKKKKKevin
ddfcd15b2f
Merge pull request #306 from mindverse/release_0428
# v1.0.0 - First Release 🎉
2025-04-29 11:35:32 +08:00
yexiangle
b3dcdd8ed5
fix:fix monitor model download log problem (#305) 2025-04-28 17:12:41 +08:00
ryangyuan
5457a7a82a
fix: fix page overflow (#299)
* fix: add relative
2025-04-28 11:12:00 +08:00
yingapple
53dfdafc9b feat: up max seq length 2025-04-27 11:59:16 +08:00
yingapple
c88d2362e5 fix for gpu 2025-04-27 11:54:45 +08:00