Run this model with HF Jobs
Run Junteng/Chart_CLIP on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Junteng/Chart_CLIP. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Junteng/Chart_CLIP on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Junteng/Chart_CLIP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Junteng/Chart_CLIP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="Junteng/Chart_CLIP")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Junteng/Chart_CLIP", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (8)
- model/config.jsonAdded+31
- model/merges.txtAdded
- model/preprocessor_config.jsonAdded+28
- model/pytorch_model.binAdded+3
- model/special_tokens_map.jsonAdded+30
- model/tokenizer.jsonAdded
- model/tokenizer_config.jsonAdded+31
- model/vocab.jsonAdded
12345678910111213141516171819202122232425262728293031{ "_name_or_path": "openai/clip-vit-large-patch14-336", "architectures": [ "CLIPModel" ], "initializer_factor": 1.0, "logit_scale_init_value": 2.6592, "model_type": "clip", "projection_dim": 768, "text_config": { "dropout": 0.0, "hidden_size": 768, "intermediate_size": 3072, "model_type": "clip_text_model", "num_attention_heads": 12, "projection_dim": 768 }, "torch_dtype": "float32", "transformers_version": "4.44.2", "vision_config": { "dropout": 0.0, "hidden_size": 1024, "image_size": 336, "intermediate_size": 4096, "model_type": "clip_vision_model", "num_attention_heads": 16, "num_hidden_layers": 24, "patch_size": 14, "projection_dim": 768 }}12345678910111213141516171819202122232425262728{ "crop_size": { "height": 336, "width": 336 }, "do_center_crop": true, "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.48145466, 0.4578275, 0.40821073 ], "image_processor_type": "CLIPImageProcessor", "image_std": [ 0.26862954, 0.26130258, 0.27577711 ], "processor_class": "CLIPProcessor", "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 336 }}123version https://git-lfs.github.com/spec/v1oid sha256:44e5706fa69d41a9b4c4509cf8cbae6bd890bcaba7ffdd06d535cded7fefd080size 1711943042123456789101112131415161718192021222324252627282930{ "bos_token": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}12345678910111213141516171819202122232425262728293031{ "add_prefix_space": false, "added_tokens_decoder": { "49406": { "content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true }, "49407": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "<|startoftext|>", "clean_up_tokenization_spaces": true, "do_lower_case": true, "eos_token": "<|endoftext|>", "errors": "replace", "model_max_length": 77, "pad_token": "<|endoftext|>", "processor_class": "CLIPProcessor", "tokenizer_class": "CLIPTokenizer", "unk_token": "<|endoftext|>"}model/config.jsonAdded+31
model/merges.txtAdded
model/preprocessor_config.jsonAdded+28
model/pytorch_model.binAdded+3
model/special_tokens_map.jsonAdded+30
model/tokenizer.jsonAdded
model/tokenizer_config.jsonAdded+31
model/vocab.jsonAdded