Instructions to use VoltageVagabond/spam-classifier-liquid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use VoltageVagabond/spam-classifier-liquid with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-1.2B-Instruct") model = PeftModel.from_pretrained(base_model, "VoltageVagabond/spam-classifier-liquid") - Notebooks
- Google Colab
- Kaggle
File size: 465 Bytes
5a28a50 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/bash
cd "$(dirname "$0")"
echo "Starting Liquid AI Spam Classifier..."
echo ""
echo "NOTE: The model takes 30-60 seconds to load into memory."
echo " The browser will open automatically, but the UI won't"
echo " respond until the model is fully loaded."
echo " Watch this terminal for 'Model loaded successfully!'"
echo ""
echo "Opening http://127.0.0.1:7860 in your browser..."
sleep 2 && open http://127.0.0.1:7860 &
venv/bin/python3 app.py
|