"fs/git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "ffbe8e076df9e2e67aab016ea3ec64822369b725"
Commit e5f2d912 authored by thomwolf's avatar thomwolf
Browse files

adding absolute imports to gpt2, openai and transfo-xl

parent eecaaa73
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
# limitations under the License. # limitations under the License.
"""PyTorch OpenAI GPT-2 model.""" """PyTorch OpenAI GPT-2 model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import collections import collections
import copy import copy
import json import json
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
# limitations under the License. # limitations under the License.
"""PyTorch OpenAI GPT model.""" """PyTorch OpenAI GPT model."""
from __future__ import absolute_import, division, print_function, unicode_literals
import collections import collections
import copy import copy
import json import json
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
In particular https://github.com/kimiyoung/transformer-xl/blob/master/pytorch/mem_transformer.py In particular https://github.com/kimiyoung/transformer-xl/blob/master/pytorch/mem_transformer.py
""" """
from __future__ import absolute_import, division, print_function, unicode_literals
import os import os
import copy import copy
import json import json
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment