Text Generation
Transformers
Safetensors
liger_gla
How to use from
vLLM
# Gated model: Login with a HF token with gated access permission
hf auth login
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "linear-moe-hub/Liger-GLA-8B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "linear-moe-hub/Liger-GLA-8B",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/linear-moe-hub/Liger-GLA-8B
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Liger-GLA-8B

[πŸ“‚ GitHub] [πŸ“œ Liger] [πŸ“‘ Paper]

We introduce Liger-GLA-8B, a gated linear recurrent model linearized from Transformer-based LLM.

Our Liger framework is compatible with various linear recurrent models with gating structures:

Model Name Base Model Linear Structure HF Link
Liger-GLA-8B Llama-3-8B GLA πŸ€— link
Liger-GSA-8B Llama-3-8B GSA πŸ€— link

Citation

If you find this repo useful, please cite and star our work:

@article{lan2025liger,
  title={Liger: Linearizing Large Language Models to Gated Recurrent Structures},
  author={Lan, Disen and Sun, Weigao and Hu, Jiaxi and Du, Jusen and Cheng, Yu},
  journal={arXiv preprint arXiv:2503.01496},
  year={2025}
}
Downloads last month
-
Safetensors
Model size
8B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including linear-moe-hub/Liger-GLA-8B

Papers for linear-moe-hub/Liger-GLA-8B