Instructions to use swaroopajit/git-base-fashion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use swaroopajit/git-base-fashion with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="swaroopajit/git-base-fashion")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("swaroopajit/git-base-fashion") model = AutoModelForMultimodalLM.from_pretrained("swaroopajit/git-base-fashion", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a5ee81c
1
Parent(s): 08fe92b
Delete tokenizer_config.json
Browse files- tokenizer_config.json +0 -18
tokenizer_config.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"clean_up_tokenization_spaces": true,
|
| 3 |
-
"cls_token": "[CLS]",
|
| 4 |
-
"do_lower_case": true,
|
| 5 |
-
"mask_token": "[MASK]",
|
| 6 |
-
"model_input_names": [
|
| 7 |
-
"input_ids",
|
| 8 |
-
"attention_mask"
|
| 9 |
-
],
|
| 10 |
-
"model_max_length": 512,
|
| 11 |
-
"pad_token": "[PAD]",
|
| 12 |
-
"processor_class": "GitProcessor",
|
| 13 |
-
"sep_token": "[SEP]",
|
| 14 |
-
"strip_accents": null,
|
| 15 |
-
"tokenize_chinese_chars": true,
|
| 16 |
-
"tokenizer_class": "BertTokenizer",
|
| 17 |
-
"unk_token": "[UNK]"
|
| 18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|