Text Generation
GGUF
English
How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf QuantFactory/llama-160m-GGUF:
# Run inference directly in the terminal:
llama-cli -hf QuantFactory/llama-160m-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf QuantFactory/llama-160m-GGUF:
# Run inference directly in the terminal:
llama-cli -hf QuantFactory/llama-160m-GGUF:
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 QuantFactory/llama-160m-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf QuantFactory/llama-160m-GGUF:
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 QuantFactory/llama-160m-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf QuantFactory/llama-160m-GGUF:
Use Docker
docker model run hf.co/QuantFactory/llama-160m-GGUF:
Quick Links

QuantFactory Banner

QuantFactory/llama-160m-GGUF

This is quantized version of JackFram/llama-160m created using llama.cpp

Original Model Card

Model description

This is a LLaMA-like model with only 160M parameters trained on Wikipedia and part of the C4-en and C4-realnewslike datasets.

No evaluation has been conducted yet, so use it with care.

The model is mainly developed as a base Small Speculative Model in the SpecInfer paper.

Citation

To cite the model, please use

@misc{miao2023specinfer,
      title={SpecInfer: Accelerating Generative LLM Serving with Speculative Inference and Token Tree Verification}, 
      author={Xupeng Miao and Gabriele Oliaro and Zhihao Zhang and Xinhao Cheng and Zeyu Wang and Rae Ying Yee Wong and Zhuoming Chen and Daiyaan Arfeen and Reyna Abhyankar and Zhihao Jia},
      year={2023},
      eprint={2305.09781},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
Downloads last month
95
GGUF
Model size
0.2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train QuantFactory/llama-160m-GGUF

Paper for QuantFactory/llama-160m-GGUF