Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat: Add custom top-p #107

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Conversation

Mingholy
Copy link
Contributor

@Mingholy Mingholy commented Jul 6, 2024

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

🔀 变更说明 | Description of Change

当使用qwen作为翻译模型时,由于topP取值范围是(0.0, 1.0),而默认值是1,会导致调用失败。希望能够透出指定该参数的

📝 补充信息 | Additional Information

请酌情决定是否接受开发者自由选择文案的翻译模型,以决策是否要开放topP这个参数。

@lobehubbot
Copy link
Member

👍 @Mingholy

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@canisminor1990 canisminor1990 merged commit 0ed03c2 into lobehub:master Jul 8, 2024
2 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @Mingholy ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution!
项目的成长离不开用户反馈和贡献,感谢您的贡献!

github-actions bot pushed a commit that referenced this pull request Aug 6, 2024
## [Version 1.19.0](https://github.com/lobehub/lobe-cli-toolbox/compare/@lobehub/[email protected]...@lobehub/[email protected])
<sup>Released on **2024-08-06**</sup>

#### ✨ Features

- **misc**: Add custom top-p.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add custom top-p, closes [#107](#107) ([0ed03c2](0ed03c2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.19.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Aug 6, 2024
### [Version&nbsp;1.0.2](https://github.com/lobehub/lobe-cli-toolbox/compare/@lobehub/[email protected]...@lobehub/[email protected])
<sup>Released on **2024-08-06**</sup>

#### ✨ Features

- **misc**: Add concurrency pMap to lobe seo, Add custom top-p, Add includeMatter config to lobe i18n, Add lobe seo cli, Add new model info, Add summary prompt and refine prompt for git diff summary, I18n add token info output, I18n support concurrency query, I18n support specify the configuration file, Lobe I18N support markdown, Provide more options in markdown mode, Update i18n config, Update models [force patch], Update seo config, Update seo logic.

#### 🐛 Bug Fixes

- **misc**: Fix dependency deprecation warning, Fix glob path in windows, Fix i18n defineConfig, Fix i18n markdown match, Fix i18n merge, Fix lobe-i18n, Fix locale progress, Fix log, Fix max token, Fix max token calc, Fix type, Update deps.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add concurrency pMap to lobe seo ([fd5141d](fd5141d))
* **misc**: Add custom top-p, closes [#107](#107) ([0ed03c2](0ed03c2))
* **misc**: Add includeMatter config to lobe i18n ([3181ed9](3181ed9))
* **misc**: Add lobe seo cli ([bb1b860](bb1b860))
* **misc**: Add new model info ([cbe785e](cbe785e))
* **misc**: Add summary prompt and refine prompt for git diff summary ([b01df9c](b01df9c))
* **misc**: I18n add token info output ([240e7ca](240e7ca))
* **misc**: I18n support concurrency query ([f0eafc1](f0eafc1))
* **misc**: I18n support specify the configuration file ([f1d87c2](f1d87c2))
* **misc**: Lobe I18N support markdown ([931590f](931590f))
* **misc**: Provide more options in markdown mode ([e599f60](e599f60))
* **misc**: Update i18n config ([dded0e0](dded0e0))
* **misc**: Update models [force patch] ([9608217](9608217))
* **misc**: Update seo config ([9ca366c](9ca366c))
* **misc**: Update seo logic ([c386970](c386970))

#### What's fixed

* **misc**: Fix dependency deprecation warning, closes [#86](#86) ([c869253](c869253))
* **misc**: Fix glob path in windows ([f5fb6fb](f5fb6fb))
* **misc**: Fix i18n defineConfig ([2513ce1](2513ce1))
* **misc**: Fix i18n markdown match ([307507e](307507e))
* **misc**: Fix i18n merge ([bb6e15d](bb6e15d))
* **misc**: Fix lobe-i18n ([e064841](e064841))
* **misc**: Fix locale progress ([69931ca](69931ca))
* **misc**: Fix log ([d4bc39c](d4bc39c))
* **misc**: Fix max token ([536f69e](536f69e))
* **misc**: Fix max token calc ([4318d15](4318d15))
* **misc**: Fix type ([fcb2ddb](fcb2ddb))
* **misc**: Update deps ([88832ec](88832ec))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.4.2 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Aug 6, 2024
### [Version&nbsp;2.15.1](https://github.com/lobehub/lobe-cli-toolbox/compare/@lobehub/[email protected]...@lobehub/[email protected])
<sup>Released on **2024-08-06**</sup>

#### ✨ Features

- **misc**: Add custom top-p, Add includeMatter config to lobe i18n, Update models [force patch].

#### 🐛 Bug Fixes

- **misc**: Fix log, Update deps.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add custom top-p, closes [#107](#107) ([0ed03c2](0ed03c2))
* **misc**: Add includeMatter config to lobe i18n ([3181ed9](3181ed9))
* **misc**: Update models [force patch] ([9608217](9608217))

#### What's fixed

* **misc**: Fix log ([d4bc39c](d4bc39c))
* **misc**: Update deps ([88832ec](88832ec))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
github-actions bot pushed a commit that referenced this pull request Aug 6, 2024
### [Version&nbsp;1.3.1](https://github.com/lobehub/lobe-cli-toolbox/compare/@lobehub/[email protected]...@lobehub/[email protected])
<sup>Released on **2024-08-06**</sup>

#### ✨ Features

- **misc**: Add concurrency pMap to lobe seo, Add custom top-p, Add includeMatter config to lobe i18n, Add lobe seo cli, Add new model info, I18n add token info output, Update i18n config, Update models [force patch], Update seo config, Update seo logic.

#### 🐛 Bug Fixes

- **misc**: Fix dependency deprecation warning, Fix glob path in windows, Fix i18n defineConfig, Fix i18n merge, Fix lobe-i18n, Fix locale progress, Fix log, Fix max token, Fix max token calc, Update deps.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add concurrency pMap to lobe seo ([fd5141d](fd5141d))
* **misc**: Add custom top-p, closes [#107](#107) ([0ed03c2](0ed03c2))
* **misc**: Add includeMatter config to lobe i18n ([3181ed9](3181ed9))
* **misc**: Add lobe seo cli ([bb1b860](bb1b860))
* **misc**: Add new model info ([cbe785e](cbe785e))
* **misc**: I18n add token info output ([240e7ca](240e7ca))
* **misc**: Update i18n config ([dded0e0](dded0e0))
* **misc**: Update models [force patch] ([9608217](9608217))
* **misc**: Update seo config ([9ca366c](9ca366c))
* **misc**: Update seo logic ([c386970](c386970))

#### What's fixed

* **misc**: Fix dependency deprecation warning, closes [#86](#86) ([c869253](c869253))
* **misc**: Fix glob path in windows ([f5fb6fb](f5fb6fb))
* **misc**: Fix i18n defineConfig ([2513ce1](2513ce1))
* **misc**: Fix i18n merge ([bb6e15d](bb6e15d))
* **misc**: Fix lobe-i18n ([e064841](e064841))
* **misc**: Fix locale progress ([69931ca](69931ca))
* **misc**: Fix log ([d4bc39c](d4bc39c))
* **misc**: Fix max token ([536f69e](536f69e))
* **misc**: Fix max token calc ([4318d15](4318d15))
* **misc**: Update deps ([88832ec](88832ec))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.0.2 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@lobehubbot
Copy link
Member

🎉 This PR is included in version 2.15.1 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.3.1 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.10.1 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants