Upload nota-ai_Solar-Open-100B-NotaMoEQuant-Int4_0.txt with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051```CODE: # Use a pipeline as a high-level helperfrom transformers import pipeline
pipe = pipeline("text-generation", model="nota-ai/Solar-Open-100B-NotaMoEQuant-Int4", trust_remote_code=True)messages = [ {"role": "user", "content": "Who are you?"},]pipe(messages)```
ERROR: Traceback (most recent call last): File "/tmp/nota-ai_Solar-Open-100B-NotaMoEQuant-Int4_0OmZg7P.py", line 26, in <module> pipe = pipeline("text-generation", model="nota-ai/Solar-Open-100B-NotaMoEQuant-Int4", trust_remote_code=True) File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 836, in pipeline model = load_model( adapter_path if adapter_path is not None else model, ...<4 lines>... **model_kwargs, ) File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/pipelines/base.py", line 232, in load_model model = model_class.from_pretrained(model, **kwargs) File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 365, in from_pretrained return model_class.from_pretrained( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ pretrained_model_name_or_path, *model_args, config=config, **hub_kwargs, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4015, in from_pretrained hf_quantizer, config, device_map = get_hf_quantizer( ~~~~~~~~~~~~~~~~^ config, quantization_config, device_map, weights_only, user_agent ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/quantizers/auto.py", line 326, in get_hf_quantizer hf_quantizer.validate_environment( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ device_map=device_map, ^^^^^^^^^^^^^^^^^^^^^^ weights_only=weights_only, ^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/quantizers/quantizer_auto_round.py", line 43, in validate_environment raise ImportError( "Loading an AutoRound quantized model requires auto-round library (`pip install 'auto-round>=0.5'`)" )ImportError: Loading an AutoRound quantized model requires auto-round library (`pip install 'auto-round>=0.5'`)nota-ai_Solar-Open-100B-NotaMoEQuant-Int4_0.txtAdded+51