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

  • Log In
  • Sign Up

PINKlab
/
OSHE-Local-v2

Text Generation
MLX
apple-silicon
local-ai
agent
openai-compatible
cantonese
Model card Files Files and versions
xet
Community

Instructions to use PINKlab/OSHE-Local-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use PINKlab/OSHE-Local-v2 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("PINKlab/OSHE-Local-v2")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
  • MLX LM

    How to use PINKlab/OSHE-Local-v2 with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "PINKlab/OSHE-Local-v2" --prompt "Once upon a time"
  • Atomic Chat
OSHE-Local-v2
2.53 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
playroom's picture
playroom
Remove superseded public document from legal directory
8ce93df verified 3 months ago
  • legal
    Remove superseded public document from legal directory 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • EVALUATION.md
    2.93 kB
    Stage signed OSHE Local v2 Community Preview release 3 months ago
  • INSTALL.md
    1.7 kB
    Stage signed OSHE Local v2 Community Preview release 3 months ago
  • OSHE-Local-v2-Community-Preview-2.0.0-preview.1-macos-arm64.tar.gz
    2.53 GB
    xet
    Stage signed OSHE Local v2 Community Preview release 3 months ago
  • OSHE-Local-v2-Community-Preview-2.0.0-preview.1-macos-arm64.tar.gz.sha256
    133 Bytes
    xet
    Stage signed OSHE Local v2 Community Preview release 3 months ago
  • README.md
    3.63 kB
    Stage signed OSHE Local v2 Community Preview release 3 months ago
  • oshe-community-preview-public.pem
    113 Bytes
    Stage OSHE Local v2 Community Preview documentation 3 months ago
  • release-manifest.json
    6.36 kB
    Stage signed OSHE Local v2 Community Preview release 3 months ago
  • release-manifest.sig.json
    329 Bytes
    Stage signed OSHE Local v2 Community Preview release 3 months ago
  • verify-release.py
    9.8 kB
    Stage OSHE Local v2 Community Preview documentation 3 months ago