Aalok Sathe | आलोक

Results 16 issues of Aalok Sathe | आलोक

Encountered this error during a write to the database using the library. The objects being written were `collections.Counter[Tuple[str]]` and `Dict[str, Counter[Tuple[str]]]` Both types of objects previously worked fine in being...

bug

the keyword had a typo: 'weight' instead of 'weights'. in case weights requires grads, it needs to be detached first as BCEwithlogits is not implemented for grad tracked tensor

## Steps to reproduce Open an app requiring log in. Long press on text field to get a three-dot menu. Click on it. See option that says "auto fill". Click...

feature-autofill

When I try `pip install .`, I run into ```bash 'setuptools.build_meta' has no attribute '__legacy__' ``` Following some recommendations online, I also tried `pip install . --no-use-pep517`, however, to no...

Hello! I tried running `sshlatex`, but unfortunately I run into the following error: ```bash *** Initial upload... foo.tex *** Error: ssh does not pass LC_* environment variables to the server....

The `tokenization_auto.py` was missing a mapping for `gpt_neox`, causing the `AutoTokenizer` initialization for GPT NeoX to fail at runtime: ```python File ..., in load_tokenizer(model_name_or_path='./gpt-neox-20b', **kwargs={'cache_dir': '.cache/'}) 16 def load_tokenizer(model_name_or_path: str...

[TODO] Implement Masked LM scoring using Pseudo Log-Likelihood based on implementation provided at https://github.com/carina-kauf/better-mlm-scoring edit: linking this PR to the corresponding issue #3

help wanted

Default behavior is to convert the singleton into a slice of (singltn, singltn+1). Not sure what's going wrong, needs debugging. re: #14

bug

Observed small differences in results for `batch_size=1` vs larger batch sizes and was trying a number of things to get to the bottom of it. Padding/attention masks didn’t solve it....

```python Traceback (most recent call last): File "/net/vast-storage/scratch/vast/evlab/asathe/code/composlang/lmsurprisal/notebooks/extract_surprisals.py", line 73, in main() File "/net/vast-storage/scratch/vast/evlab/asathe/code/composlang/lmsurprisal/notebooks/extract_surprisals.py", line 57, in main surprisals = [ File "/net/vast-storage/scratch/vast/evlab/asathe/code/composlang/lmsurprisal/surprisal/model.py", line 133, in extract_surprisal surprisals = self.surprise([*textbatch])...