mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-15 17:58:54 +08:00
correct segsum function
This commit is contained in:
@@ -1,14 +1,3 @@
|
||||
"""
|
||||
mamba2-minimal
|
||||
==============
|
||||
|
||||
A minimal, single-file implementation of the Mamba-2 model in PyTorch.
|
||||
|
||||
> **Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality**
|
||||
> Authors: Tri Dao, Albert Gu
|
||||
> Paper: https://arxiv.org/abs/2405.21060
|
||||
"""
|
||||
|
||||
import json
|
||||
from dataclasses import dataclass
|
||||
from typing import Iterable, NamedTuple, TypeAlias, cast
|
||||
|
||||
Reference in New Issue
Block a user