BTGenBot
Collection
4 items โข Updated โข 1
Run AIRLab-POLIMI/codellama-7b-instruct-hf-btgenbot-adapter 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:
Use HF Jobs to fine-tune https://huggingface.co/AIRLab-POLIMI/codellama-7b-instruct-hf-btgenbot-adapter. 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.
Use HF Jobs to run batch inference with https://huggingface.co/AIRLab-POLIMI/codellama-7b-instruct-hf-btgenbot-adapter 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.
How to use AIRLab-POLIMI/codellama-7b-instruct-hf-btgenbot-adapter with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-Instruct-hf")
model = PeftModel.from_pretrained(base_model, "AIRLab-POLIMI/codellama-7b-instruct-hf-btgenbot-adapter")LoRA adapter release for the paper BTGenBot: Behavior Tree Generation for Robotic Tasks with Lightweight LLMs, currently in submission at IEEE/RSJ International Conference on Intelligent Robots and Systems.GitHub RepositoryPaper
Behavior trees generation for robotic tasks
The following bitsandbytes quantization config was used during training:
Base model
codellama/CodeLlama-7b-Instruct-hf