Text Classification
Transformers
Laya
English
multilingual
typed-decisions
non-autoregressive
axera
ax650
Instructions to use AXERA-TECH/Laya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AXERA-TECH/Laya with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AXERA-TECH/Laya")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AXERA-TECH/Laya", device_map="auto") - Laya
How to use AXERA-TECH/Laya with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download python/pytorch/requirements.txt from AXERA-TECH/Laya: direct link, hf CLI and curl.
- Browser
- Download file 12 Bytes
-
https://huggingface.co/AXERA-TECH/Laya/resolve/main/python/pytorch/requirements.txt
- Command line
-
hf download hf://AXERA-TECH/Laya/python/pytorch/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/AXERA-TECH/Laya/resolve/main/python/pytorch/requirements.txt
12 Bytes
| laya==0.3.4 | |