CoolFace
Modelpublic

owenergy/llama3-sharegpt-10k-voice-ai

sourceHugging Facellama3updated 10mo agoView on Hugging Face
0likes7downloads
Model Card

Llama 3 8B - ShareGPT 10K Voice AI

This is a LoRA-finetuned version of Meta-Llama-3-8B-Instruct, trained on 10,887 high-quality conversations from the ShareGPT52K dataset.

๐ŸŽฏ Model Overview

  • โ€”Base Model: meta-llama/Meta-Llama-3-8B-Instruct
  • โ€”Training Method: LoRA (Low-Rank Adaptation)
  • โ€”Quantization: 4-bit (bitsandbytes)
  • โ€”Dataset: RyokoAI/ShareGPT52K
  • โ€”Training Conversations: 10,887
  • โ€”Training Steps: 2,043
  • โ€”Training Epochs: 3
  • โ€”Adapter Size: ~161 MB

๐Ÿ“Š Training Configuration

  • โ€”Learning Rate: 2e-4
  • โ€”Batch Size: 4 (effective: 16 with gradient accumulation)
  • โ€”Gradient Accumulation Steps: 4
  • โ€”LoRA Rank (r): 16
  • โ€”LoRA Alpha: 32
  • โ€”LoRA Dropout: 0.05
  • โ€”Optimizer: pagedadamw32bit
  • โ€”Target Modules: qproj, kproj, vproj, oproj, gateproj, upproj, down_proj
  • โ€”Trainable Parameters: 41,943,040 (0.52% of total)

๐Ÿš€ Quick Start

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

# Load base model
base_model = AutoModelForCausalLM.from_pretrained(
    "meta-llama/Meta-Llama-3-8B-Instruct",
    device_map="auto",
    torch_dtype=torch.float16
)

# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "owenergy/llama3-sharegpt-10k-voice-ai")

# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct")

# Generate response
messages = [
    {"role": "system", "content": "You are a helpful AI assistant."},
    {"role": "user", "content": "Explain quantum computing in simple terms."}
]

inputs = tokenizer.apply_chat_template(messages, return_tensors="pt").to(model.device)
outputs = model.generate(
    inputs,
    max_new_tokens=512,
    temperature=0.7,
    top_p=0.9,
    do_sample=True
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)

๐ŸŽ“ Training Data

The model was trained on 10,887 diverse conversations from ShareGPT52K, covering:

  • โ€”๐Ÿ’ป Technical assistance and programming
  • โ€”๐Ÿ“š General knowledge and education
  • โ€”โœ๏ธ Creative writing and storytelling
  • โ€”๐Ÿ”ง Problem-solving and troubleshooting
  • โ€”๐Ÿ’ฌ Natural conversation and dialogue
  • โ€”๐ŸŒ Wide range of topics and domains

โœจ What Makes This Model Special

  1. 1.High-Quality Data: Trained exclusively on ShareGPT conversations, known for natural and helpful responses
  2. 2.Optimized for Voice AI: Designed for conversational applications with natural dialogue flow
  3. 3.Efficient LoRA: Only 161MB adapter that works with the base model
  4. 4.Well-Balanced: 3 full epochs ensure good learning without overfitting
  5. 5.Conversational Excellence: Excels at multi-turn dialogues and context understanding

๐Ÿ’ช Model Strengths

  • โ€”Natural, human-like conversational responses
  • โ€”Strong context retention across multiple turns
  • โ€”Helpful and informative explanations
  • โ€”Creative problem-solving approaches
  • โ€”Adaptable to various conversation styles

โš ๏ธ Limitations

  • โ€”Requires base Llama 3 8B model (this is just the LoRA adapter)
  • โ€”Trained primarily on English conversations
  • โ€”May inherit biases present in training data
  • โ€”Requires proper chat template formatting
  • โ€”Best performance with conversational use cases

๐Ÿ“ˆ Performance

The model shows improved performance over the base model on:

  • โ€”Conversational coherence
  • โ€”Response helpfulness
  • โ€”Natural dialogue flow
  • โ€”Context understanding
  • โ€”Multi-turn conversations

๐Ÿ› ๏ธ Use Cases

Perfect for:

  • โ€”๐ŸŽ™๏ธ Voice assistants
  • โ€”๐Ÿ’ฌ Chatbots
  • โ€”๐Ÿ“ž Customer service AI
  • โ€”๐Ÿค– Interactive AI applications
  • โ€”๐Ÿ“ฑ Mobile AI assistants
  • โ€”๐ŸŒ Web-based chat interfaces

๐Ÿ“ฆ Model Files

  • โ€”adapter_model.safetensors - LoRA adapter weights (~161MB)
  • โ€”adapter_config.json - Adapter configuration
  • โ€”tokenizer_config.json - Tokenizer settings
  • โ€”special_tokens_map.json - Special tokens
  • โ€”Checkpoints saved every 100 steps

๐Ÿ”ง Hardware Requirements

For Inference:

  • โ€”GPU: 12GB+ VRAM (with 4-bit quantization)
  • โ€”RAM: 16GB+ system memory
  • โ€”Storage: ~5GB (base model) + 161MB (adapter)

Recommended Setup:

  • โ€”GPU: RTX 3090, RTX 4090, A100, or similar
  • โ€”With 4-bit quantization: Can run on consumer GPUs

๐Ÿ“ Citation

bibtex
@misc{llama3-sharegpt-10k-voice-ai,
  author = {owenergy},
  title = {Llama 3 8B ShareGPT 10K Voice AI},
  year = {2025},
  publisher = {HuggingFace},
  url = {https://huggingface.co/owenergy/llama3-sharegpt-10k-voice-ai},
  note = {LoRA finetuned on 10,887 ShareGPT conversations}
}

๐Ÿ“„ License

This model inherits the Llama 3 license from Meta. Please review the Llama 3 License Agreement.

๐Ÿ™ Acknowledgments

  • โ€”Meta for the Llama 3 base model
  • โ€”RyokoAI for the ShareGPT52K dataset
  • โ€”HuggingFace for the transformers and PEFT libraries

๐Ÿ“ง Contact

For questions, issues, or feedback, please open an issue on HuggingFace.


Model Card by: owenergy Date: December 2025 Status: Production Ready โœ