amaye15
commited on
Commit
β’
f4f3a3e
1
Parent(s):
2f1a8a9
Rollback
Browse files- model/adapter_config.json β adapter_config.json +0 -0
- model/adapter_model.safetensors β adapter_model.safetensors +0 -0
- model/added_tokens.json β added_tokens.json +0 -0
- model/chat_template.json β chat_template.json +0 -0
- model/generation_config.json β generation_config.json +0 -0
- handler.py +1 -1
- model/merges.txt β merges.txt +0 -0
- model/preprocessor_config.json β preprocessor_config.json +0 -0
- pytorch_model.bin +0 -0
- model/special_tokens_map.json β special_tokens_map.json +0 -0
- model/tokenizer.json β tokenizer.json +0 -0
- model/tokenizer_config.json β tokenizer_config.json +0 -0
- model/vocab.json β vocab.json +0 -0
model/adapter_config.json β adapter_config.json
RENAMED
File without changes
|
model/adapter_model.safetensors β adapter_model.safetensors
RENAMED
File without changes
|
model/added_tokens.json β added_tokens.json
RENAMED
File without changes
|
model/chat_template.json β chat_template.json
RENAMED
File without changes
|
model/generation_config.json β generation_config.json
RENAMED
File without changes
|
handler.py
CHANGED
@@ -16,7 +16,7 @@ class EndpointHandler:
|
|
16 |
default_batch_size: The default batch size for processing images in batches.
|
17 |
"""
|
18 |
|
19 |
-
def __init__(self, path: str = "
|
20 |
"""
|
21 |
Initializes the EndpointHandler with a specified model path and default batch size.
|
22 |
|
|
|
16 |
default_batch_size: The default batch size for processing images in batches.
|
17 |
"""
|
18 |
|
19 |
+
def __init__(self, path: str = "", default_batch_size: int = 4):
|
20 |
"""
|
21 |
Initializes the EndpointHandler with a specified model path and default batch size.
|
22 |
|
model/merges.txt β merges.txt
RENAMED
File without changes
|
model/preprocessor_config.json β preprocessor_config.json
RENAMED
File without changes
|
pytorch_model.bin
DELETED
File without changes
|
model/special_tokens_map.json β special_tokens_map.json
RENAMED
File without changes
|
model/tokenizer.json β tokenizer.json
RENAMED
File without changes
|
model/tokenizer_config.json β tokenizer_config.json
RENAMED
File without changes
|
model/vocab.json β vocab.json
RENAMED
File without changes
|