DAMO-NLP-SG / DAMO-NLP-SG/multilingual_analysis
Unable to import local transformers folder
- Dominant language
- Python
- Stars
- 52
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Hi @zhaoyiran924 ,
Very nice work! I am also getting the same issue. Can you please help me to import your local transformers package instead of directly installed 'transformers' package? When I am trying to import it from local folder it is showing the below error
Traceback (most recent call last): File "/media/rimi/DATA/Rima/multilingual_analysis/neuron_detection/neuron_detection.py", line 17, in from transformers import AutoModelForCausalLM, AutoTokenizer ImportError: cannot import name 'AutoModelForCausalLM' from 'transformers' (unknown location)
Can you please help me to fix this? Can you pass me the exact code for this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.