ImportError: cannot import name 'override' from 'typing_extensions'

1.2k views Asked by At

Not sure whats causing this error but it occurs on Jupyter Notebook and Spyder when running the following code: `'''!pip install peft !pip install -i https://test.pypi.org/simple/ bitsandbytes !pip install accelerate !pip install transformers !pip install trl !pip install torch '''

import torch from trl import SFTTrainer from datasets import load_dataset from peft import LoraConfig, get_peft_model, prepare_model_for_int8_training from transformers import AutoModelForCausalLM, AutoTokenizer, TrainingArguments `

Tried updating all the import packages but error still not resolved. please help

0

There are 0 answers