n-splv

Results 8 issues of n-splv

Setup ```python from attrs import ( Factory, field, frozen, validators, ) ``` Simple validation, all good: ```python @frozen class Foo: text: str = field(validator=validators.instance_of(str)) Foo(1) # TypeError: ("'text' must be...

Let's start with a regular class: ```python class A: @cached_property def x(self): return self.y @property def y(self): raise AttributeError("Message") a = A() print(a.x) # AttributeError: Message ``` Just as expected....

Bug

Hi! Thanks for the awesome library. After failing miserably to repeat the PoS pattern from your paper, I thought that it might be a good idea to share some instructions,...

documentation

When exploring the data, it's not uncommon to have multiple rather complex queries written in a single file. In the UI the line numbers start from the beginning of a...

### Problem After upgrading from 3.6.4 to 4.0.9 I found some unpleasant visual changes, that made me rollback. For instance, the square and curly braces are too faded, the spaces...

enhancement
pkg:codemirror
tag:Extension Idea

Step 1: Train a model: ``` model_name = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2" model = SetFitModel.from_pretrained( model_name, multi_target_strategy="multi-output", use_differentiable_head=True, head_params={"out_features": len(id2label)}, ) args = TrainingArguments( output_dir=MODEL_DIR, batch_size=32, num_epochs=20, evaluation_strategy='epoch', save_strategy='epoch', save_total_limit=4, sampling_strategy='unique', ) args.eval_strategy...

My data comes from a spark query: `transform(split(features, ' '), x -> cast(x as int)) AS features_array` With spark I can validate it like this: ```python schema = DataFrameSchema( columns={...

enhancement

This works: ``` with con.cursor() as cur: cur.execute(f'values {", ".join(map(str, range(300)))}') ``` this doesn't: ``` with con.cursor() as cur: cur.execute(f'values {", ".join(map(str, range(400)))}') ``` ``` --------------------------------------------------------------------------- java.lang.RuntimeException Traceback (most recent...