Instructions to use botezx/flagtldr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Grok
How to use botezx/flagtldr with Grok:
# 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 classifier/pyproject.toml from botezx/flagtldr: direct link, hf CLI and curl.
- Browser
- Download file 828 Bytes
-
https://huggingface.co/botezx/flagtldr/resolve/main/classifier/pyproject.toml
- Command line
-
hf download hf://botezx/flagtldr/classifier/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/botezx/flagtldr/resolve/main/classifier/pyproject.toml
828 Bytes
| [project] | |
| name = "xaddons-classifier" | |
| version = "0.1.0" | |
| description = "Local classifier service for X Addons: basal (typed decisions) proxy, embedding+head, rules fallback" | |
| readme = "README.md" | |
| requires-python = ">=3.11" | |
| dependencies = [ | |
| "fastapi>=0.115", | |
| "uvicorn>=0.30", | |
| "httpx>=0.27", | |
| "pydantic>=2.7", | |
| ] | |
| [project.optional-dependencies] | |
| # Embedding + trainable head (few labelled examples). Pulls torch – install only if you use it. | |
| embed = ["sentence-transformers>=3.0", "scikit-learn>=1.5", "numpy>=1.26"] | |
| [project.scripts] | |
| xaddons-classifier = "xaddons_classifier.cli:main" | |
| [dependency-groups] | |
| dev = ["pytest>=8"] | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src/xaddons_classifier"] | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |