Instructions to use kylewhite0314/finetuned-ai-rag with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kylewhite0314/finetuned-ai-rag with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/phi-3-mini-4k-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "kylewhite0314/finetuned-ai-rag") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use kylewhite0314/finetuned-ai-rag with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kylewhite0314/finetuned-ai-rag to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kylewhite0314/finetuned-ai-rag to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kylewhite0314/finetuned-ai-rag to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="kylewhite0314/finetuned-ai-rag", max_seq_length=2048, )
finetuned-ai-rag (AI Engineering & RAG Knowledge Assistant)
Model Description
This model is a fine-tuned version of Microsoft's Phi-3-mini-4k-instruct. I fine-tuned this model specifically to act as a technical tutor and assistant for AI Engineering, RAG (Retrieval-Augmented Generation), and LLM development.
Training Data
The model was fine-tuned using a custom curated dataset of high-quality technical Q&A pairs focused on:
- Building RAG (Retrieval-Augmented Generation) systems
- Large Language Model (LLM) fundamentals
- Fine-tuning techniques and LoRA adapters
- AI Engineering career paths and best practices
Training Details
- Base Model: unsloth/Phi-3-mini-4k-instruct
- Framework: Unsloth, TRL (Supervised Fine-Tuning)
- Hardware: NVIDIA T4 GPU (Google Colab)
- Quantization: 4-bit quantization for memory efficiency
- Training Method: LoRA (Low-Rank Adaptation) with 4-bit base model
Use Cases
This model is designed for:
- Educational purposes: Helping developers understand RAG and LLM concepts.
- RAG Prototyping: Answering technical questions about retrieval-augmented generation.
- Fine-tuning demonstrations: Showing the capabilities of efficient fine-tuning techniques.
Intended Use
This is a demonstration model showcasing my ability to fine-tune LLMs using modern libraries (Unsloth, TRL, PEFT). It is intended for portfolio proof-of-work and educational Q&A.
- Downloads last month
- 8