You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modeling/inference_models/api/class.py
+1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
)
20
20
21
21
model_backend_name="KoboldAI API"
22
+
model_backend_type="KoboldAI API"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
22
23
23
24
classAPIException(Exception):
24
25
"""To be used for errors when using the Kobold API as an interface."""
Copy file name to clipboardExpand all lines: modeling/inference_models/basic_api/class.py
+1
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
18
18
19
19
model_backend_name="KoboldAI Old Colab Method"
20
+
model_backend_type="KoboldAI Old Colab Method"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
20
21
21
22
classBasicAPIException(Exception):
22
23
"""To be used for errors when using the Basic API as an interface."""
model_backend_type="Huggingface"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
model_backend_type="GooseAI"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
Copy file name to clipboardExpand all lines: modeling/inference_models/hf_mtj/class.py
+1
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
frommodeling.tokenizerimportGenericTokenizer
21
21
22
22
model_backend_name="Huggingface MTJ"
23
+
model_backend_type="Huggingface"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
Copy file name to clipboardExpand all lines: modeling/inference_models/horde/class.py
+1
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
)
19
19
20
20
model_backend_name="Horde"
21
+
model_backend_type="Horde"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
21
22
22
23
classHordeException(Exception):
23
24
"""To be used for errors on server side of the Horde."""
model_backend_type="OpenAI"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
Copy file name to clipboardExpand all lines: modeling/inference_models/readonly/class.py
+1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
)
16
16
17
17
model_backend_name="Read Only"
18
+
model_backend_type="Read Only"#This should be a generic name in case multiple model backends are compatible (think Hugging Face Custom and Basic Hugging Face)
18
19
19
20
classBasicAPIException(Exception):
20
21
"""To be used for errors when using the Basic API as an interface."""
0 commit comments