raoufjat commited on
Commit
38b29cb
1 Parent(s): 929dbf7

Update app.ipynb

Browse files
Files changed (1) hide show
  1. app.ipynb +4 -3
app.ipynb CHANGED
@@ -1,3 +1,4 @@
1
- # Load model directly
2
- from transformers import AutoModel
3
- model = AutoModel.from_pretrained("deepseek-ai/Janus-1.3B")
 
 
1
+ # Use a pipeline as a high-level helper
2
+ from transformers import pipeline
3
+
4
+ pipe = pipeline("text-generation", model="byroneverson/LongWriter-glm4-9b-abliterated-gguf")