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

pepsisoonji
/
pepsiLoRA

Text Generation
MLX
Safetensors
PyTorch
English
Korean
llama
facebook
meta
llama-3
llama-3-ko
conversational
Model card Files Files and versions
xet
Community
1

Instructions to use pepsisoonji/pepsiLoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use pepsisoonji/pepsiLoRA with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("pepsisoonji/pepsiLoRA")
    
    prompt = "Write a story about Einstein"
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )
    
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use pepsisoonji/pepsiLoRA with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Interactive chat REPL
    mlx_lm.chat --model "pepsisoonji/pepsiLoRA"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "pepsisoonji/pepsiLoRA"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8000/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "pepsisoonji/pepsiLoRA",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
pepsiLoRA
4.53 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
pepsisoonji's picture
pepsisoonji
Upload folder using huggingface_hub (#1)
f1f4a65 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    651 Bytes
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • config.json
    773 Bytes
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • model.safetensors
    4.52 GB
    xet
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • model.safetensors.index.json
    52.4 kB
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • special_tokens_map.json
    301 Bytes
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • tokenizer.json
    9.09 MB
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • tokenizer_config.json
    51 kB
    Upload folder using huggingface_hub (#1) almost 2 years ago