Run this model with HF Jobs
Run llmware/slim-intent-tool on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/llmware/slim-intent-tool. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/llmware/slim-intent-tool on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use llmware/slim-intent-tool with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llmware/slim-intent-tool with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("llmware/slim-intent-tool", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use llmware/slim-intent-tool with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf llmware/slim-intent-tool # Run inference directly in the terminal: llama cli -hf llmware/slim-intent-tool
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf llmware/slim-intent-tool # Run inference directly in the terminal: llama cli -hf llmware/slim-intent-tool
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf llmware/slim-intent-tool # Run inference directly in the terminal: ./build/bin/llama cli -hf llmware/slim-intent-tool
Use Docker
docker model run hf.co/llmware/slim-intent-tool
- Llama new
- LM Studio
- Jan
- Ollama
How to use llmware/slim-intent-tool with Ollama:
ollama run hf.co/llmware/slim-intent-tool
- Unsloth Desktop
- Docker Model Runner
How to use llmware/slim-intent-tool with Docker Model Runner:
docker model run hf.co/llmware/slim-intent-tool
- Lemonade
How to use llmware/slim-intent-tool with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull llmware/slim-intent-tool
Run and chat with the model
lemonade run user.slim-intent-tool-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Upload README.md
Browse files123---license: apache-2.0---1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---license: apache-2.0---# Model Card for Model ID<!-- Provide a quick summary of what the model is/does. -->**slim-sentiment-tool** is part of the SLIM ("Structured Language Instruction Model") model series, providing a set of small, specialized decoder-based LLMs, fine-tuned for function-calling.slim-sentiment-tool is a 4_K_M quantized GGUF version of slim-sentiment-tool, providing a fast, small inference implementation.Load in your favorite GGUF inference engine, or try with llmware as follows:from llmware.models import ModelCatalogsentiment_tool = ModelCatalog().load_model("llmware/slim-sentiment-tool")response = sentiment_tool.function_call(text_sample, params=["sentiment"], function="classify")Slim models can also be loaded even more simply as part of LLMfx calls:from llmware.agents import LLMfxllm_fx = LLMfx()llm_fx.load_tool("sentiment")response = llm_fx.sentiment(text)### Model Description<!-- Provide a longer summary of what this model is. -->- **Developed by:** llmware- **Model type:** GGUF- **Language(s) (NLP):** English- **License:** Apache 2.0- **Quantized from model:** llmware/slim-sentiment (finetuned tiny llama)## Uses<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->The intended use of SLIM models is to re-imagine traditional 'hard-coded' classifiers through the use of function calls.Example:text = "The stock market declined yesterday as investors worried increasingly about the slowing economy."model generation - {"sentiment": ["negative"]}keys = "sentiment"All of the SLIM models use a novel prompt instruction structured as follows:"<human> " + text + "<classify> " + keys + "</classify>" + "/n<bot>: "## Model Card ContactDarren Oberst & llmware team
README.md+59