Instructions to use Dudeman523/Llama-3.2-3b-Instruct-RustBusters 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 Dudeman523/Llama-3.2-3b-Instruct-RustBusters 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 Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16 # Run inference directly in the terminal: llama cli -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16 # Run inference directly in the terminal: llama cli -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters: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 Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16 # Run inference directly in the terminal: ./llama-cli -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters: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 Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
Use Docker
docker model run hf.co/Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
- LM Studio
- Jan
- Ollama
How to use Dudeman523/Llama-3.2-3b-Instruct-RustBusters with Ollama:
ollama run hf.co/Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
- Unsloth Desktop
- Pi
How to use Dudeman523/Llama-3.2-3b-Instruct-RustBusters with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
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": "Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Dudeman523/Llama-3.2-3b-Instruct-RustBusters with Docker Model Runner:
docker model run hf.co/Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
- Lemonade
How to use Dudeman523/Llama-3.2-3b-Instruct-RustBusters with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
Run and chat with the model
lemonade run user.Llama-3.2-3b-Instruct-RustBusters-F16
List all available models
lemonade list
- Hermes Agent
How to use Dudeman523/Llama-3.2-3b-Instruct-RustBusters with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
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 Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Dudeman523/Llama-3.2-3b-Instruct-RustBusters with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16
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 "Dudeman523/Llama-3.2-3b-Instruct-RustBusters:F16" \ --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"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,156 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- meta-llama/Llama-3.2-3B-Instruct
|
| 7 |
+
---
|
| 8 |
+
# RustBustersHSV-Llama-3.2-3B-Instruct-LoRA
|
| 9 |
+
|
| 10 |
+
This model is a fine-tuned version of [meta-llama/Llama-3.2-3B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) optimized for laser cleaning customer service interactions. It was developed for RustBustersHSV, a laser cleaning and resurfacing company in Huntsville, Alabama.
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
- **Model type**: Fine-tuned Llama-3.2-3B-Instruct with LoRA
|
| 15 |
+
- **Language(s)**: English
|
| 16 |
+
- **License**: [Llama 3 Community License](https://llama.meta.com/llama3/license/)
|
| 17 |
+
- **Finetuning approach**: Parameter-efficient fine-tuning with Low-Rank Adaptation (LoRA)
|
| 18 |
+
|
| 19 |
+
## Intended Uses & Limitations
|
| 20 |
+
|
| 21 |
+
### Intended Uses
|
| 22 |
+
|
| 23 |
+
This model is designed to:
|
| 24 |
+
|
| 25 |
+
- Answer customer inquiries about laser cleaning services
|
| 26 |
+
- Provide detailed information about RustBustersHSV's services
|
| 27 |
+
- Help customers understand the laser cleaning process
|
| 28 |
+
- Address common concerns and objections
|
| 29 |
+
- Guide customers toward requesting a free quote
|
| 30 |
+
|
| 31 |
+
### Limitations
|
| 32 |
+
|
| 33 |
+
This model:
|
| 34 |
+
|
| 35 |
+
- Is not designed to provide specific pricing information
|
| 36 |
+
- Should not be used for non-laser cleaning domains without further adaptation
|
| 37 |
+
- Is limited to English language responses
|
| 38 |
+
- May not have expertise in very technical aspects beyond its training data
|
| 39 |
+
- Should be monitored when deployed in a customer-facing environment
|
| 40 |
+
|
| 41 |
+
## Training Procedure
|
| 42 |
+
|
| 43 |
+
### Training Data
|
| 44 |
+
|
| 45 |
+
The model was fine-tuned on 3,000 synthetic QA pairs categorized into:
|
| 46 |
+
|
| 47 |
+
- General inquiries about laser cleaning
|
| 48 |
+
- Service-specific questions
|
| 49 |
+
- Logistics and location information
|
| 50 |
+
- Process details
|
| 51 |
+
- Concerns and objections
|
| 52 |
+
- Customer experience
|
| 53 |
+
- Technical aspects
|
| 54 |
+
|
| 55 |
+
All QA pairs were generated using templates and variations designed to mimic real customer service interactions for a laser cleaning business.
|
| 56 |
+
|
| 57 |
+
### Training Hyperparameters
|
| 58 |
+
|
| 59 |
+
- **LoRA Configuration**:
|
| 60 |
+
- r: 8
|
| 61 |
+
- lora_alpha: 16
|
| 62 |
+
- lora_dropout: 0.1
|
| 63 |
+
- bias: "none"
|
| 64 |
+
- target_modules: ["q_proj", "v_proj"]
|
| 65 |
+
- task_type: "CAUSAL_LM"
|
| 66 |
+
|
| 67 |
+
- **Training Hyperparameters**:
|
| 68 |
+
- Batch size: 1
|
| 69 |
+
- Learning rate: 2e-5
|
| 70 |
+
- Optimizer: AdamW
|
| 71 |
+
- Sequence length: 128
|
| 72 |
+
- Epochs: 3
|
| 73 |
+
- Warmup ratio: 0.1
|
| 74 |
+
- Early stopping patience: 3
|
| 75 |
+
|
| 76 |
+
### Framework Versions
|
| 77 |
+
|
| 78 |
+
- Transformers 4.38.0+
|
| 79 |
+
- PyTorch 2.0+
|
| 80 |
+
- PEFT for LoRA fine-tuning
|
| 81 |
+
|
| 82 |
+
## Uses
|
| 83 |
+
|
| 84 |
+
This model is intended to be used as a customer service assistant for a laser cleaning business. It can be integrated into:
|
| 85 |
+
|
| 86 |
+
- Live chat on a company website
|
| 87 |
+
- Customer inquiry response systems
|
| 88 |
+
- Internal knowledge base for employees
|
| 89 |
+
- Training materials for new customer service representatives
|
| 90 |
+
|
| 91 |
+
## Bias, Risks, and Limitations
|
| 92 |
+
|
| 93 |
+
The model is specialized for laser cleaning customer service and may:
|
| 94 |
+
|
| 95 |
+
- Emphasize the benefits of laser cleaning over alternative methods
|
| 96 |
+
- Always attempt to guide customers toward requesting quotes
|
| 97 |
+
- Have limited knowledge outside the laser cleaning domain
|
| 98 |
+
- Not understand or respond accurately to highly technical queries outside its training
|
| 99 |
+
|
| 100 |
+
## Training Performance
|
| 101 |
+
|
| 102 |
+
The model was trained using the AdamW optimizer with a linear learning rate scheduler and warmup. Early stopping was used to prevent overfitting.
|
| 103 |
+
|
| 104 |
+
## Environmental Impact
|
| 105 |
+
|
| 106 |
+
- The model was fine-tuned using parameter-efficient LoRA techniques to minimize computational resources
|
| 107 |
+
- Training was performed on TPU to maximize efficiency
|
| 108 |
+
|
| 109 |
+
## How to Use
|
| 110 |
+
|
| 111 |
+
You can use this model with the Transformers pipeline:
|
| 112 |
+
|
| 113 |
+
```python
|
| 114 |
+
from peft import PeftModel, PeftConfig
|
| 115 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 116 |
+
|
| 117 |
+
# Load base model
|
| 118 |
+
model_name = "meta-llama/Llama-3.2-3B-Instruct"
|
| 119 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 120 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
| 121 |
+
|
| 122 |
+
# Load adapter
|
| 123 |
+
adapter_path = "RustBustersHSV/Llama-3.2-3B-Instruct-RustBusters"
|
| 124 |
+
model = PeftModel.from_pretrained(model, adapter_path)
|
| 125 |
+
|
| 126 |
+
# Format your prompt appropriately
|
| 127 |
+
system_prompt = """You are Lloyd, the first point of contact for customers of Rustbusters. Please be warm and friendly and offer actionable information. Rustbusters is a laser cleaning company that specializes in removing rust, paint, and other contaminants using advanced laser technology. Our services include industrial cleaning, restoration, paint removal, and surface preparation."""
|
| 128 |
+
user_prompt = "What is laser cleaning and how does it work?"
|
| 129 |
+
|
| 130 |
+
prompt = f"<|im_start|>system\n{system_prompt}<|im_end|>\n<|im_start|>user\n{user_prompt}<|im_end|>\n<|im_start|>assistant\n"
|
| 131 |
+
|
| 132 |
+
# Generate response
|
| 133 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 134 |
+
outputs = model.generate(**inputs, max_length=512, temperature=0.7, top_p=0.9)
|
| 135 |
+
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 136 |
+
print(response)
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
## Community and Contributions
|
| 140 |
+
|
| 141 |
+
This model is maintained by RustBustersHSV. For questions or issues, please contact [contact information].
|
| 142 |
+
|
| 143 |
+
## Citation
|
| 144 |
+
|
| 145 |
+
If you use this model in research, please cite:
|
| 146 |
+
|
| 147 |
+
```
|
| 148 |
+
@misc{rustbustersllama32,
|
| 149 |
+
author = {RustBustersHSV},
|
| 150 |
+
title = {RustBustersHSV-Llama-3.2-3B-Instruct-LoRA},
|
| 151 |
+
year = {2025},
|
| 152 |
+
publisher = {Hugging Face},
|
| 153 |
+
journal = {Hugging Face model repository},
|
| 154 |
+
howpublished = {\url{https://huggingface.co/RustBustersHSV/Llama-3.2-3B-Instruct-RustBusters}}
|
| 155 |
+
}
|
| 156 |
+
```
|