Instructions to use Renugadevi82/cisco-nx-ai-gguf-f16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Renugadevi82/cisco-nx-ai-gguf-f16 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 Renugadevi82/cisco-nx-ai-gguf-f16:F16 # Run inference directly in the terminal: llama cli -hf Renugadevi82/cisco-nx-ai-gguf-f16:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Renugadevi82/cisco-nx-ai-gguf-f16:F16 # Run inference directly in the terminal: llama cli -hf Renugadevi82/cisco-nx-ai-gguf-f16:F16
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 Renugadevi82/cisco-nx-ai-gguf-f16:F16 # Run inference directly in the terminal: ./llama-cli -hf Renugadevi82/cisco-nx-ai-gguf-f16:F16
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 Renugadevi82/cisco-nx-ai-gguf-f16:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Renugadevi82/cisco-nx-ai-gguf-f16:F16
Use Docker
docker model run hf.co/Renugadevi82/cisco-nx-ai-gguf-f16:F16
- LM Studio
- Jan
- Ollama
How to use Renugadevi82/cisco-nx-ai-gguf-f16 with Ollama:
ollama run hf.co/Renugadevi82/cisco-nx-ai-gguf-f16:F16
- Unsloth Studio
How to use Renugadevi82/cisco-nx-ai-gguf-f16 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 Renugadevi82/cisco-nx-ai-gguf-f16 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 Renugadevi82/cisco-nx-ai-gguf-f16 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Renugadevi82/cisco-nx-ai-gguf-f16 to start chatting
- Atomic Chat new
- Docker Model Runner
How to use Renugadevi82/cisco-nx-ai-gguf-f16 with Docker Model Runner:
docker model run hf.co/Renugadevi82/cisco-nx-ai-gguf-f16:F16
- Lemonade
How to use Renugadevi82/cisco-nx-ai-gguf-f16 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Renugadevi82/cisco-nx-ai-gguf-f16:F16
Run and chat with the model
lemonade run user.cisco-nx-ai-gguf-f16-F16
List all available models
lemonade list
Cisco NX-AI GGUF F16
16-bit GGUF (highest quality, largest size)
Model Information
- Base Model: TinyLlama-1.1B
- Fine-tuned for: Cisco network configuration
- Quantization: F16
- File size: 2.05 GB
Download
# Using wget
wget https://huggingface.co/Renugadevi82/cisco-nx-ai-gguf-f16/resolve/main/cisco-nx-ai-f16.gguf
# Using curl
curl -L https://huggingface.co/Renugadevi82/cisco-nx-ai-gguf-f16/resolve/main/cisco-nx-ai-f16.gguf -o cisco-nx-ai-f16.gguf
# Using Hugging Face CLI
huggingface-cli download Renugadevi82/cisco-nx-ai-gguf-f16 cisco-nx-ai-f16.gguf --local-dir .
Usage with llama.cpp
# Interactive mode
./main -m cisco-nx-ai-f16.gguf -i -n 256 --color -r "User:" -f prompts/chat-with-cisco.txt
# Single prompt
./main -m cisco-nx-ai-f16.gguf -p "Configure VLAN 100 with name Management" -n 100
# With specific parameters
./main -m cisco-nx-ai-f16.gguf \
--temp 0.7 \
--top-k 40 \
--top-p 0.9 \
--repeat-penalty 1.1 \
-p "Show running configuration for interface GigabitEthernet0/1"
Usage with Python (llama-cpp-python)
from llama_cpp import Llama
# Load model
llm = Llama(
model_path="cisco-nx-ai-f16.gguf",
n_ctx=512,
n_threads=4,
n_gpu_layers=35 # Adjust based on your GPU memory
)
# Generate response
prompt = "Configure OSPF on area 0 with router ID 1.1.1.1"
response = llm(
prompt,
max_tokens=100,
temperature=0.7,
top_p=0.9,
echo=True
)
print(response['choices'][0]['text'])
Usage with LangChain
from langchain.llms import LlamaCpp
from langchain.prompts import PromptTemplate
from langchain.chains import LLMChain
# Initialize model
llm = LlamaCpp(
model_path="cisco-nx-ai-f16.gguf",
temperature=0.7,
max_tokens=100,
n_ctx=512
)
# Create prompt template
template = """You are a Cisco network configuration assistant.
Task: {task}
Response:"""
prompt = PromptTemplate(template=template, input_variables=["task"])
chain = LLMChain(prompt=prompt, llm=llm)
# Generate
result = chain.run("Configure a static route to 10.0.0.0/24 via 192.168.1.1")
print(result)
Model Capabilities
This model is fine-tuned for Cisco networking tasks including:
- VLAN configuration
- Interface configuration
- Routing protocols (OSPF, BGP, EIGRP)
- Access control lists (ACLs)
- Network troubleshooting commands
Recommended Settings
- Temperature: 0.7-0.8
- Top-K: 40
- Top-P: 0.9
- Repeat Penalty: 1.1
- Context Length: 512
License
Apache 2.0
- Downloads last month
- 16
Hardware compatibility
Log In to add your hardware
16-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support