Skip to content

Problem with train_transformer.py - please help... #4

@AdrianRobak

Description

@AdrianRobak

Dear Coders,

I tried to run the "train_transformer.py" and my PyCharm (under OS X) kicked me out and wrote the error:

"Traceback (most recent call last):
File "/Users/adrianrobak/Documents/GitHub/bachsformer3.0/train_transformer.py", line 5, in
from transformer_decoder_only.trainer import Trainer
File "/Users/adrianrobak/Documents/GitHub/bachsformer3.0/transformer_decoder_only/trainer.py", line 12, in
from mingpt.utils import CfgNode as CN
ModuleNotFoundError: No module named 'mingpt'"

When I tried to install mingpt (pip install mingpt), my terminal said:

"ERROR: Could not find a version that satisfies the requirement mingpt (from versions: none)
ERROR: No matching distribution found for mingpt"

Could you help me in that case, please?
I will appreciate your help.

Adrian

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