-
I completed all setup that are Python, tensorflow, pytorch library , ubuntu terminal, dataset downloaded and used Jupyter notebook.But there are some errors when i run the code.Errors like " ModuleNo…
-
Hello,
I'm trying to run the below simple demo but I've got an error for Accelerator.
Demo:
```
from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria, StoppingCriteri…
-
With the latest version, I get the mentioned error message. How can I fix that? See also #2820.
```
You are using the default legacy behaviour of the . This is expected, and simply means that the …
-
### 🐛 Describe the bug
Encountered a segfault when using pytorch on ubuntu 22.04, with python 3.10. It does not seem to happen on python3.9
GDB Backtrace
```
#0 0x00007f1a3a32ee2b in ?? () from…
-
## Information
The problem arises in chapter:
* [ ] Introduction
* [ ] Text Classification
* [ ] Transformer Anatomy
* [ HERE] Multilingual Named Entity Recognition
* [ ] Text Generation
* …
-
```python
from transformers import AutoTokenizer, AutoModelForCausalLM, AutoConfig, GenerationConfig
# from vllm import LLM, SamplingParams
import torch
device = torch.device(0)
def load_t…
-
Hi there!
How did you handle those special tokens?
```additional_special_tokens = ["[E11]", "[E12]", "[E21]", "[E22]"]```
Just passing them as an 'additional_special_tokens' parameter to the B…
-
Hi,
Is it possible to use SAM with ROCm pyTorch (because I'm on a AMD GPU (RX 6600) ?
When i run :
```
sam_checkpoint = "sam_vit_h_4b8939.pth"
model_type = "vit_h"
device = "rocm"
sam = sa…
Eleko updated
10 months ago
-
Hi,
First of all, thank you for your excellent work on this project. I tried to run your code on my machine, but I encountered an error that seems to indicate an issue with loading the model from a n…
-
### Describe the bug
Hi!
I tried to run an llm locally using `openllm`, and `phi3:3.8b-ggml-q4` happens to be the only model which I am able to run locally according to openllm, so I ran `openl…