Instructions to use LastTransformer/FlashFormerv1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LastTransformer/FlashFormerv1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LastTransformer/FlashFormerv1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from LastTransformer/FlashFormerv1: direct link, hf CLI and curl.
- Browser
- Download file 3.72 MB
-
https://huggingface.co/LastTransformer/FlashFormerv1/resolve/c5ecc2b2ef6997dbee41ea76ff23419caa00a5da/tokenizer.json
- Command line
-
hf download hf://LastTransformer/FlashFormerv1@c5ecc2b2ef6997dbee41ea76ff23419caa00a5da/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/LastTransformer/FlashFormerv1/resolve/c5ecc2b2ef6997dbee41ea76ff23419caa00a5da/tokenizer.json
3.72 MB
File too large to display, you can check the raw version instead.