Spaces:
Sleeping
Sleeping
Don't append `-hf` To model name
Browse files- src/model_utils.py +3 -3
src/model_utils.py
CHANGED
@@ -28,9 +28,9 @@ def extract_from_url(name: str):
|
|
28 |
|
29 |
|
30 |
def translate_llama2(text):
|
31 |
-
"Translates llama-2 to its hf counterpart"
|
32 |
-
if not text.endswith("-hf"):
|
33 |
-
|
34 |
return text
|
35 |
|
36 |
|
|
|
28 |
|
29 |
|
30 |
def translate_llama2(text):
|
31 |
+
# "Translates llama-2 to its hf counterpart"
|
32 |
+
# if not text.endswith("-hf"):
|
33 |
+
# return text + "-hf"
|
34 |
return text
|
35 |
|
36 |
|