codet5-small-terminal-describer

This model is a fine-tuned CodeT5-small model designed to provide natural language descriptions for terminal commands. It was trained on a combined dataset derived from NL2Bash, TLDR Pages, and NL2SH-ALFA.

Evaluation Results

The following table shows the model's generated descriptions for a standard set of test commands:

Command Generated Description
ls -la List all files and directories in the current directory tree
grep -r "TODO" ./src Recursively finds strings with 'TODO' in all files in './src' folder.
find . -name "*.py" -mtime -7 Find all .py files in the current directory tree that were last modified less than 7 days ago
ps aux | grep "python" List all running processes whose name contains "python".
tar -czvf archive.tar.gz /path/to/directory create a compressed archive of "/path/to/directory"
docker run -it --rm -p 8080:80 nginx:latest Run a Docker container with a custom port 8080 on port 8080 on port 8080 on host "nginx"
git checkout -b new-feature Create a new feature in the current directory:
curl -X POST -H "Content-Type: application/json" -d '{"key": "value"}' https://api.example.com/submit Send POST request to "https://api.example.com/submit" with header "Content-Type: application/json"
chmod 755 script.sh Change permissions of "script.sh" to 755
df -h Report file systems disk usage human-readable.
echo "Hello, World!" > output.txt Write "Hello, World!" to standard output and to "output.txt"
sudo apt-get update && sudo apt-get upgrade -y Update all packages to their latest versions:
Downloads last month
14
Safetensors
Model size
60.5M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support