Comments (4)
from transformers.
Hi @dejokz, thanks for raising an issue!
Could you give some more details about the errors you're experiencing? Specifically the error messages and their full traceback?
from transformers.
Hi @dejokz, I checked the provided colab notebook and I got the same error and I think that even after running the suggested install of pip install transformers[torch]
and pip install accelerate -U
in the error traceback you aren't able to resolve the issue, right?
So, for fixing that just restart the colab session and after that without rerunning the !pip install
code cells just run all the rest of the other code cells back 'cause Colab has a script that appends metadata of pip-installed packages to a list-like object during runtime and imports only the search function from the top of this list so, we need to restart the session after !pip install
Cheers!
from transformers.
Hi, I recommend copying/pasting the code from the docs on the main
version for now. I think these issues should've been resolved in #30132, but the doc-builder is not converting the latest changes to the notebooks for some reason.
from transformers.
Related Issues (20)
- Using a single 'RecurrentGemmaRglru' layer - "Trying to backward through the graph a second time" Error
- `MixtralFlashAttention2` subscripts `position_ids` before checking if it is `None` HOT 2
- llava-next, any resolution bug? HOT 4
- `model_kwargs` is None when `generation_config` is passed as a dict instead of `generation.GenerationConfig` HOT 2
- Can't do fine-tuning on Colab HOT 4
- special token `<s>` conflicts with html tag `<s>` HOT 2
- Ability to split special tokens with fast tokenizer HOT 1
- Support saving models trained with DeepSpeed in Trainer callbacks HOT 1
- Implementation Issue of Phi3SuScaledRotaryEmbedding HOT 1
- Seq TransfoRNA HOT 2
- convert_data2vec_audio_original_pytorch_checkpoint_to_pytorch.py works for data2vec 1.0 checkpoint but not data2vec 2.0
- convert_data2vec_audio_original_pytorch_checkpoint_to_pytorch.py works for data2vec 2.0 AttributeError: 'ModuleList' object has no attribute 'mlp' HOT 1
- AttributeError: 'NllbTokenizerFast' object has no attribute 'lang_code_to_id' HOT 3
- Low retrieval and generation performance if evaluate rag model using consolidate_rag_checkpoint initialized with BART-LARGE as generator
- [CI] 2 Cohere tests are failing and skipped for now HOT 1
- Object Detection Pipeline only outputs first element when batching HOT 4
- Batch is empty when fine-tuning flan-t5 using LoRA
- Add support for setting default `use_fast` via `tokenizer_config.json` HOT 2
- LLama3 won't stop when provide eos_token_id HOT 1
- stop_strings not work at all HOT 1
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.