DAMO-NLP-SG / DAMO-NLP-SG/VideoLLaMA2

No module named 'transformers'

Open
#117 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.3k
Forks
90
PR merge metrics
No merged PRs in 30d

Description

i want to train the model with my dataset. however, when i run the finetune_lora.sh.
it shows file /videollama2/model/language_model/videollama2_llama.py, line22
from transformers import AutoConfig, AutoModelForCausalLM, \
ModuleNotFoundError: No module named 'transformers'
how to solve this problem(i have already download the transformers)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running finetune_lora.sh in the environment used for training, then inspect the import at line 22 of videollama2/model/language_model/videollama2_llama.py. Confirm whether that environment can import transformers; done means the script starts without the reported ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.