---
title: llama-160m
canonical_url: "https://www.modelscope.cn/models/rhluo9527/llama-160m"
md_url: "https://www.modelscope.cn/models/rhluo9527/llama-160m.md"
repository: rhluo9527/llama-160m
chinese_name: llama-160m
last_updated: 2025-07-17
license: apache-2.0
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - llama
architectures:
  - LlamaForCausalLM
parameters: 162.4M
tensor_type:
  - F32
library_name:
  - safetensors
  - pytorch
frameworks:
  - Pytorch
language:
  - en
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 9385
stars: 0
---

# llama-160m

> llama-160m - rhluo9527 在 ModelScope 开源的模型。Model description copy from https://huggingface.co/JackFram/llama-160m

rhluo9527/llama-160m 是 ModelScope 魔搭社区上的 162.4M 参数text-generation模型，采用 apache-2.0 许可，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: rhluo9527/llama-160m
- **License**: apache-2.0
- **Tasks**: text-generation
- **Parameters**: 162.4M
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 9385
- **Stars**: 0
- **Last updated**: 2025-07-17

Source: https://www.modelscope.cn/models/rhluo9527/llama-160m

---

## Model description
copy from https://huggingface.co/JackFram/llama-160m

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](https://arxiv.org/abs/2305.09781) paper.

## Citation
To cite the model, please use
```bibtex
@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}
}
```
