ONNX Model Zoo

jrodriiguezg/grape-chardonnay

By jrodriiguezg · ↓ 15 · ♥ 0 · Updated 2026-02-27

What's in this repo

This page lists the files in jrodriiguezg/grape-chardonnay, including decoder_model_quantized.onnx, decoder_with_past_model_quantized.onnx, encoder_model_quantized.onnx.

  • 3 ONNX models (.onnx files)
  • 12 files, including 6 .json, 3 .onnx, 1 .md, 1 .txt
  • Last updated 2026-02-27

ONNX files

File Size Download
decoder_model_quantized.onnx — Download
decoder_with_past_model_quantized.onnx — Download
encoder_model_quantized.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Model Card for Grape-Chardonnay

Grape-chardonnay is a specialized lightweight AI model designed to translate natural language instructions (in Spanish) into executable Linux Bash commands. It is based on the Salesforce/codet5-small architecture and has been fine-tuned to act as a local terminal assistant.

Model Description

  • Model Name: Grape-Chardonnay
  • Base Model: Salesforce/codet5-small
  • Task: Text-to-Text Generation (Natural Language to Bash)
  • Language: Spanish (Instructions) -> Bash (Code)
  • Input Format: Contexto: ['pwd=current_path', 'ls=file_list'] | Natural language instruction

This model has been specifically trained to handle system administration tasks, file manipulation, and navigation while avoiding common hallucinations found in general-purpose models. It strictly adheres to context constraints (e.g., it will not invent file extensions like .xlsx if they do not exist).

Intended Use

This model is intended to be used as a CLI assistant or a backend for terminal applications where users input commands in Spanish.

Key Capabilities

  1. File Manipulation: Creating (touch, mkdir), moving (mv), copying (cp), and deleting (rm) files.
  2. Navigation: Intelligent use of cd with absolute and relative paths, distinguishing between "moving a file" and "changing directories."
  3. System Information: handling commands like df -h, free -h, ip a, whoami, etc., without confusing them with file operations.
  4. Safety & Precision:
    • Distinguishes clearly between "delete" (rm) and "extract" (unzip/tar).
    • Distinguishes between "view" (cat/xdg-open) and "delete" (rm).
    • Does not hallucinate file extensions (e.g., creating .xlsx files when asked for a generic file).

How to Get Started

You can use this model with the transformers library.

from transformers import AutoTokenizer, T5ForConditionalGeneration

model_name = "jrodriiguezg/grape-chardonnay"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = T5ForConditionalGeneration.from_pretrained(model_name)

# Define the context (simulated environment)
context = "Contexto: ['pwd=/home/user', 'ls=data.zip, notes.txt']"
instruction = "descomprime el archivo zip"

# Prepare input
input_text = f"translate Spanish to Bash: {context} | {instruction}"
input_ids = tokenizer(input_text, return_tensors="pt").input_ids

# Generate command
outputs = model.generate(input_ids, max_length=128)
command = tokenizer.decode(outputs[0], skip_special_tokens=True)

print(command)
# Output: unzip data.zip

Model info

transformers
transformers onnx t5 text2text-generation bash linux code codet5 es dataset:jrodriiguezg/chandonay-nl2bash-es base_model:Salesforce/codet5-small base_model:quantized:Salesforce/codet5-small
↓ 15 ♥ 0

Created: 2026-01-30

Updated: 2026-02-27

View on Hugging Face

Files (12)

.gitattributes
README.md
config.json
decoder_model_quantized.onnx ONNX
decoder_with_past_model_quantized.onnx ONNX
encoder_model_quantized.onnx ONNX
merges.txt
ort_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json

Related models