Upload moonshotai_Kimi-K2-Thinking_1.txt with huggingface_hub
Browse files123445678910910111213```CODE: # Load model directlyfrom transformers import AutoModelForCausalLMmodel = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True, torch_dtype="auto")model = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True, dtype="auto")```
ERROR: Traceback (most recent call last): File "/tmp/moonshotai_Kimi-K2-Thinking_1rdNusL.py", line 24, in <module> model = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True, torch_dtype="auto") File "/tmp/moonshotai_Kimi-K2-Thinking_1hrkOOy.py", line 23, in <module> model = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True, dtype="auto") File "/tmp/.cache/uv/environments-v2/2592c6825cb441bd/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 597, in from_pretrained return model_class.from_pretrained( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^moonshotai_Kimi-K2-Thinking_1.txt+3-3