mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
Fix GPT conversion script (#9676)
This commit is contained in:
parent
c5f6719040
commit
0ed8bccc9c
1 changed files with 3 additions and 3 deletions
|
|
@ -19,9 +19,9 @@ import argparse
|
|||
|
||||
import torch
|
||||
|
||||
from ...file_utils import CONFIG_NAME, WEIGHTS_NAME
|
||||
from ...utils import logging
|
||||
from . import OpenAIGPTConfig, OpenAIGPTModel, load_tf_weights_in_openai_gpt
|
||||
from transformers import OpenAIGPTConfig, OpenAIGPTModel, load_tf_weights_in_openai_gpt
|
||||
from transformers.file_utils import CONFIG_NAME, WEIGHTS_NAME
|
||||
from transformers.utils import logging
|
||||
|
||||
|
||||
logging.set_verbosity_info()
|
||||
|
|
|
|||
Loading…
Reference in a new issue