Instructions to use bytecode66/Froged_N1 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 bytecode66/Froged_N1 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 bytecode66/Froged_N1:Q4_K_M # Run inference directly in the terminal: llama cli -hf bytecode66/Froged_N1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bytecode66/Froged_N1:Q4_K_M # Run inference directly in the terminal: llama cli -hf bytecode66/Froged_N1: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 bytecode66/Froged_N1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf bytecode66/Froged_N1:Q4_K_M
Use Docker
docker model run hf.co/bytecode66/Froged_N1:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use bytecode66/Froged_N1 with Ollama:
ollama run hf.co/bytecode66/Froged_N1:Q4_K_M
- Unsloth Desktop
- Pi
How to use bytecode66/Froged_N1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bytecode66/Froged_N1:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "bytecode66/Froged_N1:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use bytecode66/Froged_N1 with Docker Model Runner:
docker model run hf.co/bytecode66/Froged_N1:Q4_K_M
- Lemonade
How to use bytecode66/Froged_N1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bytecode66/Froged_N1:Q4_K_M
Run and chat with the model
lemonade run user.Froged_N1-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use bytecode66/Froged_N1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bytecode66/Froged_N1:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default bytecode66/Froged_N1:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use bytecode66/Froged_N1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bytecode66/Froged_N1:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "bytecode66/Froged_N1:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Configure Hermes
# Install Hermes:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup# Point Hermes at the local server:
hermes config set model.provider custom
hermes config set model.base_url http://127.0.0.1:9931/v1
hermes config set model.default bytecode66/Froged_N1:Q4_K_MRun Hermes
hermesYAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Training Froged_N1 β Full Dataset
Paket ini menyiapkan fine-tuning Qwen2.5-0.5B-Instruct untuk API, coding, server Linux, web/domain, database, DevOps/cloud, defensive security, ethical hacking, dan offensive security yang dikendalikan dalam pentest berizin.
Isi paket
dataset.jsonl: 1.000 contoh unik.dataset_train.jsonl: 900 contoh untuk training.dataset_valid.jsonl: 100 contoh untuk evaluasi.build_full_dataset.py: script pembentuk dataset dan split reproducible.validate_dataset.py: validator format, field, jumlah, dan duplikasi.train_qlora.py: pipeline QLoRA dengan evaluasi validation set.merge_lora.py: penggabung adapter ke model dasar.requirements.txt: dependency training.
Cakupan dataset mencakup REST/FastAPI/Flask/Express/GraphQL/gRPC, auth/OAuth, webhook, pagination, queue, testing, Python/JavaScript/TypeScript/HTML/CSS/SQL, debugging, Git, Docker, Linux/SSH/systemd/Nginx, DNS/TLS, database, CI/CD, cloud, Kubernetes, monitoring, backup, threat modeling, pentest berizin, detection, reporting, dan retest.
Offensive security selalu dibatasi pada target lab atau target dengan izin tertulis. Dataset tidak mencakup pencurian kredensial, malware, persistence, bypass akses, data extraction, atau instruksi serangan terhadap target tanpa izin.
Instalasi dan validasi
Gunakan komputer dengan GPU NVIDIA dan CUDA yang sesuai:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python validate_dataset.py
Training QLoRA
Model GGUF 491 MB di repo dipakai untuk inference. Training memakai checkpoint Transformers:
python train_qlora.py \
--model Qwen/Qwen2.5-0.5B-Instruct \
--data dataset_train.jsonl \
--valid dataset_valid.jsonl \
--out ./froged-qwen-0.5b-lora \
--epochs 3
Untuk GPU dengan VRAM terbatas, turunkan per_device_train_batch_size dan max_seq_length di train_qlora.py. Mulai dari 1 epoch untuk smoke test, lalu evaluasi loss dan contoh jawaban sebelum menambah epoch. Dataset besar tidak menjamin model lebih pintar; lakukan evaluasi manual dan cek overfitting.
Merge adapter dan konversi ke GGUF
python merge_lora.py \
--base Qwen/Qwen2.5-0.5B-Instruct \
--adapter ./froged-qwen-0.5b-lora \
--output ./froged-merged
python llama.cpp/convert_hf_to_gguf.py ./froged-merged \
--outfile ./froged-qwen-0.5b-f16.gguf --outtype f16
./llama.cpp/llama-quantize \
./froged-qwen-0.5b-f16.gguf \
./froged-qwen-0.5b-q4_k_m.gguf Q4_K_M
Uji model hasil konversi sebelum mengganti model di repo. Jangan memasukkan password, API key, token, atau data pribadi ke dataset. Jangan menguji jaringan atau sistem yang bukan milikmu tanpa izin.
Batas environment saat ini
Paket dan pipeline sudah siap, tetapi training final belum dijalankan di sandbox ini karena tidak tersedia GPU NVIDIA. Menjalankan QLoRA 0.5B di CPU akan sangat lambat dan tidak layak untuk proses final.
Knowledge base RAG resmi
Folder rag/ berisi SQLite FTS5 index sekitar 474 MB dengan 109.817 chunk dokumentasi resmi. Sumber mencakup FastAPI, Docker, Kubernetes, OWASP WSTG, OWASP Cheat Sheets, MDN, Node.js, Nginx, dan Terraform. Corpus mentah sekitar 1,43 GB tidak dimasukkan ke arsip gabungan; gunakan rag/download_sources.py bila ingin mengambil ulang sumber sesuai lisensinya.
cd rag
python query.py 'OAuth authentication' --limit 5
python query.py 'Kubernetes deployment' --limit 5
RAG index dan model GGUF adalah dua komponen berbeda: model tetap sekitar 491 MB, sedangkan knowledge base dipanggil saat inference melalui retriever.
- Downloads last month
- 30
4-bit
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp# Start a local OpenAI-compatible server: llama serve -hf bytecode66/Froged_N1:Q4_K_M