Instructions to use AnamayaVyas/nvd-security-phi35-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use AnamayaVyas/nvd-security-phi35-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="AnamayaVyas/nvd-security-phi35-gguf", filename="nvd-security-phi35.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AnamayaVyas/nvd-security-phi35-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf AnamayaVyas/nvd-security-phi35-gguf # Run inference directly in the terminal: llama-cli -hf AnamayaVyas/nvd-security-phi35-gguf
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf AnamayaVyas/nvd-security-phi35-gguf # Run inference directly in the terminal: llama-cli -hf AnamayaVyas/nvd-security-phi35-gguf
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AnamayaVyas/nvd-security-phi35-gguf # Run inference directly in the terminal: ./llama-cli -hf AnamayaVyas/nvd-security-phi35-gguf
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AnamayaVyas/nvd-security-phi35-gguf # Run inference directly in the terminal: ./build/bin/llama-cli -hf AnamayaVyas/nvd-security-phi35-gguf
Use Docker
docker model run hf.co/AnamayaVyas/nvd-security-phi35-gguf
- LM Studio
- Jan
- Ollama
How to use AnamayaVyas/nvd-security-phi35-gguf with Ollama:
ollama run hf.co/AnamayaVyas/nvd-security-phi35-gguf
- Unsloth Studio
How to use AnamayaVyas/nvd-security-phi35-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AnamayaVyas/nvd-security-phi35-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AnamayaVyas/nvd-security-phi35-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AnamayaVyas/nvd-security-phi35-gguf to start chatting
- Docker Model Runner
How to use AnamayaVyas/nvd-security-phi35-gguf with Docker Model Runner:
docker model run hf.co/AnamayaVyas/nvd-security-phi35-gguf
- Lemonade
How to use AnamayaVyas/nvd-security-phi35-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AnamayaVyas/nvd-security-phi35-gguf
Run and chat with the model
lemonade run user.nvd-security-phi35-gguf-{{QUANT_TAG}}List all available models
lemonade list
NVD Security Analyzer โ Phi-3.5 Mini GGUF
A GGUF version of Phi-3.5 Mini fine-tuned on the AnamayaVyas/nvd-security-instructions dataset. Analyzes CVE vulnerability data and produces structured, developer-friendly security analysis in JSON format.
Run Locally with Ollama
Step 1 - Install Ollama from https://ollama.com
Step 2 - Pull and run: ollama pull hf.co/AnamayaVyas/nvd-security-phi35-gguf ollama run hf.co/AnamayaVyas/nvd-security-phi35-gguf
Step 3 - Type this example prompt:
You are a senior security engineer. Analyze this CVE and respond with a JSON object containing exactly these fields: what_happened, who_is_affected, how_bad_is_it, what_to_do.
CVE ID : CVE-2023-38699 Description : MindsDB prior to version 23.7.4.0 disables SSL certificate checks when calling requests with verify=False, allowing attackers to intercept sensitive data. CVSS Score : 9.1 CVSS Severity : CRITICAL Fix Available : True CWEs : CWE-311
Expected output: { "what_happened": "MindsDB disables SSL certificate checks, allowing attackers to intercept sensitive data.", "who_is_affected": ["MindsDB versions prior to 23.7.4.0"], "how_bad_is_it": "CRITICAL (9.1) - exploitable remotely, no privileges needed, high impact on confidentiality and integrity.", "what_to_do": [ "Update to version 23.7.4.0 or later", "Disable the AI Virtual Database feature until patched", "Use a secure connection when connecting to the database" ] }
Evaluation Results
| Metric | Score |
|---|---|
| Valid JSON rate | 100% (50/50) |
| All fields present | 100% (50/50) |
| Training loss | 0.53 โ 0.42 |
System Requirements
| Minimum | |
|---|---|
| RAM | 8GB |
| GPU | Not required |
| Disk space | 8GB |
Related
- Downloads last month
- 41
We're not able to determine the quantization variants.
Model tree for AnamayaVyas/nvd-security-phi35-gguf
Base model
microsoft/Phi-3.5-mini-instruct