Downloads · 30 days
21
2% of all-time downloads
LemOneLabs/Llama-3.2-3B-Instruct-GENAI-ONNX
Llama-3.2-3B-Instruct-GENAI-ONNX is a text generation model from LemOneLabs. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
This repository hosts the optimized versions of Llama-3.2-3B-Instruct to accelerate inference with ONNX Runtime. Optimized models are published here in ONNX format to run with ONNX Runtime on CPU and GPU across device…
Downloads · 30 days
21
2% of all-time downloads
All-time downloads
971
Public
Repo size
13.5 GB
Likes
0
Public
Click a slice to open those files.
.data13.5 GB · 100%
From the Hugging Face model README
This repository hosts the optimized versions of Llama-3.2-3B-Instruct to accelerate inference with ONNX Runtime. Optimized models are published here in ONNX format to run with ONNX Runtime on CPU and GPU across devices, including server platforms, Windows, Linux and Mac desktops, and mobile CPUs, with the precision best suited to each of these targets.
To easily get started with the model, you can use our newly introduced ONNX Runtime Generate() API. See here for instructions on how to run it.
Here are some of the optimized configurations we have added:
The ONNX models are tested on:
Minimum Configuration Required:
To make running of the models across a range of devices and platforms across various execution provider backends possible, we introduce a new API to wrap several aspects of generative AI inferencing. This API make it easy to drag and drop LLMs straight into your app. For running the early version of these models with ONNX Runtime, follow the steps here.
For example:
python model-qa.py -m /*{YourModelPath}*/Llama-3.2-3B-Instruct-onnx/cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4 -k 40 -p 0.95 -t 0.8 -r 1.0
*Input:* <|user|>Tell me a joke<|end|><|assistant|>
*Output:* Why don't scientists trust atoms?
Because they make up everything!
This joke plays on the double meaning of "make up." In science, atoms are the fundamental building blocks of matter, literally making up everything. However, in a colloquial sense, "to make up" can mean to fabricate or lie, hence the humor.
"See Meta's model card Llama-3.2-3B-Instruct for more information about the base model, including the base model's specific approach to responsible AI risks"