-
settings.py
NINJA_JWT = {
'BLACKLIST_AFTER_ROTATION': True,}
INSTALLED_APPS = [ "ninja_jwt.token_blacklist",]
`
@http_post(
"/logout",
# response=UserLogoutSchema,
…
-
With a token that extends across physical lines, splitting it at the line break works to create separate tokens, but doesn't recalculate the second line's token's location.
running the service fo…
-
**Github username:** --
**Twitter username:** --
**Submission hash (on-chain):** 0x27e2ec75e3744e792932f97509b34aa418ba1f4f9d7e8450ae47caaf476288ef
**Severity:** high
**Description:**
**Description*…
-
Thanks for your study.
When I read the code, I wonder how the split token [SEP] works.
`self.cnt_token = nn.Parameter(torch.zeros(1, 1, embed_dim)) self.sep_token = nn.Parameter(torch.zeros(1, 1…
-
TL;DR: adding or removing a simple log() is affecting the outcome of tests.
Details:
- the errors I'm seeing are `MemoryOverflow` (and the U256 type is involved...)
- toolchain is beta-3
- repo is…
-
Hi,
I was trying to run the example [inference.cpp](https://github.com/Knowledgator/GLiNER.cpp/blob/main/examples/inference.cpp) with the path updated to my onnx gliner model, but got this error:
…
-
In the python split if a capture group is used the split returns the split character in addition to the delimited tokens. The default rust regex crate does not do this. I believe this is used pretty e…
-
```py
from unsloth import FastLanguageModel
from unsloth import is_bfloat16_supported
import torch
from unsloth.chat_templates import get_chat_template
from trl import SFTTrainer
from transform…
-
-
keras.layers.TextVectorization does not convert Cyrillic characters to lowercase with 'lower_and_strip_punctuation'.
Deprecated keras.preprocessing.text.Tokenizer does this.
```
#================…