sasa2000 commited on
Commit
76775bb
·
verified ·
1 Parent(s): f226d6c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +309 -0
README.md ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: fair-noncommercial-research
4
+ extra_gated_prompt: 'FAIR Noncommercial Research License v1 Last Updated: August 18,
5
+ 2025
6
+
7
+ “Acceptable Use Policy” means the FAIR Acceptable Use Policy, applicable to Research
8
+ Materials, that is incorporated into this Agreement.
9
+
10
+ “Agreement” means the terms and conditions for use, reproduction, distribution and
11
+ modification of the Research Materials set forth herein.
12
+
13
+
14
+ “Documentation” means the specifications, manuals and documentation accompanying Research
15
+ Materials distributed by Meta.
16
+
17
+
18
+ “Licensee” or “you” means you, or your employer or any other person or entity (if
19
+ you are entering into this Agreement on such person or entity’s behalf), of the
20
+ age required under applicable laws, rules or regulations to provide legal consent
21
+ and that has legal authority to bind your employer or such other person or entity
22
+ if you are entering in this Agreement on their behalf.
23
+
24
+
25
+ “Meta” or “we” means Meta Platforms Ireland Limited (if you are located in or, if
26
+ you are an entity, your principal place of business is in the EEA or Switzerland)
27
+ and Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland).
28
+
29
+ “Noncommercial Research Uses” means noncommercial research use cases related to
30
+ research, development, education, processing, or analysis and in each case, is not
31
+ primarily intended for commercial advantage or monetary compensation to you or others.
32
+
33
+ “Research Materials” means, collectively, Documentation and the models, software
34
+ and algorithms, including machine-learning model code, trained model weights, inference-enabling
35
+ code, training-enabling code, fine-tuning enabling code, demonstration materials
36
+ and other elements of the foregoing distributed by Meta and made available under
37
+ this Agreement.
38
+
39
+ By clicking “I Accept” below or by using or distributing any portion or element
40
+ of the Research Materials, you agree to be bound by this Agreement.
41
+
42
+
43
+ 1. License Rights and Redistribution.
44
+
45
+
46
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable
47
+ and royalty-free limited license under Meta’s intellectual property or other rights
48
+ owned by Meta embodied in the Research Materials to use, reproduce, distribute,
49
+ copy, create derivative works of, and make modifications to the Research Materials.
50
+
51
+ b. Redistribution and Use. i. You will not use the Research Materials or any outputs
52
+ or results of the Research Materials in connection with any commercial uses or for
53
+ any uses other than Noncommercial Research Uses;
54
+
55
+
56
+ ii. Distribution of Research Materials, and any derivative works thereof, are subject
57
+ to the terms of this Agreement. If you distribute or make the Research Materials,
58
+ or any derivative works thereof, available to a third party, you may only do so
59
+ under the terms of this Agreement. You shall also provide a copy of this Agreement
60
+ to such third party.
61
+
62
+
63
+ iii. If you submit for publication the results of research you perform on, using,
64
+ or otherwise in connection with Research Materials, you must acknowledge the use
65
+ of Research Materials in your publication.
66
+
67
+
68
+ iv. Your use of the Research Materials must comply with applicable laws and regulations
69
+ (including Trade Control Laws) and adhere to the FAIR Acceptable Use Policy, which
70
+ is hereby incorporated by reference into this Agreement. 2. User Support. Your Noncommercial
71
+ Research Use of the Research Materials is done at your own discretion; Meta does
72
+ not process any information nor provide any service in relation to such use. Meta
73
+ is under no obligation to provide any support services for the Research Materials.
74
+ Any support provided is “as is”, “with all faults”, and without warranty of any
75
+ kind.
76
+
77
+
78
+ 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE RESEARCH MATERIALS
79
+ AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES
80
+ OF ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED,
81
+ INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY,
82
+ OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING
83
+ THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE RESEARCH MATERIALS AND ASSUME
84
+ ANY RISKS ASSOCIATED WITH YOUR USE OF THE RESEARCH MATERIALS AND ANY OUTPUT AND
85
+ RESULTS.
86
+
87
+ 4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER
88
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY,
89
+ OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY DIRECT
90
+ OR INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES,
91
+ EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE
92
+ FOREGOING.
93
+
94
+ 5. Intellectual Property.
95
+
96
+
97
+ a. Subject to Meta’s ownership of Research Materials and derivatives made by or
98
+ for Meta, with respect to any derivative works and modifications of the Research
99
+ Materials that are made by you, as between you and Meta, you are and will be the
100
+ owner of such derivative works and modifications.
101
+
102
+ b. If you institute litigation or other proceedings against Meta or any entity (including
103
+ a cross-claim or counterclaim in a lawsuit) alleging that the Research Materials,
104
+ outputs or results, or any portion of any of the foregoing, constitutes infringement
105
+ of intellectual property or other rights owned or licensable by you, then any licenses
106
+ granted to you under this Agreement shall terminate as of the date such litigation
107
+ or claim is filed or instituted. You will indemnify and hold harmless Meta from
108
+ and against any claim by any third party arising out of or related to your use or
109
+ distribution of the Research Materials.
110
+
111
+ 6. Term and Termination. The term of this Agreement will commence upon your acceptance
112
+ of this Agreement or access to the Research Materials and will continue in full
113
+ force and effect until terminated in accordance with the terms and conditions herein.
114
+ Meta may terminate this Agreement if you are in breach of any term or condition
115
+ of this Agreement. Upon termination of this Agreement, you shall delete and cease
116
+ use of the Research Materials. Sections 3, 4 and 7 shall survive the termination
117
+ of this Agreement.
118
+
119
+ 7. Governing Law and Jurisdiction. This Agreement will be governed and construed
120
+ under the laws of the State of California without regard to choice of law principles,
121
+ and the UN Convention on Contracts for the International Sale of Goods does not
122
+ apply to this Agreement. The courts of California shall have exclusive jurisdiction
123
+ of any dispute arising out of this Agreement.
124
+
125
+
126
+ 8. Modifications and Amendments. Meta may modify this Agreement from time to time;
127
+ provided that they are similar in spirit to the current version of the Agreement,
128
+ but may differ in detail to address new problems or concerns. All such changes will
129
+ be effective immediately. Your continued use of the Research Materials after any
130
+ modification to this Agreement constitutes your agreement to such modification.
131
+ Except as provided in this Agreement, no modification or addition to any provision
132
+ of this Agreement will be binding unless it is in writing and signed by an authorized
133
+ representative of both you and Meta.
134
+
135
+
136
+ FAIR Acceptable Use Policy
137
+
138
+ The Fundamental AI Research (FAIR) team at Meta seeks to further understanding of
139
+ new and existing research domains with the mission of advancing the state-of-the-art
140
+ in artificial intelligence through open research for the benefit of all.
141
+
142
+ As part of this mission, Meta makes certain research materials available for noncommercial
143
+ research use. Meta is committed to promoting the safe and responsible use of such
144
+ research materials.
145
+
146
+ Prohibited Uses
147
+
148
+ You agree you will not use, or allow others to use, Research Materials to:
149
+
150
+ Violate the law or others’ rights, including to: Engage in, promote, generate, contribute
151
+ to, encourage, plan, incite, or further illegal or unlawful activity or content,
152
+ such as: Violence or terrorism Exploitation or harm to children, including the solicitation,
153
+ creation, acquisition, or dissemination of child exploitative content or failure
154
+ to report Child Sexual Abuse Material Human trafficking, exploitation, and sexual
155
+ violence The illegal distribution of information or materials to minors, including
156
+ obscene materials, or failure to employ legally required age-gating in connection
157
+ with such information or materials. Sexual solicitation Any other criminal activity
158
+
159
+ Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or
160
+ bullying of individuals or groups of individuals
161
+
162
+ Engage in, promote, incite, or facilitate discrimination or other unlawful or harmful
163
+ conduct in the provision of employment, employment benefits, credit, housing, other
164
+ economic benefits, or other essential goods and services
165
+
166
+ Engage in the unauthorized or unlicensed practice of any profession including, but
167
+ not limited to, financial, legal, medical/health, or related professional practices
168
+
169
+ Collect, process, disclose, generate, or infer health, demographic, or other sensitive
170
+ personal or private information about individuals without rights and consents required
171
+ by applicable laws
172
+
173
+ Engage in or facilitate any action or generate any content that infringes, misappropriates,
174
+ or otherwise violates any third-party rights, including the outputs or results of
175
+ any technology using FAIR research materials
176
+
177
+ Create, generate, or facilitate the creation of malicious code, malware, computer
178
+ viruses or do anything else that could disable, overburden, interfere with or impair
179
+ the proper working, integrity, operation or appearance of a website or computer
180
+ system
181
+
182
+ 2. Engage in, promote, incite, facilitate, or assist in the planning or development
183
+ of activities that present a risk of death or bodily harm to individuals, including
184
+ use of research artifacts related to the following:
185
+
186
+ Military, warfare, nuclear industries or applications, espionage, use for materials
187
+ or activities that are subject to the International Traffic Arms Regulations (ITAR)
188
+ maintained by the United States Department of State
189
+
190
+ Guns and illegal weapons (including weapon development)
191
+
192
+ Illegal drugs and regulated/controlled substances
193
+
194
+ Operation of critical infrastructure, transportation technologies, or heavy machinery
195
+
196
+ Self-harm or harm to others, including suicide, cutting, and eating disorders
197
+
198
+ Any content intended to incite or promote violence, abuse, or any infliction of
199
+ bodily harm to an individual
200
+
201
+ 3. Intentionally deceive or mislead others, including use of FAIR Research Materials
202
+ related to the following:
203
+
204
+ Generating, promoting, or furthering fraud or the creation or promotion of disinformation
205
+
206
+ Generating, promoting, or furthering defamatory content, including the creation
207
+ of defamatory statements, images, or other content
208
+
209
+ Generating, promoting, or further distributing spam
210
+
211
+ Impersonating another individual without consent, authorization, or legal right
212
+
213
+ Representing that outputs of FAIR research materials or outputs from technology
214
+ using FAIR research materials are human-generated
215
+
216
+ Generating or facilitating false online engagement, including fake reviews and other
217
+ means of fake online engagement
218
+
219
+ 4. Fail to appropriately disclose to end users any known dangers of your Research
220
+ Materials.
221
+
222
+ Please report any violation of this Policy or other problems that could lead to
223
+ a violation of this Policy by submitting a report here [https://docs.google.com/forms/d/e/1FAIpQLSeb11cryAopJ7LNrC4nxEUXrHY26hfkXQMf_uH-oFgA3WlYZQ/viewform].
224
+
225
+ '
226
+ extra_gated_fields:
227
+ First Name: text
228
+ Last Name: text
229
+ Date of birth: date_picker
230
+ Country: country
231
+ Affiliation: text
232
+ Job title:
233
+ type: select
234
+ options:
235
+ - Student
236
+ - Research Graduate
237
+ - AI researcher
238
+ - AI developer/engineer
239
+ - Reporter
240
+ - Other
241
+ geo: ip_location
242
+ ? By clicking Submit below I accept the terms of the license and acknowledge that
243
+ the information I provide will be collected stored processed and shared in accordance
244
+ with the Meta Privacy Policy
245
+ : checkbox
246
+ extra_gated_description: The information you provide will be collected, stored, processed
247
+ and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
248
+ extra_gated_button_content: Submit
249
+ extra_gated_heading: Please be sure to provide your full legal name, date of birth,
250
+ and full organization name with all corporate identifiers. Avoid the use of acronyms
251
+ and special characters. Failure to follow these instructions may prevent you from
252
+ accessing this model and others on Hugging Face. You will not have the ability to
253
+ edit this form after submission, so please ensure all information is accurate.
254
+ language:
255
+ - en
256
+ library_name: transformers
257
+ tags:
258
+ - facebook
259
+ - meta
260
+ - pytorch
261
+ - mobilellm
262
+ - llama-cpp
263
+ - gguf-my-repo
264
+ base_model: facebook/MobileLLM-R1.5-360M
265
+ ---
266
+
267
+ # sasa2000/MobileLLM-R1.5-360M-Q8_0-GGUF
268
+ This model was converted to GGUF format from [`facebook/MobileLLM-R1.5-360M`](https://huggingface.co/facebook/MobileLLM-R1.5-360M) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
269
+ Refer to the [original model card](https://huggingface.co/facebook/MobileLLM-R1.5-360M) for more details on the model.
270
+
271
+ ## Use with llama.cpp
272
+ Install llama.cpp through brew (works on Mac and Linux)
273
+
274
+ ```bash
275
+ brew install llama.cpp
276
+
277
+ ```
278
+ Invoke the llama.cpp server or the CLI.
279
+
280
+ ### CLI:
281
+ ```bash
282
+ llama-cli --hf-repo sasa2000/MobileLLM-R1.5-360M-Q8_0-GGUF --hf-file mobilellm-r1.5-360m-q8_0.gguf -p "The meaning to life and the universe is"
283
+ ```
284
+
285
+ ### Server:
286
+ ```bash
287
+ llama-server --hf-repo sasa2000/MobileLLM-R1.5-360M-Q8_0-GGUF --hf-file mobilellm-r1.5-360m-q8_0.gguf -c 2048
288
+ ```
289
+
290
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
291
+
292
+ Step 1: Clone llama.cpp from GitHub.
293
+ ```
294
+ git clone https://github.com/ggerganov/llama.cpp
295
+ ```
296
+
297
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
298
+ ```
299
+ cd llama.cpp && LLAMA_CURL=1 make
300
+ ```
301
+
302
+ Step 3: Run inference through the main binary.
303
+ ```
304
+ ./llama-cli --hf-repo sasa2000/MobileLLM-R1.5-360M-Q8_0-GGUF --hf-file mobilellm-r1.5-360m-q8_0.gguf -p "The meaning to life and the universe is"
305
+ ```
306
+ or
307
+ ```
308
+ ./llama-server --hf-repo sasa2000/MobileLLM-R1.5-360M-Q8_0-GGUF --hf-file mobilellm-r1.5-360m-q8_0.gguf -c 2048
309
+ ```