Run this model with HF Jobs

Run Bruce1489/Llama3.2-docker-command-v3 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/Bruce1489/Llama3.2-docker-command-v3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Bruce1489/Llama3.2-docker-command-v3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Bruce1489/Llama3.2-docker-command-v3. 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/Bruce1489/Llama3.2-docker-command-v3. 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.
How to use from
Docker Model Runner
docker model run hf.co/Bruce1489/Llama3.2-docker-command-v3
Quick Links

Model Card for Model ID

Improved accuracy over V2.

Fine-tuned the "meta-llama/Llama-3.2-1B-Instruct" model using the QLoRA technique.

The resulting model can generate Docker commands based on given statements.

  • Developed by: Bruce1489(์ •์„ฑํ›ˆ, Bruce Jung)
  • License: mit
  • Finetuned from model [optional]: meta-llama/Llama-3.2-1B-Instruct

Direct Use

import torch
from transformers import pipeline

pipe = pipeline(
    "text-generation",
    model="Bruce1489/Llama3.2-docker-command-v3",
    torch_dtype=torch.bfloat16,
    device_map="auto"
)
messages = [
    {"role": "system", "content": "translate this sentence in docker command"},
    {"role": "user", "content": "Please show me the Docker containers that have exited and are related to the mongo image."},
]

outputs = pipe(
    messages,
    max_new_tokens=256,
    temperature = 0.5,
    top_p  = 0.9,
    top_k = 10,
    do_sample = True,
    repetition_penalty = 1.2
)
print(outputs[0]["generated_text"][-1]['content'])
Downloads last month
10
Safetensors
Model size
1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train Bruce1489/Llama3.2-docker-command-v3