← Open Source
nv-tlabs

LLaMA-Mesh

Unifying 3D Mesh Generation with Language Models.

ModelsFoundation modelsPython
Open on GitHub
Momentum
+1stars in 24 hours+0.1%
1.17k
Stars
75
Forks
+1
This week
4
Contributors
Created 2024-11-14 · Updated 2026-10-15 · #5785 today
Top developers
thuwzyourslandlorraine2

nv-tlabs/LLaMA-Mesh is ranked 5,785 with 1,173 stars.

Same-category comparison

nv-tlabs/LLaMA-Mesh is ranked 5,785 among these 8 peers; ZhuiyiTechnology/roformer is ranked 5,793.

Same-category comparison
NameRankMetrics
NVIDIA/BigVGAN5,715
Language:
Python
Stars:
1,230
Forks:
150
Description:
Official PyTorch implementation of BigVGAN (ICLR 2023).
MotrixLab/SMPLer-X5,718
Language:
Python
Stars:
1,228
Forks:
82
Description:
[NeurIPS 2023] Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation".
NVIDIA/audio-flamingo5,748
Stars:
1,207
Forks:
104
Description:
PyTorch implementation of Audio Flamingo: Series of Advanced Audio Understanding Language Models.
MediaBrain-SJTU/MING5,774
Language:
Python
Stars:
1,186
Forks:
148
ZhuiyiTechnology/roformer5,793
Language:
Python
Stars:
1,160
Forks:
66
Description:
Rotary Transformer.
OpenGVLab/SAM-Med2D5,812
Language:
Jupyter Notebook
Stars:
1,138
Forks:
112
Description:
Official implementation of SAM-Med2D.
microsoft/ToRA5,827
Language:
Python
Stars:
1,127
Forks:
79
Description:
ToRA is a series of Tool-integrated Reasoning LLM Agents designed to solve challenging mathematical reasoning problems by interacting with tools [ICLR'24].
replit/ReplitLM5,850
Language:
Python
Stars:
1,097
Forks:
145
Description:
Inference code and configs for the ReplitLM model family.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModels
SubcategoryFoundation models
Keywords3D
Stars1,173
Forks75
Contributors4
Created date2024-11-14
Updated date2026-10-15
Stars in 1 day1
Stars in 7 days1
Rank5,785
Previous rank11,248
Rank change5,463
7-day stars rank10,106
Previous 7-day stars rank12,984
7-day stars rank change2,878
Total stars rank9,884
Previous total stars rank9,879
Total stars rank change-5
CountryUSA
README summary

LLaMA-Mesh: Unifying 3D Mesh Generation with Language Models **Paper** | **Project Page** | **Model Weights** | **Huggingface Demo** | **Blender Addon** Create 3D meshes by chatting. Zhengyi Wang, Jonathan Lorraine, Yikai Wang, Hang Su, Jun Zhu, Sanja Fidler, Xiaohui Zeng Abstract: *This work explores expanding the capabilities of large language models (LLMs) pretrained on text to generate 3D meshes within a unified model. This offers key advantages of (1) leveraging spatial knowledge already embedded in LLMs, derived from textual sources like 3D tutorials

, and (2) enabling conversational 3D generation and mesh understanding. A primary challenge is effectively tokenizing 3D mesh data into discrete tokens that LLMs can process seamlessly. To address this, we introduce LLaMA-Mesh, a novel approach that represents the vertex coordinates and face definitions of 3D meshes as plain text, allowing direct integration with LLMs without expanding the vocabulary. We construct a supervised fine-tuning (SFT) dataset enabling pretrained LLMs to (1) generate 3D meshes from text prompts, (2) produce

interleaved text and 3D mesh outputs as required, and (3) understand and interpret 3D meshes. Our work is the first to demonstrate that LLMs can be fine-tuned to acquire complex spatial knowledge for 3D mesh generation in a text-based format, effectively unifying the 3D and text modalities. LLaMA-Mesh achieves mesh generation quality on par with models trained from scratch while maintaining strong text generation performance. (2024/11/18) [x] Release inference code. LLaMA-Mesh unifies text and

3D mesh in a uniform format by representing the numerical values of vertex coordinates and face definitions of a 3D mesh as plain text. Our model is trained using text and 3D interleaved data in an end-to-end manner. Therefore, our model can generate both text and 3D meshes in a unified model. Inference We suggest using Gradio UI for visualizing inference. Or using LLaMA-Mesh with : Acknowledgements Thanks to Dylan Ebert for implementing the blender addon.

Frequently asked questions

How many stars and forks are recorded?

nv-tlabs/LLaMA-Mesh has 1,173 stars and 75 forks.

What is the repository rank?

nv-tlabs/LLaMA-Mesh is ranked 5,785.

What language and category are recorded?

nv-tlabs/LLaMA-Mesh has 1,173 stars, uses Python and belongs to Models.

Which repository is closest in rank?

nv-tlabs/LLaMA-Mesh is compared with ZhuiyiTechnology/roformer, ranked 5,793 with 1,160 stars.

README

LLaMA-Mesh: Unifying 3D Mesh Generation with Language Models

Paper | Project Page | Model Weights | Huggingface Demo | Blender Addon

Create 3D meshes by chatting.

Zhengyi Wang, Jonathan Lorraine, Yikai Wang, Hang Su, Jun Zhu, Sanja Fidler, Xiaohui Zeng

Abstract: This work explores expanding the capabilities of large language models (LLMs) pretrained on text to generate 3D meshes within a unified model. This offers key advantages of (1) leveraging spatial knowledge already embedded in LLMs, derived from textual sources like 3D tutorials, and (2) enabling conversational 3D generation and mesh understanding. A primary challenge is effectively tokenizing 3D mesh data into discrete tokens that LLMs can process seamlessly. To address this, we introduce LLaMA-Mesh, a novel approach that represents the vertex coordinates and face definitions of 3D meshes as plain text, allowing direct integration with LLMs without expanding the vocabulary. We construct a supervised fine-tuning (SFT) dataset enabling pretrained LLMs to (1) generate 3D meshes from text prompts, (2) produce interleaved text and 3D mesh outputs as required, and (3) understand and interpret 3D meshes. Our work is the first to demonstrate that LLMs can be fine-tuned to acquire complex spatial knowledge for 3D mesh generation in a text-based format, effectively unifying the 3D and text modalities. LLaMA-Mesh achieves mesh generation quality on par with models trained from scratch while maintaining strong text generation performance.

https://github.com/user-attachments/assets/11291517-6309-453c-9e7d-087198a8bd87

TODO List

Method

Overview of our method. LLaMA-Mesh unifies text and 3D mesh in a uniform format by representing the numerical values of vertex coordinates and face definitions of a 3D mesh as plain text. Our model is trained using text and 3D interleaved data in an end-to-end manner. Therefore, our model can generate both text and 3D meshes in a unified model.

 ![](assets/pipeline.jpg) 

Inference

We suggest using Gradio UI for visualizing inference.

python app.py

Or using LLaMA-Mesh with transformers:

from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "Zhengyi/LLaMA-Mesh"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(model_path, device_map="auto")

Acknowledgements

Thanks to Dylan Ebert for implementing the blender addon.

BibTeX

@article{wang2024llamameshunifying3dmesh,
    title={LLaMA-Mesh: Unifying 3D Mesh Generation with Language Models},
    author={Zhengyi Wang and Jonathan Lorraine and Yikai Wang and Hang Su and Jun Zhu and Sanja Fidler and Xiaohui Zeng},
    journal={arXiv preprint arXiv:2411.09595},
    year={2024}
}
Nearby in the ranking
Similar items