Upload MiniMaxAI_MiniMax-M2_0.txt with huggingface_hub
Browse files- MiniMaxAI_MiniMax-M2_0.txt +13 -1
MiniMaxAI_MiniMax-M2_0.txt
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Traceback (most recent call last):
|
| 2 |
-
File "/tmp/MiniMaxAI_MiniMax-
|
| 3 |
pipe = pipeline("text-generation", model="MiniMaxAI/MiniMax-M2")
|
| 4 |
File "/tmp/.cache/uv/environments-v2/d3eea229ed2fb556/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1027, in pipeline
|
| 5 |
framework, model = infer_framework_load_model(
|
|
|
|
| 1 |
+
|
| 2 |
+
```CODE:
|
| 3 |
+
# Use a pipeline as a high-level helper
|
| 4 |
+
from transformers import pipeline
|
| 5 |
+
|
| 6 |
+
pipe = pipeline("text-generation", model="MiniMaxAI/MiniMax-M2")
|
| 7 |
+
messages = [
|
| 8 |
+
{"role": "user", "content": "Who are you?"},
|
| 9 |
+
]
|
| 10 |
+
pipe(messages)
|
| 11 |
+
```
|
| 12 |
+
ERROR:
|
| 13 |
Traceback (most recent call last):
|
| 14 |
+
File "/tmp/MiniMaxAI_MiniMax-M2_0Iy0bNK.py", line 17, in <module>
|
| 15 |
pipe = pipeline("text-generation", model="MiniMaxAI/MiniMax-M2")
|
| 16 |
File "/tmp/.cache/uv/environments-v2/d3eea229ed2fb556/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1027, in pipeline
|
| 17 |
framework, model = infer_framework_load_model(
|