munish0838 commited on
Commit
dc7b241
·
verified ·
1 Parent(s): bc78e21

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +129 -0
README.md ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+
4
+ license: llama3.1
5
+ library_name: transformers
6
+ pipeline_tag: text-generation
7
+ tags:
8
+ - mesh-generation
9
+
10
+ ---
11
+
12
+ [![QuantFactory Banner](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeiuCm7c8lEwEJuRey9kiVZsRn2W-b4pWlu3-X534V3YmVuVc2ZL-NXg2RkzSOOS2JXGHutDuyyNAUtdJI65jGTo8jT9Y99tMi4H4MqL44Uc5QKG77B0d6-JfIkZHFaUA71-RtjyYZWVIhqsNZcx8-OMaA?key=xt3VSDoCbmTY7o-cwwOFwQ)](https://hf.co/QuantFactory)
13
+
14
+
15
+ # QuantFactory/LLaMA-Mesh-GGUF
16
+ This is quantized version of [Zhengyi/LLaMA-Mesh](https://huggingface.co/Zhengyi/LLaMA-Mesh) created using llama.cpp
17
+
18
+ # Original Model Card
19
+
20
+
21
+ # LLaMA-Mesh: Unifying 3D Mesh Generation with Language Models
22
+
23
+ [**Paper**](https://arxiv.org/pdf/2411.09595) | [**Project Page**](https://research.nvidia.com/labs/toronto-ai/LLaMA-Mesh/)
24
+
25
+ Pre-trained model weights of LLaMA-Mesh: Unifying 3D Mesh Generation with Language Models
26
+
27
+
28
+ [Zhengyi Wang](https://thuwzy.github.io/), [Jonathan Lorraine](https://www.jonlorraine.com/), [Yikai Wang](https://yikaiw.github.io/), [Hang Su](https://www.suhangss.me/), [Jun Zhu](https://ml.cs.tsinghua.edu.cn/~jun/index.shtml), [Sanja Fidler](https://www.cs.utoronto.ca/~fidler/), [Xiaohui Zeng](https://www.cs.utoronto.ca/~xiaohui/)
29
+
30
+
31
+ 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.*
32
+
33
+
34
+ <video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/634e15aec1ce28f1de91c470/CwSCmyJizQderIYC8CaJ4.mp4"></video>
35
+
36
+ ## Method
37
+
38
+ 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.
39
+
40
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/634e15aec1ce28f1de91c470/0DzHXhoxonG5ZMeTysA6s.jpeg)
41
+
42
+ ### Model Developer: Base model weight is from Meta. Finetuned by Nvidia
43
+
44
+ ## Third-Party Community Consideration:
45
+ This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party’s requirements for this application and use case; see link to Non-NVIDIA [Llama 3.1 Model Card](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/MODEL_CARD.md).
46
+
47
+ ## License/Terms of Use:
48
+ This model, Llama-Mesh, is distributed under the following licenses:
49
+ 1. NSCLv1 License
50
+ The Llama-Mesh model is licensed under the NSCLv1 license, which allows non-commercial use only. For details, please refer to the LICENSE.txt file.
51
+ 2. Llama 3.1 Community License Agreement
52
+ This model incorporates components of Llama 3.1 technology, which is licensed under the Llama 3.1 Community License Agreement. Redistribution and use of Llama 3.1 materials must comply with the terms of this agreement. See the LLAMA_LICENSE.txt file for full details.
53
+
54
+ ## Attribution
55
+ This model is built with Llama 3.1 technology, as required by the Llama 3.1 Community License Agreement. The required attribution is: "Built with Llama".
56
+
57
+ ## Reference(s):
58
+ Llama 3.1 [Github](https://github.com/meta-llama/llama-models/tree/main/models/llama3_1)
59
+
60
+ ## Model Architecture:
61
+ **Architecture Type:** Transformer
62
+ *Network Architecture:* Llama 3.1
63
+
64
+ ## Input:
65
+ **Input Type(s):** Text
66
+
67
+ **Input Format(s):** String
68
+
69
+ **Input Parameters:** 1D
70
+
71
+ **Other Properties Related to Input:** Max token length 8k
72
+
73
+ ## Output:
74
+ **Output Type(s):** Text
75
+
76
+ **Output Format:** String
77
+
78
+ **Output Parameters:** 1D
79
+
80
+ **Other Properties Related to Output:** Max token length 8k
81
+
82
+ **Supported Hardware Microarchitecture Compatibility:**
83
+ * NVIDIA Ada
84
+
85
+ **Supported Operating System(s):**
86
+ * Linux
87
+
88
+ ## Model Version(s):
89
+ Llama 3.1 8B mesh
90
+
91
+ # Training Dataset:
92
+ Please refer to [Llama 3.1 Model Card](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/MODEL_CARD.md) for information on Training, Testing, and Evaluation Datasets).
93
+
94
+ The data is curated through converting Objaverse mesh data into text string (in the format as vertex index, face index as string). The model is finetuned on the curated dataset with 32 GPU.
95
+
96
+ [**Objaverse**](https://objaverse.allenai.org/explore/)
97
+
98
+ **Data Collection Method by dataset**: Unknown
99
+
100
+ **Labeling Method by dataset**: Unknown
101
+
102
+ **Properties:** We use 30k mesh data, which is a subset from the Objaverse. We filter the Objaverse dataset by the number of faces, and only keep the shape with the number of faces less than 500. They are saved as obj file format.
103
+
104
+ **Dataset License(s):** The use of the dataset as a whole is licensed under the ODC-By v1.0 license.
105
+
106
+
107
+ ## Inference:
108
+ **Engine**: Pytorch
109
+
110
+ **Test Hardware**: A100
111
+
112
+ ## Ethical Considerations:
113
+ NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
114
+
115
+ Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
116
+
117
+ ## BibTeX
118
+
119
+ ```bibtex
120
+ @misc{wang2024llamameshunifying3dmesh,
121
+ title={LLaMA-Mesh: Unifying 3D Mesh Generation with Language Models},
122
+ author={Zhengyi Wang and Jonathan Lorraine and Yikai Wang and Hang Su and Jun Zhu and Sanja Fidler and Xiaohui Zeng},
123
+ year={2024},
124
+ eprint={2411.09595},
125
+ archivePrefix={arXiv},
126
+ primaryClass={cs.LG},
127
+ url={https://arxiv.org/abs/2411.09595},
128
+ }
129
+ ```