Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ eval/
*_ckpt*/
output/
outputs/
output*/
Comment thread
zhzihao marked this conversation as resolved.
logs*/
outs/
wandb/
tools/results/
__pycache__/outputs/
__pycache__/
1 change: 0 additions & 1 deletion angelslim/compressor/speculative/train/data/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def convert_ultrachat_data(row, dataset_column="messages"):
return {"conversations": converted_messages, "id": row["prompt_id"]}


# Copied from https://github.com/sgl-project/SpecForge/blob/main/specforge/data/preprocessing.py # noqa: E501
def process_token_dict_to_mappings(
token_dict,
draft_vocab_size: int,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

from .draft_model_factory import DraftModelConfig, create_draft_model
from .llama_eagle3 import CosyVoice3Eagle3LlamaForCausalLM, Eagle3LlamaForCausalLM
from .qwen_dflare import QwenDFlareDraftModel
from .qwen_dflash import QwenDFlashDraftModel

__all__ = [
Expand All @@ -22,4 +23,5 @@
"Eagle3LlamaForCausalLM",
"CosyVoice3Eagle3LlamaForCausalLM",
"QwenDFlashDraftModel",
"QwenDFlareDraftModel",
]
Loading
Loading