Downloads · 30 days
26
22% of all-time downloads
Mitchins/codet5-small-terminal-describer
codet5-small-terminal-describer is a machine learning model from Mitchins. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
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.
Downloads · 30 days
26
22% of all-time downloads
All-time downloads
120
Public
Parameters
60.5M
243 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors242 MB · 99%
From the Hugging Face model README
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.
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: |