Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

DiyRex
/
emobooks-llama3-lora

Text Generation
PEFT
Safetensors
English
Sinhala
llama
lora
emotion
book-recommendation
sinhala
unsloth
conversational
Model card Files Files and versions
xet
Community

Instructions to use DiyRex/emobooks-llama3-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use DiyRex/emobooks-llama3-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3-8b-instruct-bnb-4bit")
    model = PeftModel.from_pretrained(base_model, "DiyRex/emobooks-llama3-lora")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use DiyRex/emobooks-llama3-lora 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 DiyRex/emobooks-llama3-lora 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 DiyRex/emobooks-llama3-lora to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for DiyRex/emobooks-llama3-lora to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="DiyRex/emobooks-llama3-lora",
        max_seq_length=2048,
    )
emobooks-llama3-lora
353 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
DiyRex's picture
DiyRex
v9 β€” cleaned Sinhala-only catalog + anti-hallucination guardrail
91b50d9 verified 30 days ago
  • .gitattributes
    1.57 kB
    Upload LoRA adapter (v6 emotional intelligence) about 1 month ago
  • README.md
    10.3 kB
    v9 β€” cleaned Sinhala-only catalog + anti-hallucination guardrail 30 days ago
  • adapter_config.json
    1.25 kB
    v9 β€” cleaned Sinhala-only catalog + anti-hallucination guardrail 30 days ago
  • adapter_model.safetensors
    336 MB
    xet
    v9 β€” cleaned Sinhala-only catalog + anti-hallucination guardrail 30 days ago
  • chat_template.jinja
    389 Bytes
    Upload LoRA adapter (v6 emotional intelligence) about 1 month ago
  • tokenizer.json
    17.2 MB
    xet
    Upload LoRA adapter (v6 emotional intelligence) about 1 month ago
  • tokenizer_config.json
    50.7 kB
    Upload LoRA adapter (v6 emotional intelligence) about 1 month ago