Comments (2)
Hi,
Are you using the version of transformers provided with this toolkit, or did you install it using "pip install transformers?"
If you used the latter, then you will get this error.
To fix this:
- pip uninstall transformers
- cd yanmtt/transformers
- python setup.py install
from yanmtt.
Dear Dr. @prajdabre ,
Your answer solved my issue perfectly.
Thank you!
from yanmtt.
Related Issues (20)
- Improve documentation
- Improve examples
- Binary executables for all python scripts
- CPU support
- Add support for latest version of transformers repo
- Display more information during training
- RuntimeError: The expanded size of the tensor (22) must match the existing size (21) at non-singleton dimension 1. Target sizes: [178, 22, 1] . Tensor sizes: [178, 21, 1]
- Add PEP8 style guide checker workflow
- Add post-norm to the model
- Mixtures of denoisers
- Support all optimizers and schedulers
- Error in BART Monolingual Pre-training. HOT 5
- Evaluation during training BARTforConditionalGeneration pre-training on English corpora HOT 1
- Alternative to installing sentencpiece HOT 11
- Extending IndicBART or IndicBERT HOT 7
- Pretrain Donut model HOT 1
- Problem with __future__ annotation HOT 1
- Could not find the version : tensorflow-gpu==2.3.0
- Disable shared sentencepiece libraries in installation instructions HOT 1
- Error: Invalid new-expression of abstract class type torchdistx::detail::{anonymous}::ProxyVariableHooks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yanmtt.