MineDojo: Building Open-Ended Embodied Agents with Internet-Scale Knowledge
Paper
•
2206.08853
•
Published
•
1
A specialized LLaMA 3.2 model fine-tuned to generate Mineflayer-compatible JavaScript code for Minecraft bot automation.
This model generates executable JavaScript code using the Mineflayer API to create intelligent Minecraft bots. It can produce code for various bot behaviors including mining, building, combat, navigation, and server interaction.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("SanthoshToorpu/minecraft-bot-model")
model = AutoModelForCausalLM.from_pretrained("SanthoshToorpu/minecraft-bot-model")
prompt = "Create a bot that automatically farms wheat"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=200)
code = tokenizer.decode(outputs[0], skip_special_tokens=True)
This model was trained 2x faster with Unsloth and Hugging Face's TRL library.
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.