Comments (1)
The current workaround is to overwrite _load_from_state_dict
, as from_pretrained
do not call load_state_dict
.
I'm still inspecting where it is changed.
from transformers.
Related Issues (20)
- `stop_strings` Argument in `model.generate()` Results in Exception if Generation Completes Without `stop_string` Being Generated HOT 6
- GemmaTokenizerFast word_ids() returns only zeros
- Tokenizers: Character encoding inconsistencies between __call__ and .convert_tokens_to_ids HOT 1
- Memory leak when using CLIPTextModel HOT 2
- Add `StatefulDataLoader` support HOT 7
- How to build and evaluate a vanilla transformer? HOT 1
- Can't create transformer pipeline because pytorch failed to be detected HOT 6
- Trainer having issues with DataLoaderShard when running with torchrun
- cannot import name 'AutoModelForImageToImage' from 'transformers.models.auto.modeling_auto' (/opt/conda/lib/python3.10/site-packages/transformers/models/auto/modeling_auto.py) HOT 1
- linear_sum_assignment error in the object_detection.py guide HOT 2
- A parameter in TrainingArguments: sample_output=True HOT 2
- Mixtral's implementation of auxiliary loss seems incorrect
- LlavaNextProcessor.__init__() got an unexpected keyword argument 'image_token' HOT 5
- Gemma-7b model set my own lm_head but cannot saved and changed pretrained embedding_layer's weights too. HOT 1
- Attention dropout causing problem in attention score distribution
- llama3 with torch.compile used more memory HOT 4
- Quantization support for heads and embeddings HOT 4
- How do I replace a spare tokens? HOT 2
- ValueError: The checkpoint you are trying to load has model type `zoedepth` but Transformers does not recognize this architecture HOT 2
- Quantized T5EncoderModel cannot be removed from VRAM on CUDA systems HOT 6
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 transformers.