Liquid Foundation Model 2 support (#2905)

* LFM2 support

* docs

* packing seems to work

* update install to force install in case already on dev version

* default to use chunked cross entropy
This commit is contained in:
Wing Lian
2025-07-12 11:41:34 -04:00
committed by GitHub
parent 7fb8441e0e
commit 9a8073e73d
2 changed files with 55 additions and 0 deletions

7
examples/lfm2/README.md Normal file
View File

@@ -0,0 +1,7 @@
# Liquid Foundation Models 2
LFM2 support in transformers exists in the main branch, but is not yet included in the transformers release.
```bash
pip install --upgrade --no-deps --force-reinstall git+https://github.com/huggingface/transformers.git
```