Text Generation
Transformers
Safetensors
llama
text-generation-inference
How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "thunlp/LLaMA3.2-Instruct-1B-FR-Spec"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "thunlp/LLaMA3.2-Instruct-1B-FR-Spec",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/thunlp/LLaMA3.2-Instruct-1B-FR-Spec
Quick Links

Token frequency statistics based on SlimPajama-627B, used for FR-Spec (https://arxiv.org/abs/2502.14856), see more at https://github.com/thunlp/FR-Spec.

freq_16384.pt can be loaded by torch.load(), and it is a list of high-frequency tokens.

Downloads last month
135
Safetensors
Model size
0.3B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for thunlp/LLaMA3.2-Instruct-1B-FR-Spec

Finetuned
(1849)
this model

Paper for thunlp/LLaMA3.2-Instruct-1B-FR-Spec