Exclude directories when building UV packages
My package was 156mb because my tests/ were 120mb.
Uv uses hatchling
- Building and publishing a package | uv
- Build configuration - Hatch
- Feature request: Add ability to exclude certain file/directory patterns from
uv buildoutput · Issue #7938 · astral-sh/uv
TL;DR add this to pyproject.toml
[tool.hatch.build.targets.sdist]
exclude = [
"tests/"
]
Before/after:
# before
-rw-r--r-- 1 sh sh 156M Jul 13 13:20 pkg-9.2.0.tar.gz
# after
-rw-r--r-- 1 sh sh 8.3M Jul 13 13:15 pkg-9.3.0.tar.gz
# yay!
(Preserving l/r width)
(h6_en is lm-eval)
and adding blocks — much less chaotic than 3d slicer (at first glance)
(EDIT: oh damn it’s 7, not 6!)
from the paper
+
- … leading to a probability not of 1/4(..10) but 1/2
- one way to filter out such bad examples is to get a LM to solve the task without providing context, or even better - look at the distribution of probabilities over the answers and see if some are MUCH more likely than the others
- Issue with 2-3-4 plurals: I can just create three classes of nouns, singular, 2-3-4, and >=5
- don’t forget to discuss the morphology complexities in the masterarbeit
- Conveying the issues in English is hard, but I can (for a given UA example)
- provide the morphology info for the English words
- provide a third German translation
G
(<
(same paper)
(pic from <
j
{:height=“500px”}
{:height=“500px”}.
{:width=“50%”}.
{:height=“500px”}.
{:height=“500px”}.
{:height=“500px”}.
{:height=“500px”}
{:height=“500px”}.
{:height=“500px”}.
{:height=“300px”}.
{:height=“300px”}.
{:height=“300px”}.