Revvz commited on
Commit
9c518c6
·
verified ·
1 Parent(s): 03f4e17

Don't append `-hf` To model name

Browse files
Files changed (1) hide show
  1. 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
- return text + "-hf"
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