GenSim: Generating Robotic Simulation Tasks via Large Language Models

This model is a code-llama-instruct model finetuned on the released dataset of 100 simulation tasks generated by GPT-4 and humans. It can perform simulation task code generation similar to a GPT-4 level model.

Usage

from transformers import AutoModel
input = "[INST] <<SYS>>\n
<</SYS>>\n
Write the pybullet simulation task class [splitting-piles]. Provide answers in a python code block starting with ```
 [/INST]\n"
model = AutoModel.from_pretrained("Gen-Sim/Gen-Sim", trust_remote_code=True)

Intended Use: