Instructions to use RichardErkhov/numfa_-_numfa_v2-3b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RichardErkhov/numfa_-_numfa_v2-3b-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
Use Docker
docker model run hf.co/RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use RichardErkhov/numfa_-_numfa_v2-3b-gguf with Ollama:
ollama run hf.co/RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use RichardErkhov/numfa_-_numfa_v2-3b-gguf with Docker Model Runner:
docker model run hf.co/RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
- Lemonade
How to use RichardErkhov/numfa_-_numfa_v2-3b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RichardErkhov/numfa_-_numfa_v2-3b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.numfa_-_numfa_v2-3b-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Quantization made by Richard Erkhov.
numfa_v2-3b - GGUF
- Model creator: https://huggingface.co/numfa/
- Original model: https://huggingface.co/numfa/numfa_v2-3b/
| Name | Quant method | Size |
|---|---|---|
| numfa_v2-3b.Q2_K.gguf | Q2_K | 2.0GB |
| numfa_v2-3b.IQ3_XS.gguf | IQ3_XS | 2.0GB |
| numfa_v2-3b.IQ3_S.gguf | IQ3_S | 2.0GB |
| numfa_v2-3b.Q3_K_S.gguf | Q3_K_S | 2.0GB |
| numfa_v2-3b.IQ3_M.gguf | IQ3_M | 2.07GB |
| numfa_v2-3b.Q3_K.gguf | Q3_K | 2.15GB |
| numfa_v2-3b.Q3_K_M.gguf | Q3_K_M | 2.15GB |
| numfa_v2-3b.Q3_K_L.gguf | Q3_K_L | 2.22GB |
| numfa_v2-3b.IQ4_XS.gguf | IQ4_XS | 2.02GB |
| numfa_v2-3b.Q4_0.gguf | Q4_0 | 2.0GB |
| numfa_v2-3b.IQ4_NL.gguf | IQ4_NL | 2.02GB |
| numfa_v2-3b.Q4_K_S.gguf | Q4_K_S | 2.41GB |
| numfa_v2-3b.Q4_K.gguf | Q4_K | 2.57GB |
| numfa_v2-3b.Q4_K_M.gguf | Q4_K_M | 2.57GB |
| numfa_v2-3b.Q4_1.gguf | Q4_1 | 2.2GB |
| numfa_v2-3b.Q5_0.gguf | Q5_0 | 2.4GB |
| numfa_v2-3b.Q5_K_S.gguf | Q5_K_S | 2.6GB |
| numfa_v2-3b.Q5_K.gguf | Q5_K | 2.74GB |
| numfa_v2-3b.Q5_K_M.gguf | Q5_K_M | 2.74GB |
| numfa_v2-3b.Q5_1.gguf | Q5_1 | 2.6GB |
| numfa_v2-3b.Q6_K.gguf | Q6_K | 3.6GB |
| numfa_v2-3b.Q8_0.gguf | Q8_0 | 3.6GB |
Original model description:
license: apache-2.0 language: - en library_name: transformers
NumFa v2 (3B)
NumFa v2 3B is a LLM pretrained that has 1B.
Base model: TinyLLama
For testing only
Model Details
Model Description
The model was trained by TPU.
This is the model card of a ๐ค transformers model that has been pushed on the Hub. This model card has been automatically generated.
- Developed by: NumFa
- Model type: text-generation
- Language(s) (NLP): English
- License: apache-2.0
Out-of-Scope Use
Math, Coding, and other language
Bias, Risks, and Limitations
The model can has a bias from dataset. Use at your own risks!
How to Get Started with the Model
Use the code below to get started with the model.
Example
# !pip install accelerate sentencepiece transformers bitsandbytes
import torch
from transformers import pipeline
pipe = pipeline("text-generation", model="numfa/numfa_v2-3b", torch_dtype=torch.bfloat16, device_map="auto")
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
outputs = pipe("test is", max_new_tokens=300, do_sample=True, temperature=0.9, top_k=50, top_p=0.95, no_repeat_ngram_size=2,typical_p=1.)
print(outputs[0]["generated_text"])
- Downloads last month
- 13
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit