python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
huggingface transformers RuntimeError: No module named 'tensorflow.python.keras.engine.keras_tensor'
I am looking at this workbook which comes from huggingface course. I dont have internet access from my python environment but I could download files and save them in python environment. I copied all f...
user2543622
Votes: 0
Answers: 1
PyTorch Lightning working in One Collab Notebook but not Another
When I am following a Youtube tutorial, my code breaks when they try to import pytorch_lightning. I had a similar problem in my PyCharm environment but it has since gone away, and I am unsure why.
Er...

Jibril
Votes: 0
Answers: 1
Google mT5-small configuration error because number attention heads is not divider of model dimension
The configuration file for the HuggingFace google/mt5-small Model (https://huggingface.co/google/mt5-small)
defines
{
...
"d_model": 512,
...
"num_heads": 6,
...
}
Link to the...
MSLars
Votes: 0
Answers: 1
ValueError: The state dictionary of the model you are trying to load is corrupted. Are you sure it was properly saved?
Goal: Amend this Notebook to work with albert-base-v2 model
Kernel: conda_pytorch_p36.
Section 1.2 instantiates a model from files in ./MRPC/ dir.
However, I think it is for a BERT model, not Albert. ...
DanielBell99
Votes: 0
Answers: 1