Instructions to use Arynz/Fireflies300M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Arynz/Fireflies300M with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Arynz/Fireflies300M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download setup.py from Arynz/Fireflies300M: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/Arynz/Fireflies300M/resolve/main/setup.py
- Command line
-
hf download hf://Arynz/Fireflies300M/setup.py
-
curl -L -o setup.py https://huggingface.co/Arynz/Fireflies300M/resolve/main/setup.py
482 Bytes
| from setuptools import setup, find_packages | |
| setup( | |
| name="fireflies-transformers", | |
| version="0.1.0", | |
| packages=find_packages(), | |
| install_requires=[ | |
| "transformers>=4.30", | |
| "torch", | |
| ], | |
| author="Arynz", | |
| description="Fireflies custom Transformer architecture", | |
| url="https://github.com/USERNAME/fireflies-transformers", | |
| classifiers=[ | |
| "Programming Language :: Python :: 3", | |
| "License :: OSI Approved :: MIT License", | |
| ], | |
| ) | |