Instructions to use developermate/phi4-phishing-url-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use developermate/phi4-phishing-url-detector with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/phi-4-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "developermate/phi4-phishing-url-detector") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use developermate/phi4-phishing-url-detector with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf developermate/phi4-phishing-url-detector:Q4_K_M # Run inference directly in the terminal: llama cli -hf developermate/phi4-phishing-url-detector:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf developermate/phi4-phishing-url-detector:Q4_K_M # Run inference directly in the terminal: llama cli -hf developermate/phi4-phishing-url-detector:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf developermate/phi4-phishing-url-detector:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf developermate/phi4-phishing-url-detector:Q4_K_M
Use Docker
docker model run hf.co/developermate/phi4-phishing-url-detector:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use developermate/phi4-phishing-url-detector with Ollama:
ollama run hf.co/developermate/phi4-phishing-url-detector:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use developermate/phi4-phishing-url-detector with Docker Model Runner:
docker model run hf.co/developermate/phi4-phishing-url-detector:Q4_K_M
- Lemonade
How to use developermate/phi4-phishing-url-detector with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull developermate/phi4-phishing-url-detector:Q4_K_M
Run and chat with the model
lemonade run user.phi4-phishing-url-detector-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download generation_config.json from developermate/phi4-phishing-url-detector: direct link, hf CLI and curl.
- Browser
- Download file 170 Bytes
-
https://huggingface.co/developermate/phi4-phishing-url-detector/resolve/main/generation_config.json
- Command line
-
hf download hf://developermate/phi4-phishing-url-detector/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/developermate/phi4-phishing-url-detector/resolve/main/generation_config.json
170 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 100257, | |
| "eos_token_id": 100265, | |
| "max_length": 16384, | |
| "pad_token_id": 100351, | |
| "transformers_version": "4.51.3" | |
| } | |