Skip to content

Installation error #4

Description

@bensppaul2021

Please specify the Transformers version in the requirements.txt file to avoid installation errors, as newer versions may not include certain functions present in your version.

example error
from xgpt import *

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 0>()
----> 1 from xgpt import *

2 frames
/usr/local/lib/python3.11/dist-packages/xgpt/llama_model_with_gnn.py in
28 TokenClassifierOutput,
29 )
---> 30 from transformers.modeling_rope_utils import ROPE_INIT_FUNCTIONS
31 from transformers.modeling_utils import PreTrainedModel
32 from transformers.processing_utils import Unpack

ModuleNotFoundError: No module named 'transformers.modeling_rope_utils'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions