Run this model with HF Jobs
Run hf-internal-testing/tiny-random-CLIPForImageClassification 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/hf-internal-testing/tiny-random-CLIPForImageClassification. 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/hf-internal-testing/tiny-random-CLIPForImageClassification 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 hf-internal-testing/tiny-random-CLIPForImageClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-CLIPForImageClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hf-internal-testing/tiny-random-CLIPForImageClassification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-CLIPForImageClassification") model = AutoModelForImageClassification.from_pretrained("hf-internal-testing/tiny-random-CLIPForImageClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update tiny models for CLIPForImageClassification
Browse filesFiles changed (5)
- config.json+1-1
- model.safetensors+1-1
- preprocessor_config.json+17
- tokenizer.json+127-127
- vocab.json+127-127
23 unmodified lines242526272728293023 unmodified lines "vocab_size": 1024 }, "torch_dtype": "float32", "transformers_version": "4.38.0.dev0", "transformers_version": "4.39.0.dev0", "vision_config": { "attention_dropout": 0.1, "dropout": 0.1,1223version https://git-lfs.github.com/spec/v1oid sha256:57c2acb7ba6fad9103ca33adac0f1ee849bdd71fbfeb3bb363e2718fd457a063oid sha256:c9d3f28258de06f13b7601bec56f71b5b6d6a30b95935f243f94084ba4b5c589size 90104123456789101112131415161718192021{ "_valid_processor_keys": [ "images", "do_resize", "size", "resample", "do_center_crop", "crop_size", "do_rescale", "rescale_factor", "do_normalize", "image_mean", "image_std", "do_convert_rgb", "return_tensors", "data_format", "input_data_format" ], "crop_size": { "height": 30, "width": 30253 unmodified lines254255256257258259260261262263264265266267268269270271272273274275276277278257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389253 unmodified lines "Ł": 164, "ł": 165, "Ń": 166, "i</w>": 167, "s</w>": 168, "l</w>": 169, "t</w>": 170, "h</w>": 171, "y</w>": 172, "d</w>": 173, "a</w>": 174, "o</w>": 175, "n</w>": 176, "k</w>": 177, "©</w>": 178, "e</w>": 179, "b</w>": 180, "g</w>": 181, "r</w>": 182, "f</w>": 183, "x</w>": 184, "v</w>": 185, "Ĺ</w>": 186, "º</w>": 187, "m</w>": 188, "s</w>": 167, "y</w>": 168, "f</w>": 169, "p</w>": 170, "e</w>": 171, "r</w>": 172, "n</w>": 173, "k</w>": 174, "d</w>": 175, "t</w>": 176, "a</w>": 177, "i</w>": 178, "l</w>": 179, "o</w>": 180, "m</w>": 181, "g</w>": 182, "x</w>": 183, "h</w>": 184, "¹</w>": 185, "»</w>": 186, "z</w>": 187, "b</w>": 188, "w</w>": 189, "ĺ</w>": 190, "u</w>": 191, "²</w>": 192, "c</w>": 193, "Ĥ</w>": 194, "Ľ</w>": 195, "p</w>": 196, ".</w>": 197, "µ</w>": 198, "Ń</w>": 199, "></w>": 200, "ĩ</w>": 201, "£</w>": 202, "z</w>": 203, "«</w>": 204, "»</w>": 205, "į</w>": 206, "¢</w>": 207, "ī</w>": 208, "j</w>": 209, "q</w>": 210, "§</w>": 211, "¡</w>": 212, "¾</w>": 213, "Į</w>": 214, "³</w>": 215, "ģ</w>": 216, "¿</w>": 217, "ĵ</w>": 218, "#</w>": 219, "IJ</w>": 220, "Ĩ</w>": 221, "¤</w>": 222, "Ł</w>": 223, "°</w>": 224, "·</w>": 225, "¹</w>": 226, "¸</w>": 227, "ŀ</w>": 228, "¥</w>": 229, "ł</w>": 230, "ª</w>": 231, "}</w>": 232, "Ŀ</w>": 233, "c</w>": 190, "v</w>": 191, "u</w>": 192, "ĵ</w>": 193, "ij</w>": 194, "©</w>": 195, "Ļ</w>": 196, "Ĭ</w>": 197, "ĩ</w>": 198, "«</w>": 199, "ģ</w>": 200, "j</w>": 201, "Ł</w>": 202, "ŀ</w>": 203, "Ĩ</w>": 204, "±</w>": 205, "Ĵ</w>": 206, "¿</w>": 207, "¦</w>": 208, "²</w>": 209, "¶</w>": 210, "Ĥ</w>": 211, "¢</w>": 212, "ħ</w>": 213, "°</w>": 214, "į</w>": 215, "Ķ</w>": 216, "Ń</w>": 217, "ļ</w>": 218, "ĥ</w>": 219, "º</w>": 220, "%</w>": 221, "¡</w>": 222, "µ</w>": 223, "q</w>": 224, "ĸ</w>": 225, "ł</w>": 226, "¨</w>": 227, "Ģ</w>": 228, "Ħ</w>": 229, "0</w>": 230, "¥</w>": 231, "³</w>": 232, "¼</w>": 233, "¯</w>": 234, "ı</w>": 235, "ķ</w>": 236, "¨</w>": 237, "Ħ</w>": 238, "ĭ</w>": 239, "ħ</w>": 240, "İ</w>": 241, "¦</w>": 242, "ĥ</w>": 243, "Ĭ</w>": 244, "Ī</w>": 245, "Ļ</w>": 246, "¼</w>": 247, "Ķ</w>": 248, "`</w>": 249, "ĸ</w>": 250, "±</w>": 251, "ij</w>": 252, "´</w>": 253, "@</w>": 254, "Ĵ</w>": 255, ",</w>": 256, ":</w>": 257, "*</w>": 258, "¬</w>": 259, "Ģ</w>": 260, "'</w>": 261, "_</w>": 262, "ľ</w>": 263, "½</w>": 264, ")</w>": 265, "®</w>": 266, "\"</w>": 267, "~</w>": 268, "´</w>": 235, "ĺ</w>": 236, "ª</w>": 237, "£</w>": 238, "½</w>": 239, "¤</w>": 240, "3</w>": 241, "¸</w>": 242, "Į</w>": 243, "<</w>": 244, "-</w>": 245, "ī</w>": 246, "¾</w>": 247, "8</w>": 248, "Ŀ</w>": 249, "Ľ</w>": 250, "ĭ</w>": 251, "ľ</w>": 252, "§</w>": 253, "Ĺ</w>": 254, "~</w>": 255, ".</w>": 256, "ı</w>": 257, "ķ</w>": 258, "IJ</w>": 259, "[</w>": 260, "Ī</w>": 261, "¬</w>": 262, "·</w>": 263, ",</w>": 264, "®</w>": 265, ";</w>": 266, "&</w>": 267, "4</w>": 268, "5</w>": 269, "7</w>": 270, "%</w>": 271, "-</w>": 272, "]</w>": 273, "!</w>": 274, "¶</w>": 275, ";</w>": 276, "/</w>": 277, "+</w>": 278, "=</w>": 279, "4</w>": 280, "(</w>": 281, "^</w>": 282, "6</w>": 283, "8</w>": 284, "&</w>": 285, "\\</w>": 286, "3</w>": 287, "0</w>": 288, "ļ</w>": 289, "$</w>": 290, "[</w>": 291, "9</w>": 292, "1</w>": 293, "|</w>": 294, "<</w>": 295, "?</w>": 296, "'</w>": 270, "@</w>": 271, "></w>": 272, "|</w>": 273, "_</w>": 274, "$</w>": 275, ":</w>": 276, "`</w>": 277, "1</w>": 278, "9</w>": 279, "\\</w>": 280, "]</w>": 281, "=</w>": 282, "\"</w>": 283, "+</w>": 284, ")</w>": 285, "*</w>": 286, "!</w>": 287, "/</w>": 288, "7</w>": 289, "İ</w>": 290, "(</w>": 291, "6</w>": 292, "#</w>": 293, "?</w>": 294, "}</w>": 295, "^</w>": 296, "2</w>": 297, "th": 298, "the</w>": 299,12334556778991011111213131415151617181819202021222223242425262627282929303132323334353536373738393940414243434445454647484949505151525353545555565757585959606161626364656566676768696970717273747475767677787879808081828283848485868687888889909166 unmodified lines15815916016116116216316429 unmodified lines19419519619719719819920042 unmodified lines24324424524624624724824925 unmodified lines27527627727827827928028144 unmodified lines32632732832932933033133222 unmodified lines35535635735835835936036116 unmodified lines37837938038138138238338415 unmodified lines40040140240340340440540631 unmodified lines4384394404414414424434444454464464474484492 unmodified lines45245345445545545645745822 unmodified lines48148248348448448548648720 unmodified lines50850951051151151251351412 unmodified lines52752852953053053153253337 unmodified lines57157257357457457557657726 unmodified lines60460560660760760860961061061161261315 unmodified lines62963063163263263363463569 unmodified lines70570670770870870971071163 unmodified lines77577677777877877978078111 unmodified lines79379479579679679779879940 unmodified lines8408418428438438448458458468478481 unmodified line85085185285385385485585685685785885885986086086186286286386486486586686686786886886987087087187287287387487487587687687787887887988088088188288288388488488588688688788888989089089189289289389489489589689689789889889990090090190290290390490490590690690790890890991091091191291291391491491591691691791891891992092092192292332 unmodified lines9569579589599599609619619629639639649659659669679679689699699709719719729739739749759759769779779789799799809819819829839839849859859869879879889899899909919919929939939949959959969979979989999991000100110011002100310031004100510051006100710071008100910091010101110111012101310131014101510151016101710171018101910191020102110211022102310231024102510251026{ "!": 2, "!</w>": 274, "!</w>": 287, "\"": 3, "\"</w>": 267, "\"</w>": 283, "#": 4, "#</w>": 219, "#</w>": 293, "$": 5, "$</w>": 290, "$</w>": 275, "%": 6, "%</w>": 271, "%</w>": 221, "&": 7, "&</w>": 285, "&</w>": 267, "'": 8, "'</w>": 261, "'</w>": 270, "'s</w>": 363, "(": 9, "(</w>": 281, "(</w>": 291, ")": 10, ")</w>": 265, ")</w>": 285, "*": 11, "*</w>": 258, "*</w>": 286, "+": 12, "+</w>": 278, "+</w>": 284, ",": 13, ",</w>": 256, ",</w>": 264, ",@</w>": 622, "-": 14, "-</w>": 272, "-</w>": 245, "-@</w>": 353, ".": 15, ".</w>": 197, ".</w>": 256, ".@</w>": 569, "/": 16, "/</w>": 277, "/</w>": 288, "0": 17, "0</w>": 288, "0</w>": 230, "1": 18, "1</w>": 293, "1</w>": 278, "2": 19, "2</w>": 297, "3": 20, "3</w>": 287, "3</w>": 241, "4": 21, "4</w>": 280, "4</w>": 268, "5": 22, "5</w>": 269, "6": 23, "6</w>": 283, "6</w>": 292, "7": 24, "7</w>": 270, "7</w>": 289, "8": 25, "8</w>": 284, "8</w>": 248, "9": 26, "9</w>": 292, "9</w>": 279, ":": 27, ":</w>": 257, ":</w>": 276, ";": 28, ";</w>": 276, ";</w>": 266, "<": 29, "<</w>": 295, "<</w>": 244, "<|endoftext|>": 1, "<|startoftext|>": 0, "=": 30, "=</w>": 279, "=</w>": 282, ">": 31, "></w>": 200, "></w>": 272, "?": 32, "?</w>": 296, "?</w>": 294, "@": 33, "@,@</w>": 623, "@-@</w>": 354, "@.@</w>": 570, "@</w>": 254, "@</w>": 271, "[": 34, "[</w>": 291, "[</w>": 260, "\\": 35, "\\</w>": 286, "\\</w>": 280, "]": 36, "]</w>": 273, "]</w>": 281, "^": 37, "^</w>": 282, "^</w>": 296, "_": 38, "_</w>": 262, "_</w>": 274, "`": 39, "`</w>": 249, "`</w>": 277, "a": 40, "a</w>": 174, "a</w>": 177, "ab": 408, "able</w>": 675, "about</w>": 721,66 unmodified lines "au": 448, "ause</w>": 997, "b": 41, "b</w>": 180, "b</w>": 188, "ba": 687, "back</w>": 992, "bar": 821,29 unmodified lines "but</w>": 499, "by</w>": 369, "c": 42, "c</w>": 193, "c</w>": 190, "ca": 394, "cal": 820, "called</w>": 1014,42 unmodified lines "cul": 881, "cur": 990, "d": 43, "d</w>": 173, "d</w>": 175, "da": 497, "day</w>": 755, "de": 352,25 unmodified lines "during</w>": 616, "dy</w>": 727, "e": 44, "e</w>": 179, "e</w>": 171, "ea": 344, "eam</w>": 1006, "ear": 445,44 unmodified lines "ever</w>": 754, "ex": 417, "f": 45, "f</w>": 183, "f</w>": 169, "fa": 630, "fac": 893, "fe": 484,22 unmodified lines "ft</w>": 707, "fu": 665, "g": 46, "g</w>": 181, "g</w>": 182, "ga": 631, "game</w>": 697, "gan</w>": 835,16 unmodified lines "gs</w>": 975, "gu": 426, "h": 47, "h</w>": 171, "h</w>": 184, "ha": 367, "had</w>": 459, "har": 971,15 unmodified lines "however</w>": 867, "hu": 993, "i": 48, "i</w>": 167, "i</w>": 178, "ic": 409, "ic</w>": 783, "ical</w>": 713,31 unmodified lines "its</w>": 480, "ity</w>": 443, "j": 49, "j</w>": 209, "j</w>": 201, "jo": 585, "joh": 941, "ju": 619, "k": 50, "k</w>": 177, "k</w>": 174, "ke": 661, "ke</w>": 505, "ked</w>": 653,2 unmodified lines "known</w>": 879, "ks</w>": 559, "l": 51, "l</w>": 169, "l</w>": 179, "la": 348, "lan": 606, "land</w>": 561,22 unmodified lines "lu": 432, "ly</w>": 342, "m": 52, "m</w>": 188, "m</w>": 181, "ma": 365, "made</w>": 794, "man": 444,20 unmodified lines "musi": 808, "music</w>": 961, "n": 53, "n</w>": 176, "n</w>": 173, "na": 517, "nam": 810, "national</w>": 849,12 unmodified lines "num": 763, "number</w>": 924, "o": 54, "o</w>": 175, "o</w>": 180, "ob": 909, "oc": 511, "od</w>": 825,37 unmodified lines "ow": 416, "own</w>": 617, "p": 55, "p</w>": 196, "p</w>": 170, "pa": 593, "par": 427, "part</w>": 892,26 unmodified lines "pu": 485, "publi": 728, "q": 56, "q</w>": 210, "q</w>": 224, "qu": 431, "r": 57, "r</w>": 182, "r</w>": 172, "ra": 355, "ran": 523, "re": 304,15 unmodified lines "ru": 419, "ry</w>": 885, "s": 58, "s</w>": 168, "s</w>": 167, "sa": 510, "sc": 414, "sch": 775,69 unmodified lines "sur": 642, "sy": 673, "t": 59, "t</w>": 170, "t</w>": 176, "ta": 438, "tain</w>": 1010, "te": 544,63 unmodified lines "two</w>": 545, "ty</w>": 584, "u": 60, "u</w>": 191, "u</w>": 192, "ul": 461, "um": 500, "um</w>": 743,11 unmodified lines "use</w>": 991, "used</w>": 701, "v": 61, "v</w>": 185, "v</w>": 191, "ve": 910, "ve</w>": 371, "ved</w>": 503,40 unmodified lines "writ": 722, "ws</w>": 953, "x": 63, "x</w>": 184, "x</w>": 183, "y": 64, "y</w>": 172, "y</w>": 168, "year</w>": 789, "years</w>": 845, "ying</w>": 868,1 unmodified line "yp": 870, "ys</w>": 711, "z": 65, "z</w>": 203, "z</w>": 187, "zed</w>": 973, "|": 66, "|</w>": 294, "|</w>": 273, "}": 67, "}</w>": 232, "}</w>": 295, "~": 68, "~</w>": 268, "~</w>": 255, "¡": 69, "¡</w>": 212, "¡</w>": 222, "¢": 70, "¢</w>": 207, "¢</w>": 212, "£": 71, "£</w>": 202, "£</w>": 238, "¤": 72, "¤</w>": 222, "¤</w>": 240, "¥": 73, "¥</w>": 229, "¥</w>": 231, "¦": 74, "¦</w>": 242, "¦</w>": 208, "§": 75, "§</w>": 211, "§</w>": 253, "¨": 76, "¨</w>": 237, "¨</w>": 227, "©": 77, "©</w>": 178, "©</w>": 195, "ª": 78, "ª</w>": 231, "ª</w>": 237, "«": 79, "«</w>": 204, "«</w>": 199, "¬": 80, "¬</w>": 259, "¬</w>": 262, "®": 81, "®</w>": 266, "®</w>": 265, "¯": 82, "¯</w>": 234, "°": 83, "°</w>": 224, "°</w>": 214, "±": 84, "±</w>": 251, "±</w>": 205, "²": 85, "²</w>": 192, "²</w>": 209, "³": 86, "³</w>": 215, "³</w>": 232, "´": 87, "´</w>": 253, "´</w>": 235, "µ": 88, "µ</w>": 198, "µ</w>": 223, "¶": 89, "¶</w>": 275, "¶</w>": 210, "·": 90, "·</w>": 225, "·</w>": 263, "¸": 91, "¸</w>": 227, "¸</w>": 242, "¹": 92, "¹</w>": 226, "¹</w>": 185, "º": 93, "º</w>": 187, "º</w>": 220, "»": 94, "»</w>": 205, "»</w>": 186, "¼": 95, "¼</w>": 247, "¼</w>": 233, "½": 96, "½</w>": 264, "½</w>": 239, "¾": 97, "¾</w>": 213, "¾</w>": 247, "¿": 98, "¿</w>": 217, "¿</w>": 207, "Â": 99, "Ã": 100, "Ä": 101,32 unmodified lines "ì": 131, "ï": 132, "Ģ": 133, "Ģ</w>": 260, "Ģ</w>": 228, "ģ": 134, "ģ</w>": 216, "ģ</w>": 200, "Ĥ": 135, "Ĥ</w>": 194, "Ĥ</w>": 211, "ĥ": 136, "ĥ</w>": 243, "ĥ</w>": 219, "Ħ": 137, "Ħ</w>": 238, "Ħ</w>": 229, "ħ": 138, "ħ</w>": 240, "ħ</w>": 213, "Ĩ": 139, "Ĩ</w>": 221, "Ĩ</w>": 204, "ĩ": 140, "ĩ</w>": 201, "ĩ</w>": 198, "Ī": 141, "Ī</w>": 245, "Ī</w>": 261, "ī": 142, "ī</w>": 208, "ī</w>": 246, "Ĭ": 143, "Ĭ</w>": 244, "Ĭ</w>": 197, "ĭ": 144, "ĭ</w>": 239, "ĭ</w>": 251, "Į": 145, "Į</w>": 214, "Į</w>": 243, "į": 146, "į</w>": 206, "į</w>": 215, "İ": 147, "İ</w>": 241, "İ</w>": 290, "ı": 148, "ı</w>": 235, "ı</w>": 257, "IJ": 149, "IJ</w>": 220, "IJ</w>": 259, "ij": 150, "ij</w>": 252, "ij</w>": 194, "Ĵ": 151, "Ĵ</w>": 255, "Ĵ</w>": 206, "ĵ": 152, "ĵ</w>": 218, "ĵ</w>": 193, "Ķ": 153, "Ķ</w>": 248, "Ķ</w>": 216, "ķ": 154, "ķ</w>": 236, "ķ</w>": 258, "ĸ": 155, "ĸ</w>": 250, "ĸ</w>": 225, "Ĺ": 156, "Ĺ</w>": 186, "Ĺ</w>": 254, "ĺ": 157, "ĺ</w>": 190, "ĺ</w>": 236, "Ļ": 158, "Ļ</w>": 246, "Ļ</w>": 196, "ļ": 159, "ļ</w>": 289, "ļ</w>": 218, "Ľ": 160, "Ľ</w>": 195, "Ľ</w>": 250, "ľ": 161, "ľ</w>": 263, "ľ</w>": 252, "Ŀ": 162, "Ŀ</w>": 233, "Ŀ</w>": 249, "ŀ": 163, "ŀ</w>": 228, "ŀ</w>": 203, "Ł": 164, "Ł</w>": 223, "Ł</w>": 202, "ł": 165, "ł</w>": 230, "ł</w>": 226, "Ń": 166, "Ń</w>": 199 "Ń</w>": 217}config.json+1-1
model.safetensors+1-1
preprocessor_config.json+17
tokenizer.json+127-127
vocab.json+127-127