mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #155] feature model ministral #91
Labels
No labels
bug
enhancement
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
p-e-w/heretic#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kalle07 on GitHub (Feb 14, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/155
(myenv) e:\heretic>heretic mistralai/Ministral-3-8B-Instruct-2512
█░█░█▀▀░█▀▄░█▀▀░▀█▀░█░█▀▀ v1.2.0
█▀█░█▀▀░█▀▄░█▀▀░░█░░█░█░░
▀░▀░▀▀▀░▀░▀░▀▀▀░░▀░░▀░▀▀▀ https://github.com/p-e-w/heretic
Detected 1 CUDA device(s):
Loading model mistralai/Ministral-3-8B-Instruct-2512...
tokenizer_config.json: 21.2kB [00:00, ?B/s]
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Users...\AppData\Local\Programs\Python\Python310\lib\runpy.py:196 in │
│ _run_module_as_main │
│ │
│ 193 │ main_globals = sys.modules["main"].dict │
│ 194 │ if alter_argv: │
│ 195 │ │ sys.argv[0] = mod_spec.origin │
│ ❱ 196 │ return _run_code(code, main_globals, None, │
│ 197 │ │ │ │ │ "main", mod_spec) │
│ 198 │
│ 199 def run_module(mod_name, init_globals=None, │
│ │
│ C:\Users...\AppData\Local\Programs\Python\Python310\lib\runpy.py:86 in _run_code │
│ │
│ 83 │ │ │ │ │ loader = loader, │
│ 84 │ │ │ │ │ package = pkg_name, │
│ 85 │ │ │ │ │ spec = mod_spec) │
│ ❱ 86 │ exec(code, run_globals) │
│ 87 │ return run_globals │
│ 88 │
│ 89 def _run_module_code(code, init_globals=None, │
│ │
│ in :5 │
│ │
│ 2 from heretic.main import main │
│ 3 if name == 'main': │
│ 4 │ sys.argv[0] = sys.argv[0].removesuffix('.exe') │
│ ❱ 5 │ sys.exit(main()) │
│ 6 │
│ │
│ e:\heretic\myenv\lib\site-packages\heretic\main.py:891 in main │
│ │
│ 888 │ install() │
│ 889 │ │
│ 890 │ try: │
│ ❱ 891 │ │ run() │
│ 892 │ except BaseException as error: │
│ 893 │ │ # Transformers appears to handle KeyboardInterrupt (or BaseException) │
│ 894 │ │ # internally in some places, which can re-raise a different error in the handler │
│ │
│ e:\heretic\myenv\lib\site-packages\heretic\main.py:312 in run │
│ │
│ 309 │ │ elif choice is None or choice == "": │
│ 310 │ │ │ return │
│ 311 │ │
│ ❱ 312 │ model = Model(settings) │
│ 313 │ print() │
│ 314 │ print_memory_usage() │
│ 315 │
│ │
│ e:\heretic\myenv\lib\site-packages\heretic\model.py:68 in init │
│ │
│ 65 │ │ print() │
│ 66 │ │ print(f"Loading model [bold]{settings.model}[/]...") │
│ 67 │ │ │
│ ❱ 68 │ │ self.tokenizer = AutoTokenizer.from_pretrained( │
│ 69 │ │ │ settings.model, │
│ 70 │ │ │ trust_remote_code=settings.trust_remote_code, │
│ 71 │ │ ) │
│ │
│ e:\heretic\myenv\lib\site-packages\transformers\models\auto\tokenization_auto.py:1153 in │
│ from_pretrained │
│ │
│ 1150 │ │ │ │ tokenizer_class_candidate = config_tokenizer_class │
│ 1151 │ │ │ │ tokenizer_class = tokenizer_class_from_name(tokenizer_class_candidate) │
│ 1152 │ │ │ if tokenizer_class is None: │
│ ❱ 1153 │ │ │ │ raise ValueError( │
│ 1154 │ │ │ │ │ f"Tokenizer class {tokenizer_class_candidate} does not exist or is n │
│ 1155 │ │ │ │ ) │
│ 1156 │ │ │ return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *input │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Tokenizer class TokenizersBackend does not exist or is not currently imported.
@0xA50C1A1 commented on GitHub (Feb 14, 2026):
Try this one https://huggingface.co/unsloth/Ministral-3-8B-Instruct-2512
@kalle07 commented on GitHub (Feb 15, 2026):
thx, but after install protobuf
@kalle07 commented on GitHub (Feb 15, 2026):
seems works after install transformers 5.1.0