The updated GGUF and safetensors will be released after final alignment tweaks. Please feel free to let us know if there's any other feedback!
147 karma · joined February 7, 2022
Personal website: https://www.alanzhuly.com/
The updated GGUF and safetensors will be released after final alignment tweaks. Please feel free to let us know if there's any other feedback!
We built an open-sourced tool to benchmark GGUF models with a single line of code. GitHub Link: https://github.com/NexaAI/nexa-sdk/tree/main/nexa/eval
Motivations:
GGUF quantization is crucial for running models locally on devices, but quantizations can dramatically affect model's performance. It's essential to test models post-quantization (how benchmark comes in clutch). But we noticed a couple of challenges:
1. No easy, fast way to benchmark quantized GGUF models locally or on self-hosted servers.
2. GGUF quantization evaluation results in the existing benchmarks are inconsistent, showing lower scores than the official results from model developers.
Our Solution - We built a tool that:
1. Benchmarks GGUF models with one line of code.
2. Supports multiprocessing and 8 evaluation tasks.
3. In our testing, it's the fastest benchmark for GGUF models available.
Example:
Type below in terminal to benchmark Llama3.2-1B-Instruct Q4_K_M quant on the "ifeval" dataset for general language understanding. It took 80 minutes on a 4090 with 4 workers for multiprocessing.
nexa eval Llama3.2-1B-Instruct:q4_K_M --tasks ifeval --num_workers 4
We started with text models and plan to expand to more on-device models and modalities. Your feedback is welcome! If you find this useful, feel free to let us know on GitHub: https://github.com/NexaAI/nexa-sdk/tree/main/nexa/eval
For anyone looking for a simple way to test Llama3.2 3B locally with UI, Install nexa-sdk(https://github.com/NexaAI/nexa-sdk) and type in terminal:
nexa run llama3.2 --streamlit
Disclaimer: I am from Nexa AI and nexa-sdk is an open-sourced. We'd love your feedback.
Nexa AI local model hub: https://nexaai.com/ Toolkit: https://github.com/NexaAI/nexa-sdk
It also comes with a built-in local UI to get started with local models easily and OpenAI-compatible API (with JSON schema for function calling and streaming) for starting local development easily.
You can run the Nexa SDK on any device with a Python environment—and GPU acceleration is supported!
Local LLMs, and especially multimodal local models are the future. It is the only way to make AI accessible (cost-efficient) and safe.
However, if your use case is similar to the current functions of our model, you might consider using nested functions to leverage our existing capabilities.
Feel free to reach out for further assistance or more specific customization needs.
It can also handle high demand thanks to its lightweight architecture. During our test, our API has 100x more rate limiting than GPT-4o API
HuggingFace Model: https://huggingface.co/NexaAIDev/Octopus-v4