Instructions to use WaiLwin/network-model-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use WaiLwin/network-model-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3.2-3b-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "WaiLwin/network-model-adapter") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files12345678910111213141516171819202122---base_model: unsloth/llama-3.2-3b-instruct-bnb-4bittags:- text-generation-inference- transformers- unsloth- llama- trllicense: apache-2.0language:- en---# Uploaded model- **Developed by:** WaiLwin- **License:** apache-2.0- **Finetuned from model :** unsloth/llama-3.2-3b-instruct-bnb-4bitThis llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)123456789101112131415161718192021222324252627282930---library_name: peftbase_model: unsloth/llama-3.2-3b-instruct-bnb-4bittags:- network-configuration- networking- lora- adapterlicense: apache-2.0---# Network Configuration Analysis LoRA AdapterLoRA adapter for network configuration analysis, optimized for memory efficiency.## Usage```pythonfrom peft import PeftModelfrom transformers import AutoModelForCausalLM, AutoTokenizerbase_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
README.md+21-13