ariG23498 HF Staff commited on
Commit
e290a55
·
verified ·
1 Parent(s): 3923b58

Upload microsoft_bitnet-b1.58-2B-4T_1.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. microsoft_bitnet-b1.58-2B-4T_1.txt +36 -0
microsoft_bitnet-b1.58-2B-4T_1.txt ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/microsoft_bitnet-b1.58-2B-4T_1vZEZxt.py", line 17, in <module>
3
+ model = AutoModelForCausalLM.from_pretrained("microsoft/bitnet-b1.58-2B-4T", trust_remote_code=True)
4
+ File "/tmp/.cache/uv/environments-v2/7466350c5b92da6d/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 549, in from_pretrained
5
+ config, kwargs = AutoConfig.from_pretrained(
6
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~^
7
+ pretrained_model_name_or_path,
8
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
+ ...<4 lines>...
10
+ **kwargs,
11
+ ^^^^^^^^^
12
+ )
13
+ ^
14
+ File "/tmp/.cache/uv/environments-v2/7466350c5b92da6d/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1347, in from_pretrained
15
+ config_class = get_class_from_dynamic_module(
16
+ class_ref, pretrained_model_name_or_path, code_revision=code_revision, **kwargs
17
+ )
18
+ File "/tmp/.cache/uv/environments-v2/7466350c5b92da6d/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 604, in get_class_from_dynamic_module
19
+ final_module = get_cached_module_file(
20
+ repo_id,
21
+ ...<8 lines>...
22
+ repo_type=repo_type,
23
+ )
24
+ File "/tmp/.cache/uv/environments-v2/7466350c5b92da6d/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 406, in get_cached_module_file
25
+ resolved_module_file = cached_file(
26
+ pretrained_model_name_or_path,
27
+ ...<9 lines>...
28
+ _commit_hash=_commit_hash,
29
+ )
30
+ File "/tmp/.cache/uv/environments-v2/7466350c5b92da6d/lib/python3.13/site-packages/transformers/utils/hub.py", line 322, in cached_file
31
+ file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
32
+ File "/tmp/.cache/uv/environments-v2/7466350c5b92da6d/lib/python3.13/site-packages/transformers/utils/hub.py", line 583, in cached_files
33
+ raise OSError(
34
+ ...<2 lines>...
35
+ )
36
+ 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.