BitNet
BitNet copied to clipboard
Error while executing collab code from huggingface for microsoft / bitnet-b1.58-2B-4T
The code used : https://colab.research.google.com/#fileId=https%3A//huggingface.co/microsoft/bitnet-b1.58-2B-4T.ipynb
Issue :
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
[/tmp/ipython-input-4267558601.py](https://localhost:8080/#) in <cell line: 0>()
2 from transformers import pipeline
3
----> 4 pipe = pipeline("text-generation", model="microsoft/bitnet-b1.58-2B-4T", trust_remote_code=True)
5 messages = [
6 {"role": "user", "content": "Who are you?"},
5 frames
[/usr/local/lib/python3.12/dist-packages/transformers/utils/hub.py](https://localhost:8080/#) in cached_files(path_or_repo_id, filenames, cache_dir, force_download, resume_download, proxies, token, revision, local_files_only, subfolder, repo_type, user_agent, _raise_exceptions_for_gated_repo, _raise_exceptions_for_missing_entries, _raise_exceptions_for_connection_errors, _commit_hash, **deprecated_kwargs)
581 f"a file named {missing_entries[0]}" if len(missing_entries) == 1 else f"files named {(*missing_entries,)}"
582 )
--> 583 raise OSError(
584 f"{path_or_repo_id} does not appear to have {msg}. Checkout '[https://huggingface.co/{path_or_repo_id}/tree/{revision_}'](https://huggingface.co/%7Bpath_or_repo_id%7D/tree/%7Brevision_%7D')"
585 " for available files."
OSError: microsoft/bitnet-b1.58-2B-4T does not appear to have a file named configuration_bitnet.py. Checkout 'https://huggingface.co/microsoft/bitnet-b1.58-2B-4T/tree/main' for available files.