-
in the model.py:
```python
self.encoder_layer = nn.TransformerEncoderLayer(d_model=feature_size, nhead=7, dropout=dropout)
self.transformer_encoder = nn.TransformerEncoder(self.en…
-
Need a factory and a common interface between SarifLog and SarifLogVersionOne. We should also think about whether the visitor model is the best choice.
-
### Describe the Bug
After a small training run, the program halted with the following error indicating a required library was missing.
### Expected Behavior
Completion of training.
### Re…
-
[More of an inquiry than a proper issue but I searched for prior issues/comments about this and did not find one, so I raise the issue so the reply is available for others.]
From the documentation,…
-
model.tokenize result is different from tranformers tokenizer result
using the same mode Qwen1.5-7B
input_ids1 = model.tokenize(prompt.encode("utf-8"))
input_ids2 = tokenizer([prompt], padding…
-
### Main programming language
python
### Tutorial title
Transformers from scratch
### Tutorial URL
[transformers from scratch in PyTorch](http://peterbloem.nl/blog/transformers)
### Ca…
-
System information
Linux 20.04
pip Tensorflow==2.12.0
using tranformers WhisperForConditionalgeneration
I'm trying to convert from TF to tflite and quantized to int8 Whisper, using the whisper …
-
### System Info
tranformers: v3.0.0-alpha.15
node: v18.20.3
MacOS M1 Sonoma 14.5
### Environment/Platform
- [ ] Website/web-app
- [ ] Browser extension
- [X] Server-side (e.g., Node.js,…
-
Have the following transformer which doesn't work:
```
class OptionalNSNumberToIntTranformer: NestedTransformer {
typealias TypeOfData = NSNumber?
typealias TypeOfProperty = Int
…
-
Feel free to use at much as possible of these tutorials but it is also a good excuse to review and re-write.
Some things to keep in mind:
- Start by identifying a real-world problem and/or datas…