Downloads · 30 days
19
48% of all-time downloads
huluhuluu/qwen3-1.7b-eagle3-sharegpt-epoch2-step70000
qwen3-1.7b-eagle3-sharegpt-epoch2-step70000 is a text generation model from huluhuluu. Use it when you need the model to write or continue text. It is set up for transformers.
This private repository contains one SpecForge EAGLE3 draft-model checkpoint trained for Qwen3-1.7B on ShareGPT-style data.
Downloads · 30 days
19
48% of all-time downloads
All-time downloads
40
Public
Parameters
137M
274 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors274 MB · 100%
How the weights are stored.
BF16137M · 100%
From the Hugging Face model README
This private repository contains one SpecForge EAGLE3 draft-model checkpoint trained for Qwen3-1.7B on ShareGPT-style data.
| Field | Value |
|---|---|
| Epoch | 2 |
| Global step | 70000 |
| Local checkpoint directory | outputs/qwen3-1p7b-eagle3-sharegpt/epoch_2_step_70000 |
| Files | config.json, model.safetensors, training_state.pt, README.md |
| Parameter | Value |
|---|---|
target_model_path | /data/HUGGINGFACE/Qwen3-1.7B |
train_data_path | /data/HUGGINGFACE/data/specforge_sharegpt/sharegpt_train.jsonl |
num_epochs | 10 |
batch_size | 1 |
learning_rate | 0.0001 |
max_length | 2048 |
warmup_ratio | 0.015 |
total_steps | 233900 |
save_interval | 5000 |
log_interval | 50 |
seed | 0 |
tp_size | 1 |
dp_size | 4 |
target_batch_size | 1 |
attention_backend | sdpa |
target_model_backend | sglang |
chat_template | qwen |
build_dataset_num_proc | 64 |
embedding_key | model.embed_tokens.weight |
cache_dir | <workspace-root>/code/SpecForge/cache |
output_dir | <workspace-root>/code/SpecForge/outputs/qwen3-1p7b-eagle3-sharegpt |
resume | False |
max_grad_norm | 0.5 |
draft_accumulation_steps | 1 |
sp_ulysses_size | 1 |
sp_ring_size | 1 |
report_to | none |
sglang_attention_backend | flashinfer |
sglang_mem_fraction_static | 0.4 |
sglang_context_length | `` |
| Parameter | Value |
|---|---|
architectures | ['LlamaForCausalLMEagle3'] |
model_type | llama |
dtype | bfloat16 |
hidden_size | 2048 |
intermediate_size | 6144 |
num_hidden_layers | 1 |
num_attention_heads | 16 |
num_key_value_heads | 8 |
head_dim | 128 |
draft_vocab_size | 32000 |
vocab_size | 151936 |
max_position_embeddings | 40960 |
rope_theta | 10000.0 |
attention_dropout | 0.0 |
rms_norm_eps | 1e-06 |
transformers_version | 4.57.1 |
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
ROOT_DIR=$(dirname $SCRIPT_DIR)
export TORCHINDUCTOR_CACHE_DIR=$ROOT_DIR/cache/compiled_kernels
NUM_GPUS=${1:-4}
TP_SIZE=${2:-4}
EXTRA_ARGS=("${@:3}")
BUILD_DATASET_NUM_PROC=${BUILD_DATASET_NUM_PROC:-64}
export CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-2,3,4,5}
export MASTER_ADDR=${MASTER_ADDR:-127.0.0.1}
export MASTER_PORT=${MASTER_PORT:-29500}
torchrun \
--nnodes 1 \
--nproc_per_node $NUM_GPUS \
--master_addr $MASTER_ADDR \
--master_port $MASTER_PORT \
$ROOT_DIR/scripts/train_eagle3.py \
--target-model-path /data/HUGGINGFACE/Qwen3-1.7B \
--train-data-path /data/HUGGINGFACE/data/specforge_sharegpt/sharegpt_train.jsonl \
--build-dataset-num-proc $BUILD_DATASET_NUM_PROC \
--output-dir $ROOT_DIR/outputs/qwen3-1p7b-eagle3-sharegpt \
--num-epochs 10 \
--batch-size 1 \
--learning-rate 1e-4 \
--max-length 2048 \
--attention-backend sdpa \
--chat-template qwen \
--cache-dir $ROOT_DIR/cache \
--embedding-key model.embed_tokens.weight \
--tp-size $TP_SIZE \
--target-model-backend sglang \
"${EXTRA_ARGS[@]}"
/data/HUGGINGFACE/Qwen3-1.7B./data/HUGGINGFACE/data/specforge_sharegpt/sharegpt_train.jsonl.training_state.pt is included for checkpoint provenance and optimizer/scheduler state.