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

upadhyay
/
sql-4bit-1k

Text Generation
MLX
Safetensors
English
mistral
pretrained
Model card Files Files and versions
xet
Community
1

Instructions to use upadhyay/sql-4bit-1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use upadhyay/sql-4bit-1k 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("upadhyay/sql-4bit-1k")
    
    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 upadhyay/sql-4bit-1k with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "upadhyay/sql-4bit-1k" --prompt "Once upon a time"
sql-4bit-1k
4.08 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
upadhyay's picture
upadhyay
23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b
e1ce6ca verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    606 Bytes
    23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b almost 2 years ago
  • config.json
    689 Bytes
    23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b almost 2 years ago
  • model.safetensors
    4.07 GB
    xet
    a4c2615b38c4bd609fce71cc1b0b9fa4d27d01895f2d4f1f6c6667012bb28d4c almost 2 years ago
  • model.safetensors.index.json
    52.4 kB
    23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b almost 2 years ago
  • special_tokens_map.json
    414 Bytes
    23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b almost 2 years ago
  • tokenizer.json
    1.8 MB
    23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b almost 2 years ago
  • tokenizer_config.json
    949 Bytes
    23cd5acf0aaf4ba1980f29bb0e6f530d11497ea3d3a5972203442deaa0563b3b almost 2 years ago