Instructions to use QuantFactory/diffullama-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/diffullama-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/diffullama-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/diffullama-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 QuantFactory/diffullama-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/diffullama-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 QuantFactory/diffullama-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/diffullama-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf QuantFactory/diffullama-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf QuantFactory/diffullama-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/diffullama-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use QuantFactory/diffullama-GGUF with Ollama:
ollama run hf.co/QuantFactory/diffullama-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use QuantFactory/diffullama-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/diffullama-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/diffullama-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/diffullama-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.diffullama-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
|
Download README.md from QuantFactory/diffullama-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/QuantFactory/diffullama-GGUF/resolve/main/README.md
- Command line
-
hf download hf://QuantFactory/diffullama-GGUF/README.md
-
curl -L -o README.md https://huggingface.co/QuantFactory/diffullama-GGUF/resolve/main/README.md
1.71 kB
metadata
library_name: transformers
base_model:
- meta-llama/Llama-2-7b-hf
tags:
- llama-factory
- full
- diffusion
model-index:
- name: diffullama
results: []
license: apache-2.0
datasets:
- bigcode/starcoderdata
- cerebras/SlimPajama-627B
QuantFactory/diffullama-GGUF
This is quantized version of diffusionfamily/diffullama created using llama.cpp
Original Model Card
diffullama
This model is a fine-tuned version of [llama2].
Model description
Details and model loading can be seen https://github.com/HKUNLP/DiffuLLaMA.
Framework versions
- Transformers 4.44.2
- Pytorch 2.1.1+cu121
- Datasets 2.21.0
- Tokenizers 0.19.1
@misc{gong2024scalingdiffusionlanguagemodels,
title={Scaling Diffusion Language Models via Adaptation from Autoregressive Models},
author={Shansan Gong and Shivam Agarwal and Yizhe Zhang and Jiacheng Ye and Lin Zheng and Mukai Li and Chenxin An and Peilin Zhao and Wei Bi and Jiawei Han and Hao Peng and Lingpeng Kong},
year={2024},
eprint={2410.17891},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2410.17891},
}