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

ssaraf1
/
slm-workflow-planner-7b-v2

Text Generation
MLX
English
workflow-planning
slm
lora
apple-silicon
policy-learning
qwen2
text-classification
contrastive-alignment
Model card Files Files and versions
xet
Community

Instructions to use ssaraf1/slm-workflow-planner-7b-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use ssaraf1/slm-workflow-planner-7b-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("ssaraf1/slm-workflow-planner-7b-v2")
    
    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 ssaraf1/slm-workflow-planner-7b-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 "ssaraf1/slm-workflow-planner-7b-v2" --prompt "Once upon a time"
slm-workflow-planner-7b-v2
162 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
ssaraf1's picture
ssaraf1
Upload eval_results_gpt41_comparison.json with huggingface_hub
ad41d5d verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    6.03 kB
    Upload README.md with huggingface_hub 3 months ago
  • adapter_config.json
    708 Bytes
    Upload adapter_config.json with huggingface_hub 3 months ago
  • adapters.safetensors
    162 MB
    xet
    Upload adapters.safetensors with huggingface_hub 3 months ago
  • eval_results_gpt41_comparison.json
    32.2 kB
    Upload eval_results_gpt41_comparison.json with huggingface_hub 3 months ago