Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

TheBlueObserver
/
Meta-Llama-3-8B-MLX

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

Instructions to use TheBlueObserver/Meta-Llama-3-8B-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use TheBlueObserver/Meta-Llama-3-8B-MLX with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    # if on a CUDA device, also pip install mlx[cuda]
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("TheBlueObserver/Meta-Llama-3-8B-MLX")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use TheBlueObserver/Meta-Llama-3-8B-MLX with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "TheBlueObserver/Meta-Llama-3-8B-MLX" --prompt "Once upon a time"
Meta-Llama-3-8B-MLX
16.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
TheBlueObserver's picture
TheBlueObserver
Upload folder using huggingface_hub (#1)
ffd3999 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    14.7 kB
    Upload folder using huggingface_hub (#1) over 1 year ago
  • config.json
    705 Bytes
    Upload folder using huggingface_hub (#1) over 1 year ago
  • model-00001-of-00004.safetensors
    5.3 GB
    xet
    Upload folder using huggingface_hub (#1) over 1 year ago
  • model-00002-of-00004.safetensors
    5.35 GB
    xet
    Upload folder using huggingface_hub (#1) over 1 year ago
  • model-00003-of-00004.safetensors
    4.36 GB
    xet
    Upload folder using huggingface_hub (#1) over 1 year ago
  • model-00004-of-00004.safetensors
    1.05 GB
    xet
    Upload folder using huggingface_hub (#1) over 1 year ago
  • model.safetensors.index.json
    25.1 kB
    Upload folder using huggingface_hub (#1) over 1 year ago
  • special_tokens_map.json
    301 Bytes
    Upload folder using huggingface_hub (#1) over 1 year ago
  • tokenizer.json
    9.09 MB
    Upload folder using huggingface_hub (#1) over 1 year ago
  • tokenizer_config.json
    50.6 kB
    Upload folder using huggingface_hub (#1) over 1 year ago