Instructions to use stereologic/florence2-encoder-sampling-small-batch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stereologic/florence2-encoder-sampling-small-batch with Transformers:
# Load model directly from transformers import AutoProcessor, Florence2Pretrain processor = AutoProcessor.from_pretrained("stereologic/florence2-encoder-sampling-small-batch", trust_remote_code=True) model = Florence2Pretrain.from_pretrained("stereologic/florence2-encoder-sampling-small-batch", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -164,7 +164,7 @@
|
|
| 164 |
"length_penalty": 1.0,
|
| 165 |
"max_length": 20,
|
| 166 |
"min_length": 0,
|
| 167 |
-
"model_type": "",
|
| 168 |
"no_repeat_ngram_size": 0,
|
| 169 |
"num_beam_groups": 1,
|
| 170 |
"num_beams": 1,
|
|
|
|
| 164 |
"length_penalty": 1.0,
|
| 165 |
"max_length": 20,
|
| 166 |
"min_length": 0,
|
| 167 |
+
"model_type": "davit",
|
| 168 |
"no_repeat_ngram_size": 0,
|
| 169 |
"num_beam_groups": 1,
|
| 170 |
"num_beams": 1,
|