gair-prox/FineWeb-pro
Viewer • Updated • 63.1M • 451 • 25
How to use QuantFactory/FW-ProX-1.7B-GGUF with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="QuantFactory/FW-ProX-1.7B-GGUF") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("QuantFactory/FW-ProX-1.7B-GGUF", device_map="auto")How to use QuantFactory/FW-ProX-1.7B-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
# 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 QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
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 QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
docker model run hf.co/QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
How to use QuantFactory/FW-ProX-1.7B-GGUF with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "QuantFactory/FW-ProX-1.7B-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "QuantFactory/FW-ProX-1.7B-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
How to use QuantFactory/FW-ProX-1.7B-GGUF with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "QuantFactory/FW-ProX-1.7B-GGUF" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "QuantFactory/FW-ProX-1.7B-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "QuantFactory/FW-ProX-1.7B-GGUF" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "QuantFactory/FW-ProX-1.7B-GGUF",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use QuantFactory/FW-ProX-1.7B-GGUF with Ollama:
ollama run hf.co/QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
How to use QuantFactory/FW-ProX-1.7B-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
How to use QuantFactory/FW-ProX-1.7B-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/FW-ProX-1.7B-GGUF:Q4_K_M
lemonade run user.FW-ProX-1.7B-GGUF-Q4_K_M
lemonade list
This is quantized version of gair-prox/FW-ProX-1.7B created using llama.cpp
FW-ProX-1.7B is a small language model. It was and trained on the FineWeb-pro for 50B tokens.
ProX models are evaluated over 10 language model benchmarks in zero-shot setting.
| ArC-c | ARC-e | CSQA | HellaS | MMLU | OBQA | PiQA | SIQA | WinoG | SciQ | AVG | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| raw | 28.5 | 52.6 | 33.9 | 53.2 | 29.8 | 32.6 | 72.9 | 40.2 | 53.0 | 77.1 | 47.4 |
| ours | 34.4 | 63.9 | 32.6 | 53.0 | 33.1 | 34.4 | 73.1 | 39.3 | 52.7 | 81.5 | 49.8 |
@article{zhou2024programming,
title={Programming Every Example: Lifting Pre-training Data Quality like Experts at Scale},
author={Zhou, Fan and Wang, Zengzhi and Liu, Qian and Li, Junlong and Liu, Pengfei},
journal={arXiv preprint arXiv:2409.17115},
year={2024}
}
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit