PEFT
PyTorch
Safetensors
GGUF
English
llama
MATH
LEETCODE
text-generation-inference
SCIENCE
conversational
Instructions to use ragul2607/Pinnacle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ragul2607/Pinnacle with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3.2-1b-instruct-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "ragul2607/Pinnacle") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ragul2607/Pinnacle 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 ragul2607/Pinnacle:Q8_0 # Run inference directly in the terminal: llama cli -hf ragul2607/Pinnacle:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ragul2607/Pinnacle:Q8_0 # Run inference directly in the terminal: llama cli -hf ragul2607/Pinnacle:Q8_0
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 ragul2607/Pinnacle:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ragul2607/Pinnacle:Q8_0
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 ragul2607/Pinnacle:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ragul2607/Pinnacle:Q8_0
Use Docker
docker model run hf.co/ragul2607/Pinnacle:Q8_0
- LM Studio
- Jan
- Ollama
How to use ragul2607/Pinnacle with Ollama:
ollama run hf.co/ragul2607/Pinnacle:Q8_0
- Unsloth Desktop
- Pi
How to use ragul2607/Pinnacle with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ragul2607/Pinnacle:Q8_0
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ragul2607/Pinnacle:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ragul2607/Pinnacle with Docker Model Runner:
docker model run hf.co/ragul2607/Pinnacle:Q8_0
- Lemonade
How to use ragul2607/Pinnacle with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ragul2607/Pinnacle:Q8_0
Run and chat with the model
lemonade run user.Pinnacle-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use ragul2607/Pinnacle with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ragul2607/Pinnacle:Q8_0
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:8080/v1 hermes config set model.default ragul2607/Pinnacle:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ragul2607/Pinnacle with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ragul2607/Pinnacle:Q8_0
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:8080/v1 \ --custom-model-id "ragul2607/Pinnacle:Q8_0" \ --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"
|
Download README.md from ragul2607/Pinnacle: direct link, hf CLI and curl.
- Browser
- Download file 4.95 kB
-
https://huggingface.co/ragul2607/Pinnacle/resolve/main/README.md
- Command line
-
hf download hf://ragul2607/Pinnacle/README.md
-
curl -L -o README.md https://huggingface.co/ragul2607/Pinnacle/resolve/main/README.md
4.95 kB
| base_model: unsloth/llama-3.2-1b-instruct-unsloth-bnb-4bit | |
| library_name: peft | |
| license: apache-2.0 | |
| datasets: | |
| - garage-bAInd/Open-Platypus | |
| language: | |
| - en | |
| tags: | |
| - MATH | |
| - LEETCODE | |
| - text-generation-inference | |
| - SCIENCE | |
| # Model Card for SicMundus | |
| ## Model Details | |
| ### Model Description | |
| This model, **Pinnacle**, is a fine-tuned version of `unsloth/Llama-3.2-1B-Instruct` utilizing Parameter Efficient Fine-Tuning (PEFT) with LoRA (Low-Rank Adaptation). It has been trained on the `Open-Platypus` dataset with a structured Alpaca-style prompt format. The primary goal is to enhance instruction-following capabilities while maintaining efficiency through 4-bit quantization. | |
| - **Developed by:** Ragul | |
| - **Funded by:** Self-funded | |
| - **Organization:** Pinnacle Organization | |
| - **Shared by:** Ragul | |
| - **Model type:** Instruction-tuned Language Model | |
| - **Language(s) (NLP):** English | |
| - **License:** Apache 2.0 (or specify if different) | |
| - **Finetuned from model:** `unsloth/Llama-3.2-1B-Instruct` | |
| ### Model Sources | |
| - **Repository:** [https://huggingface.co/ragul2607/SicMundus] | |
| - **Paper:** N/A (or link to relevant research) | |
| - **Demo:** [Gradio, HF Spaces, etc.] | |
| ## Uses | |
| ### Direct Use | |
| - General-purpose instruction-following tasks | |
| - Text generation | |
| - Code generation assistance | |
| - Conversational AI applications | |
| ### Downstream Use | |
| - Further fine-tuning on domain-specific datasets | |
| - Deployment in chatbot applications | |
| - Text summarization or document completion | |
| ### Out-of-Scope Use | |
| - Not designed for real-time critical applications (e.g., medical or legal advice) | |
| - May not be suitable for handling highly sensitive data | |
| ## Bias, Risks, and Limitations | |
| While the model is designed to be a general-purpose assistant, it inherits biases from the pre-trained Llama model and the Open-Platypus dataset. Users should be aware of potential biases in generated responses, particularly regarding sensitive topics. | |
| ### Recommendations | |
| - Use in conjunction with human oversight. | |
| - Avoid deploying in high-stakes scenarios without additional testing. | |
| ## How to Get Started with the Model | |
| To use the fine-tuned model, follow these steps: | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| import torch | |
| model_path = "path/to/SicMundus" | |
| tokenizer = AutoTokenizer.from_pretrained(model_path) | |
| model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype=torch.float16, device_map="auto") | |
| def generate_response(prompt): | |
| inputs = tokenizer(prompt, return_tensors="pt").to("cuda") | |
| output = model.generate(**inputs, max_new_tokens=100) | |
| return tokenizer.decode(output[0], skip_special_tokens=True) | |
| prompt = "Explain the concept of reinforcement learning." | |
| print(generate_response(prompt)) | |
| ``` | |
| ## Training Details | |
| ### Training Data | |
| - **Dataset:** `garage-bAInd/Open-Platypus` | |
| - **Preprocessing:** The dataset was formatted using Alpaca-style prompts with instruction, input, and output fields. | |
| ### Training Procedure | |
| - **Training Framework:** Hugging Face `transformers` + `trl` (PEFT + LoRA) | |
| - **Precision:** Mixed precision (FP16/BF16 based on hardware support) | |
| - **Batch size:** 2 per device with gradient accumulation | |
| - **Learning rate:** 2e-4 | |
| - **Max Steps:** 100 | |
| - **Optimizer:** AdamW 8-bit | |
| - **LoRA Config:** Applied to key transformer layers (q_proj, k_proj, v_proj, etc.) | |
| ### Speeds, Sizes, Times | |
| - **Checkpoint Size:** ~2GB (LoRA adapters stored separately) | |
| - **Fine-tuning Time:** ~1 hour on A100 GPU | |
| ## Evaluation | |
| ### Testing Data, Factors & Metrics | |
| - **Testing Data:** A subset of Open-Platypus | |
| - **Factors:** Performance on general instruction-following tasks | |
| - **Metrics:** | |
| - Perplexity (PPL) | |
| - Response Coherence | |
| - Instruction-following accuracy | |
| ### Results | |
| - **Perplexity:** TBD | |
| - **Response Quality:** Qualitatively improved over base model on test prompts | |
| ## Model Examination | |
| - **Interpretability:** Standard transformer-based behavior with LoRA fine-tuning. | |
| - **Explainability:** Outputs can be analyzed with attention visualization tools. | |
| ## Environmental Impact | |
| - **Hardware Type:** A100 GPU | |
| - **Hours used:** ~1 hour | |
| - **Cloud Provider:** Local GPU / AWS / Hugging Face Accelerate | |
| - **Carbon Emitted:** Estimated using [Machine Learning Impact Calculator](https://mlco2.github.io/impact) | |
| ## Technical Specifications | |
| ### Model Architecture and Objective | |
| - Transformer-based architecture (Llama-3.2-1B) | |
| - Instruction-following optimization with PEFT-LoRA | |
| ### Compute Infrastructure | |
| - **Hardware:** A100 (or specify if different) | |
| - **Software:** Python, PyTorch, `transformers`, `unsloth`, `peft` | |
| ## Citation | |
| If using this model, please cite: | |
| ```bibtex | |
| @misc{SicMundus, | |
| author = {Ragul}, | |
| title = {SicMundus: Fine-Tuned Llama-3.2-1B-Instruct}, | |
| year = {2025}, | |
| url = {https://huggingface.co/ragul2607/SicMundus} | |
| } | |
| ``` | |
| ## More Information | |
| - **Contact:** [https://github.com/ragultv] | |
| - **Further Work:** Integrate with RLHF for better alignment | |
| ## Model Card Authors | |
| - Ragul |