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
Download evaluate.command from VoltageVagabond/spam-classifier-liquid: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/VoltageVagabond/spam-classifier-liquid/resolve/main/evaluate.command
- Command line
-
hf download hf://VoltageVagabond/spam-classifier-liquid/evaluate.command
-
curl -L -o evaluate.command https://huggingface.co/VoltageVagabond/spam-classifier-liquid/resolve/main/evaluate.command
209 Bytes
| cd "$(dirname "$0")" | |
| source venv/bin/activate | |
| echo "Evaluating spam classifier (using saved adapter)..." | |
| echo "" | |
| python3 fine_tune.py --eval-only | |
| echo "" | |
| echo "Press any key to close..." | |
| read -n 1 | |