Skip to content

fix: support experimental support for Deepseek models and update docs about configuration#1024

Merged
Hoder-zyf merged 11 commits intomainfrom
qlib_ds
Jul 7, 2025
Merged

fix: support experimental support for Deepseek models and update docs about configuration#1024
Hoder-zyf merged 11 commits intomainfrom
qlib_ds

Conversation

@Hoder-zyf
Copy link
Collaborator

@Hoder-zyf Hoder-zyf commented Jul 6, 2025

Description

When running qlib, fix the following issues based on error messages:

  1. When generating hypothesis doesn't return a string, add supplementary prompt
  2. DeepSeek's JSON format errors:
    a. Returns True/False, fix Python-style boolean values to JSON standard format
    b. Output code uses python xxx format, add similar parsing logic
    c. Returns multiple blocks, like json xxx python, parse the first one by default
  3. Provide DeepSeek's example configuration, only need to provide DeepSeek and SiliconFlow's API keys

Motivation and Context

How Has This Been Tested?

  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

📚 Documentation preview 📚: https://RDAgent--1024.org.readthedocs.build/en/1024/

@Hoder-zyf Hoder-zyf merged commit 35cfc19 into main Jul 7, 2025
9 checks passed
@Hoder-zyf Hoder-zyf deleted the qlib_ds branch July 7, 2025 06:18
licong01-cloud pushed a commit to licong01-cloud/RD-Agent that referenced this pull request Dec 13, 2025
… about configuration (microsoft#1024)

* fix qlib running bug for deepseek and add configuration docs about deepseek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants