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

owen198
/
3cm

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

Instructions to use owen198/3cm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use owen198/3cm 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("owen198/3cm")
    
    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 owen198/3cm with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "owen198/3cm" --prompt "Once upon a time"
3cm
20.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
owen198's picture
owen198
Upload folder using huggingface_hub (#2)
baef515 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    14.3 kB
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • config.json
    705 Bytes
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • model-00001-of-00004.safetensors
    5.3 GB
    xet
    Upload folder using huggingface_hub (#1) almost 2 years ago
  • model-00002-of-00004.safetensors
    5.35 GB
    xet
    Upload folder using huggingface_hub (#2) almost 2 years ago
  • model-00003-of-00004.safetensors
    4.36 GB
    xet
    Upload folder using huggingface_hub (#2) almost 2 years ago
  • model-00004-of-00004.safetensors
    1.05 GB
    xet
    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
    25.1 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
    50.6 kB
    Upload folder using huggingface_hub (#1) almost 2 years ago