ShellWhisperer-1.5B

A compact 1.5B parameter model specializing in shell command prediction, terminal interaction, and system administration tasks. Optimized for fast inference on edge devices.

Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "fableforge-ai/ShellWhisperer-1.5B"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")

prompt = """You are an AI agent. Complete the following task:

Task: Write a Python function to calculate the Fibonacci sequence.

Reasoning:"""

inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.6, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Use Cases

  • Shell command completion and suggestion
  • Terminal error diagnosis and fix suggestion
  • Infrastructure-as-code generation
  • DevOps automation assistance

Integration with FableForge Ecosystem

from fableforge_agent_runtime import AgentRuntime
from fableforge_agent_skills import SkillLibrary

runtime = AgentRuntime(
    model="fableforge-ai/ShellWhisperer-1.5B",
    skills=SkillLibrary.all(),
    verification=True
)

result = runtime.run("Deploy a web server on AWS")
print(result.output)
print(result.verification_score)

Ecosystem Integration

Part of the FableForge Agent Ecosystem - 21 open-source projects for building, testing, and deploying AI agents.

Package Install Purpose
fableforge pip install fableforge Unified CLI
fableforge-anvil-agent pip install fableforge-anvil-agent Self-verified coding agent
fableforge-agent-swarm pip install fableforge-agent-swarm Multi-agent orchestration
fableforge-agent-runtime pip install fableforge-agent-runtime Production agent runtime
fableforge-agent-skills pip install fableforge-agent-skills Skill library
verifyloop pip install verifyloop Verification loops
reason-critic pip install reason-critic Reasoning assessment

Model Details

Attribute Value
Architecture LlamaForCausalLM
Parameters 1.5B
Hidden Size 2048
Layers 24
Attention Heads 16
KV Heads 16
Max Context 2048
Training Data Fable5 agent traces + curated reasoning datasets
License MIT

Limitations

  • May generate incorrect code -- always use with verifyloop for critical tasks
  • Trained primarily on English data; multilingual performance is limited
  • Can hallucinate API signatures or tool parameters
  • Not suitable for medical, legal, or financial advice without human review

Citation

@misc{shellwhisperer1.5b2024,
  title={ShellWhisperer-1.5B: Agent Orchestration via Fine-Tuned Language Models},
  author={FableForge Team},
  year={2024},
  url={https://huggingface.co/fableforge-ai/ShellWhisperer-1.5B}
}

License

MIT License - see LICENSE for details.


Built with hammer by the Anvil team. Part of the FableForge ecosystem.

Downloads last month
677
Safetensors
Model size
2B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for fableforge-ai/ShellWhisperer-1.5B

Finetunes
1 model
Quantizations
7 models