Instructions to use Gertlek/LLaDA-Guard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Gertlek/LLaDA-Guard with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download pyproject.toml from Gertlek/LLaDA-Guard: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/Gertlek/LLaDA-Guard/resolve/main/pyproject.toml
- Command line
-
hf download hf://Gertlek/LLaDA-Guard/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/Gertlek/LLaDA-Guard/resolve/main/pyproject.toml
478 Bytes
| [build-system] | |
| requires = ["setuptools>=68.0", "wheel"] | |
| build-backend = "setuptools.build_meta" | |
| [project] | |
| name = "llada-guard" | |
| version = "0.1.0" | |
| description = "Safety content classifier based on LLaDA diffusion language model" | |
| requires-python = ">=3.10" | |
| license = { text = "MIT" } | |
| dependencies = [ | |
| "torch>=2.0", | |
| "transformers>=4.42,<5", | |
| "peft>=0.10", | |
| "accelerate", | |
| "tqdm", | |
| ] | |
| [tool.setuptools.packages.find] | |
| include = ["llada_guard*", "llada_guard_infer*"] | |