xaskasdf commited on
Commit
ac374c9
·
verified ·
1 Parent(s): 591002a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ library_name: transformers
5
+ ---
6
+ # Model Card: LLM Compiler 13B FTD GGUF
7
+
8
+ This is a GGUF conversion and quantization of Meta's LLM Compiler 13B FTD model, optimized for code and compiler tasks.
9
+
10
+ ## Model Details
11
+
12
+ - **Developed by:** Meta
13
+ - **Model type:** LLM Compiler 13B FTD (Fine-tuned for code size and disassembly)
14
+ - **Language(s):** English, relevant programming languages, LLVM IR, x86_64 assembly, and ARM assembly
15
+ - **License:** Meta Large Language Model Compiler (LLM Compiler) License Agreement
16
+ - **Model Architecture:** Auto-regressive language model using an optimized transformer architecture
17
+ - **Conversion:** GGUF format conversion and quantization performed using llama.cpp build 3263 (26a39bbd) on Windows 11
18
+ - **Compiler used:** MSVC 19.37.32824.0 for x64
19
+
20
+ ## Model Description
21
+
22
+ LLM Compiler 13B FTD is part of the LLM Compiler family developed by Meta, designed specifically for code optimization tasks. This GGUF version is a converted and quantized variant of the original model, optimized for use with llama.cpp.
23
+
24
+ The model is fine-tuned for:
25
+ 1. Predicting optimal optimization passes for LLVM's `opt` to minimize code size
26
+ 2. Generating LLVM IR from x86_64 or ARM assembly code
27
+
28
+ ## Intended Use
29
+
30
+ This model is intended for commercial and research use in tasks related to compiler optimization, code analysis, and transformation. It excels in tasks such as:
31
+
32
+ - Emulating compiler transformations
33
+ - Optimizing code for size
34
+ - Disassembling and decompiling code
35
+
36
+ ## Limitations and Ethical Considerations
37
+
38
+ - The model's performance may vary from the original due to quantization.
39
+ - It should not be used for generating or manipulating code in ways that could lead to harmful or malicious software.
40
+ - The model may produce unexpected or inaccurate results in some cases.
41
+ - Users should perform their own safety testing and tuning for specific applications.
42
+
43
+ ## How to Use
44
+
45
+ To use this model, you'll need to use llama.cpp or compatible software that can work with GGUF format models. Refer to the llama.cpp documentation for specific usage instructions.
46
+
47
+ Example prompt formats can be found in the `llm_compiler_demo.py` file from the original repository.
48
+
49
+ ## License and Use Restrictions
50
+
51
+ This model is subject to multiple licenses:
52
+
53
+ 1. The original model is licensed under the Meta Large Language Model Compiler (LLM Compiler) License Agreement. Key points of this license include:
54
+ - Non-exclusive, worldwide, non-transferable and royalty-free limited license to use, reproduce, distribute, copy, create derivative works of, and make modifications to the LLM Compiler Materials.
55
+ - Any distribution must include a copy of the license agreement and display "Built with LLM Compiler" prominently.
56
+ - Compliance with applicable laws and the Acceptable Use Policy for Llama Materials is required.
57
+ - The model cannot be used to improve other large language models.
58
+ - Special licensing is required for products or services with over 700 million monthly active users.
59
+
60
+ 2. The GGUF conversion is subject to the MIT License, as it uses llama.cpp for the conversion process.
61
+
62
+ 3. Usage of the model must comply with the Acceptable Use Policy for Llama Materials.
63
+
64
+ Commercial use may require additional licensing from Meta. Users are responsible for ensuring their use complies with all applicable licenses and policies.
65
+
66
+ For full license details and use restrictions, please refer to:
67
+ - [LLM Compiler License Agreement](https://huggingface.co/facebook/llm-compiler-13b-ftd/blob/main/LICENSE.pdf)
68
+ - [Acceptable Use Policy](https://llama.meta.com/llama3/use-policy)
69
+ - [MIT License](https://opensource.org/licenses/MIT) (for the GGUF conversion process)
70
+
71
+ It is strongly recommended to review the full license text and consult with legal counsel if you have any questions about your specific use case.
72
+
73
+ ## Additional Information
74
+
75
+ For more details on the original model's performance, training process, and ethical considerations, please refer to the research paper: "Meta Large Language Model Compiler: Foundation Models of Compiler Optimization"
76
+
77
+ This GGUF version was created to enable efficient use with llama.cpp and related projects. Performance may differ from the original model due to quantization and format conversion.