Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
asv-ml
mlmc
Commits
2efd5ca8
Commit
2efd5ca8
authored
Feb 19, 2021
by
Janos Borst
Browse files
removed unused line in representations
parent
83ba7d32
Pipeline
#45909
failed with stage
in 1 minute and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mlmc/representation/representations.py
View file @
2efd5ca8
...
...
@@ -16,7 +16,6 @@ from transformers import *
EMBEDDINGCACHE
=
Path
.
home
()
/
".mlmc"
/
"embedding"
EMBEDDINGCACHEINDEX
=
Path
.
home
()
/
".mlmc"
/
"embedding"
/
"index.txt"
EMBEDDINGCACHEMODELS
=
Path
.
home
()
/
".mlmc"
/
"models.txt"
if
not
EMBEDDINGCACHE
.
exists
():
EMBEDDINGCACHE
.
mkdir
(
parents
=
True
)
...
...
@@ -284,4 +283,4 @@ def is_transformer(name):
Returns: bool
"""
return
name
not
in
STATICS
.
keys
()
or
pathlib
.
Path
(
name
).
is_dir
()
\ No newline at end of file
return
name
not
in
STATICS
.
keys
()
or
pathlib
.
Path
(
name
).
is_dir
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment