microsoft / microsoft/BitNet

Inconsistent capitalization for BitnetForCausalLM caused error in /utils/convert-hf-to-gguf-bitnet.py

Open
#193 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
40.3k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

Caused #178 most likely

Code was looking for BitNetForCausalLM, name in convert-hf-to-gguf-bitnet.py was:

https://github.com/microsoft/BitNet/blob/fd9f1d6e46b476d449417d49851f50a569165835/utils/convert-hf-to-gguf-bitnet.py#L952

BitNetForCausalLM vs.

BitnetForCausalLM

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open utils/convert-hf-to-gguf-bitnet.py at line 952 and compare the class-name capitalization with the two spellings shown in the issue. Verify that the converter no longer triggers the capitalization-related error described in #178.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.