Run this model with HF Jobs
Run VGribAI/Tensor-agent-60M-GGUF 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 and TRL to fine-tune https://huggingface.co/VGribAI/Tensor-agent-60M-GGUF. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs and Transformers to run batch inference with https://huggingface.co/VGribAI/Tensor-agent-60M-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs and Lighteval to evaluate https://huggingface.co/VGribAI/Tensor-agent-60M-GGUF. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/VGribAI/Tensor-agent-60M-GGUF with Transformers and bitsandbytes. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use VGribAI/Tensor-agent-60M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VGribAI/Tensor-agent-60M-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VGribAI/Tensor-agent-60M-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("VGribAI/Tensor-agent-60M-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use VGribAI/Tensor-agent-60M-GGUF 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 VGribAI/Tensor-agent-60M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf VGribAI/Tensor-agent-60M-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
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 VGribAI/Tensor-agent-60M-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use VGribAI/Tensor-agent-60M-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VGribAI/Tensor-agent-60M-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VGribAI/Tensor-agent-60M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
- SGLang
How to use VGribAI/Tensor-agent-60M-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "VGribAI/Tensor-agent-60M-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VGribAI/Tensor-agent-60M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "VGribAI/Tensor-agent-60M-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VGribAI/Tensor-agent-60M-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use VGribAI/Tensor-agent-60M-GGUF with Ollama:
ollama run hf.co/VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use VGribAI/Tensor-agent-60M-GGUF with Docker Model Runner:
docker model run hf.co/VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
- Lemonade
How to use VGribAI/Tensor-agent-60M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull VGribAI/Tensor-agent-60M-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Tensor-agent-60M-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("VGribAI/Tensor-agent-60M-GGUF", device_map="auto")Tensor-agent
1. General Information
Tensor-agent is a compact shell-agent language model built from scratch by VGribAI. It accepts a natural-language request about files and folders and generates a single bash command that fulfils the request. It is intended for English, and for turning file and navigation tasks into executable actions on the host system. The model is released with open weights to support research, fine-tuning and integration into third-party terminal and agentic tools.
Languages: English
Model provider: VGribAI
Date of release: December 1, 2026
License: Apache 2.0
2. Getting Started
The weights are available in this repository in two forms: a full fp32 safetensors checkpoint for use with Hugging Face, and quantised GGUF builds for CPU and Ollama runtimes.
Required hardware
The full checkpoint is distributed as a single 222 MB model.safetensors. It runs on any modern GPU, on CPU, or on a single-board computer. No minimum VRAM is required.
Required software
Tensor-agent can be run with:
- Transformers with the safetensors weights
- llama.cpp with the quantised GGUF builds
- Ollama with the quantised GGUF builds through a Modelfile
Running with transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
SYS = ("You are Tensor, a shell agent. Reply with exactly one bash command that "
"fulfills the user's request. No explanations, no markdown.")
tok = AutoTokenizer.from_pretrained("safetensors")
model = AutoModelForCausalLM.from_pretrained("safetensors")
msgs = [{"role": "system", "content": SYS},
{"role": "user", "content": "Open the Downloads folder"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt")
out = model.generate(ids, max_new_tokens=32, eos_token_id=[0, 2], pad_token_id=2)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True)) # cd ~/Downloads
Running a GGUF build
llama-cli -m gguf/tensor-agent-Q4_K_M.gguf -f prompt.txt --temp 0 -n 32
with prompt.txt:
<|im_start|>system
You are Tensor, a shell agent. Reply with exactly one bash command.<|im_end|>
<|im_start|>user
Open the Videos folder<|im_end|>
<|im_start|>assistant
3. Model Properties
Model type
Text-to-text autoregressive transformer, fine-tuned as a single-turn command generator.
Architecture type
A 12-layer decoder-only transformer in Qwen2 style, with grouped-query attention (8 query heads, 2 key-value heads) and SwiGLU feed-forwards. Tied input and output embeddings.
Parameters
50.26M, tied embeddings.
Input / output modalities
- Input: natural-language description of a filesystem task
- Output: a single bash command
Context
512 tokens. Default answer length is 32 tokens.
4. Evaluations
| Suite | Tasks | Score |
|---|---|---|
| Navigation | 10 | 8/10 |
| File creation | 5 | 4/5 |
| Inspection | 7 | 7/7 |
| File operations | 4 | 3/4 |
| System info | 3 | 3/3 |
| Overall | 29 | 25/29 (86%) |
Held-out tasks, greedy decoding, a correct command counted as correct. Every folder request resolves to the correct named directory; pwd, date, df, whoami are exact; file and folder names from the request are copied into the command instead of being invented.
5. Bias, risks and limitations
Tensor-agent may exhibit limitations common to small language models, including hallucination, instruction-following failures, and degraded behaviour outside its training domain. As a model trained on a narrow filesystem corpus, its output on any task outside file and navigation requests is text, not a fact.
- One command. The model is designed for single, atomic filesystem operations. It does not handle multi-step pipelines or conditional logic.
- Execution risk. The output is an executable command. On a 50M model a small fraction of commands are incorrect, and some are destructive in shape. The model gives no confirmation and no explanation.
- A very small model. Knowledge is limited to its training context. Answers outside the file domain decline sharply.
- English only.
- 512 tokens of context, no memory beyond the window.
6. Recommendations
We recommend that downstream developers and deployers:
- Gate any generated command behind a whitelist of allowed binaries before execution.
- Never execute
rm,mv,dd,curl | shor similar destructive shapes without confirmation. - Run the model in a sandbox when the output is executed, not in an unrestricted shell.
- Evaluate the model on their own task distribution before deployment, especially for non-English inputs.
- Downloads last month
- 313
3-bit
4-bit
6-bit
8-bit
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VGribAI/Tensor-agent-60M-GGUF")