Skip to content

#100 Update Bielik model to v2.3 and adjust related documentation #101

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.5.11 (2025-03-16)

- Updated Bielik model from v2.2 to v2.3.

## 2.5.10 (2025-03-06)

- Added a new model: Claude 3.7 Sonnet.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -905,9 +905,9 @@ The name of the currently active profile is shown as (Profile Name) in the windo

## Built-in models

PyGPT has built-in support for models (as of 2024-11-27):
PyGPT has built-in support for models (as of 2025-03-16):

- `bielik-11b-v2.2-instruct:Q4_K_M`
- `bielik-11b-v2.3-instruct:Q4_K_M`
- `chatgpt-4o-latest`
- `claude-3-5-sonnet-20240620`
- `claude-3-opus-20240229`
Expand Down
4 changes: 2 additions & 2 deletions docs/source/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Models
Built-in models
---------------

PyGPT has built-in support for models (as of 2024-11-27):
PyGPT has built-in support for models (as of 2025-03-16):

* ``bielik-11b-v2.2-instruct:Q4_K_M``
* ``bielik-11b-v2.3-instruct:Q4_K_M``
* ``chatgpt-4o-latest``
* ``claude-3-5-sonnet-20240620``
* ``claude-3-opus-20240229``
Expand Down
8 changes: 4 additions & 4 deletions src/pygpt_net/data/config/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -3016,8 +3016,8 @@
"reasoning_effort": "high"
}
},
"bielik-11b-v2.2-instruct:Q4_K_M": {
"id": "SpeakLeash/bielik-11b-v2.2-instruct:Q4_K_M",
"bielik-11b-v2.3-instruct:Q4_K_M": {
"id": "SpeakLeash/bielik-11b-v2.3-instruct:Q4_K_M",
"name": "bielik-11b-v2.2",
"mode": [
"llama_index",
Expand All @@ -3034,7 +3034,7 @@
"args": [
{
"name": "model",
"value": "SpeakLeash/bielik-11b-v2.2-instruct:Q4_K_M",
"value": "SpeakLeash/bielik-11b-v2.3-instruct:Q4_K_M",
"type": "str"
}
],
Expand All @@ -3048,7 +3048,7 @@
"args": [
{
"name": "model",
"value": "SpeakLeash/bielik-11b-v2.2-instruct:Q4_K_M",
"value": "SpeakLeash/bielik-11b-v2.3-instruct:Q4_K_M",
"type": "str"
}
],
Expand Down
6 changes: 6 additions & 0 deletions src/pygpt_net/provider/core/model/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,12 @@ def execute(self, version: Version) -> bool:
# add claude-3-7-sonnet-latest
updated = True

# < 2.5.11 <--- update Bielik from v2.2 to v2.3
if old < parse_version("2.5.11"):
print("Migrating models from < 2.5.11...")
# update Bielik from v2.2 to v2.3
updated = True

# update file
if updated:
data = dict(sorted(data.items()))
Expand Down