-
in the views.py file we are loading this model but i am unable to locate it. Do we have to download it externally or what ? I tried downloading it through 'https://huggingface.co/distilbert/distilber…
-
I ran the first command provided (to do some sanity checking of my setup since I usually get very high output errors for larger models like LLMs) and I get an output validation error.
I've made sur…
-
### Describe the Question
Please provide a clear and concise description of what the question is.
-
### System Info
```shell
python 3.10.14
torch 2.4.0+cu121
optimum 1.21.4
onnx 1.16.2
onnxruntime 1.19.0
transformers 4.43.4
optim…
-
Enable support for Distilbert QA model using TTNN ops.
-
```python
for epoch in range(NUM_EPOCHS):
model.train()
for batch_idx, batch in enumerate(train_loader):
### Prepare data
input_ids = batch['input_id…
-
Hello,
Going via the training.
Some small ideas for improvements.
#######################
Transformers, what can they do?
https://huggingface.co/learn/nlp-course/en/chapter1/3
A)
Curren…
-
I’m working on a multi task classification with DistilBert with 4 labels, based on your repo, and I was wondering if maybe you could help me, since I'm having a hard time trying tor each the hugging f…
-
### Question
Does transformers.js have a function to get the label after getting the logits? How to get the labels from the inference output?
let tokenizer = await AutoTokenizer.from_pretrained('d…
-
I noticed a number of various things are incorrectly implemented.
```python
classifier = pipeline("sentiment-analysis", device="cpu",
model="distilbert/distilbert-base-uncased-fin…