Upload moonshotai_Kimi-K2-Thinking_1.txt with huggingface_hub
Browse files
moonshotai_Kimi-K2-Thinking_1.txt
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
```CODE:
|
| 2 |
# Load model directly
|
| 3 |
from transformers import AutoModelForCausalLM
|
| 4 |
-
model = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True,
|
| 5 |
```
|
| 6 |
|
| 7 |
ERROR:
|
| 8 |
Traceback (most recent call last):
|
| 9 |
-
File "/tmp/moonshotai_Kimi-K2-
|
| 10 |
-
model = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True,
|
| 11 |
File "/tmp/.cache/uv/environments-v2/2592c6825cb441bd/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 597, in from_pretrained
|
| 12 |
return model_class.from_pretrained(
|
| 13 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
|
|
|
| 1 |
```CODE:
|
| 2 |
# Load model directly
|
| 3 |
from transformers import AutoModelForCausalLM
|
| 4 |
+
model = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True, dtype="auto")
|
| 5 |
```
|
| 6 |
|
| 7 |
ERROR:
|
| 8 |
Traceback (most recent call last):
|
| 9 |
+
File "/tmp/moonshotai_Kimi-K2-Thinking_1hrkOOy.py", line 23, in <module>
|
| 10 |
+
model = AutoModelForCausalLM.from_pretrained("moonshotai/Kimi-K2-Thinking", trust_remote_code=True, dtype="auto")
|
| 11 |
File "/tmp/.cache/uv/environments-v2/2592c6825cb441bd/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 597, in from_pretrained
|
| 12 |
return model_class.from_pretrained(
|
| 13 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|