File size: 779 Bytes
56fa9f2
952bd9a
56fa9f2
 
952bd9a
 
 
 
56fa9f2
 
 
952bd9a
56fa9f2
952bd9a
56fa9f2
952bd9a
56fa9f2
952bd9a
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
library_name: peft
base_model: unsloth/llama-3.2-3b-instruct-bnb-4bit
tags:
- network-configuration
- networking
- lora
- adapter
license: apache-2.0
---

# Network Configuration Analysis LoRA Adapter

LoRA adapter for network configuration analysis, optimized for memory efficiency.

## Usage

```python
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3.2-3b-instruct-bnb-4bit")
tokenizer = AutoTokenizer.from_pretrained("unsloth/llama-3.2-3b-instruct-bnb-4bit")
model = PeftModel.from_pretrained(base_model, "WaiLwin/network-model-adapter")
```

## Training Details
- Optimized for Google Colab memory constraints
- LoRA Rank: 8, Alpha: 8
- Max Sequence Length: 1024