Update app.ipynb
Browse files
app.ipynb
CHANGED
@@ -1,8 +1,3 @@
|
|
1 |
-
#
|
2 |
-
from transformers import
|
3 |
-
|
4 |
-
messages = [
|
5 |
-
{"role": "user", "content": "Who are you?"},
|
6 |
-
]
|
7 |
-
pipe = pipeline("text-generation", model="unsloth/Qwen2.5-0.5B-Instruct")
|
8 |
-
pipe(messages)
|
|
|
1 |
+
# Load model directly
|
2 |
+
from transformers import AutoModel
|
3 |
+
model = AutoModel.from_pretrained("deepseek-ai/Janus-1.3B")
|
|
|
|
|
|
|
|
|
|