Text Generation
Transformers
PyTorch
qwen2
text-generation-inference

Run this model with HF Jobs

Run thunlp/Qwen2-7B-Instruct-FR-Spec on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/thunlp/Qwen2-7B-Instruct-FR-Spec. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/thunlp/Qwen2-7B-Instruct-FR-Spec on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/thunlp/Qwen2-7B-Instruct-FR-Spec. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/thunlp/Qwen2-7B-Instruct-FR-Spec. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

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_32768.pt can be loaded by torch.load(), and it is a list of high-frequency tokens.

config.json and pytorch_model.bin are the same as https://huggingface.co/yuhuili/EAGLE-Qwen2-7B-Instruct, and can be downloaded from their repo.

Downloads last month
40
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for thunlp/Qwen2-7B-Instruct-FR-Spec

Base model

Qwen/Qwen2-7B
Finetuned
(130)
this model

Paper for thunlp/Qwen2-7B-Instruct-FR-Spec