Text Classification
Transformers
Safetensors
GGUF
English
llama
text-generation
security
log-analysis
threat-detection
nginx
lora
cpu
llama-cpp
Eval Results (legacy)
text-embeddings-inference
Instructions to use LeviDeHaan/SecInt-SmolLM2-360M-nginx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LeviDeHaan/SecInt-SmolLM2-360M-nginx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LeviDeHaan/SecInt-SmolLM2-360M-nginx")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("LeviDeHaan/SecInt-SmolLM2-360M-nginx") model = AutoModelForCausalLM.from_pretrained("LeviDeHaan/SecInt-SmolLM2-360M-nginx") - llama-cpp-python
How to use LeviDeHaan/SecInt-SmolLM2-360M-nginx with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="LeviDeHaan/SecInt-SmolLM2-360M-nginx", filename="smollm-security-nginx02-merged.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use LeviDeHaan/SecInt-SmolLM2-360M-nginx with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf LeviDeHaan/SecInt-SmolLM2-360M-nginx # Run inference directly in the terminal: llama-cli -hf LeviDeHaan/SecInt-SmolLM2-360M-nginx
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf LeviDeHaan/SecInt-SmolLM2-360M-nginx # Run inference directly in the terminal: llama-cli -hf LeviDeHaan/SecInt-SmolLM2-360M-nginx
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 LeviDeHaan/SecInt-SmolLM2-360M-nginx # Run inference directly in the terminal: ./llama-cli -hf LeviDeHaan/SecInt-SmolLM2-360M-nginx
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 LeviDeHaan/SecInt-SmolLM2-360M-nginx # Run inference directly in the terminal: ./build/bin/llama-cli -hf LeviDeHaan/SecInt-SmolLM2-360M-nginx
Use Docker
docker model run hf.co/LeviDeHaan/SecInt-SmolLM2-360M-nginx
- LM Studio
- Jan
- Ollama
How to use LeviDeHaan/SecInt-SmolLM2-360M-nginx with Ollama:
ollama run hf.co/LeviDeHaan/SecInt-SmolLM2-360M-nginx
- Unsloth Studio
How to use LeviDeHaan/SecInt-SmolLM2-360M-nginx 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 LeviDeHaan/SecInt-SmolLM2-360M-nginx 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 LeviDeHaan/SecInt-SmolLM2-360M-nginx to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LeviDeHaan/SecInt-SmolLM2-360M-nginx to start chatting
- Docker Model Runner
How to use LeviDeHaan/SecInt-SmolLM2-360M-nginx with Docker Model Runner:
docker model run hf.co/LeviDeHaan/SecInt-SmolLM2-360M-nginx
- Lemonade
How to use LeviDeHaan/SecInt-SmolLM2-360M-nginx with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LeviDeHaan/SecInt-SmolLM2-360M-nginx
Run and chat with the model
lemonade run user.SecInt-SmolLM2-360M-nginx-{{QUANT_TAG}}List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- model.safetensors +1 -1
- smollm-security-nginx04-merged.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
smollm-security-nginx02-merged.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
smollm-security-nginx02-merged.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
smollm-security-nginx04-merged.gguf filter=lfs diff=lfs merge=lfs -text
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 723674912
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af98ab6b88597f4dcdd816900de2d626819d14f1817d355828123da15ef35738
|
| 3 |
size 723674912
|
smollm-security-nginx04-merged.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63b97ed8481fe4ace4fc457cfc5dd3e8af07d3ad866bc6b30ac90f8bd1bae5bb
|
| 3 |
+
size 725553184
|