documentation-images / safetensors /safetensors-logo-dark.svg
mishig's picture
mishig HF staff
Upload 2 files
b293dcc
|
raw
history blame
19.2 kB
<svg width="1160" height="386" viewBox="0 0 1160 386" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="1160" height="386" rx="20" fill="#171717"/>
<path d="M455.191 183.74C452.237 183.74 449.284 183.187 446.33 182.079C443.423 180.971 440.816 179.356 438.508 177.233L444.323 170.242C445.938 171.626 447.738 172.757 449.722 173.634C451.707 174.511 453.622 174.949 455.468 174.949C457.591 174.949 459.16 174.557 460.175 173.772C461.236 172.988 461.767 171.926 461.767 170.588C461.767 169.157 461.167 168.119 459.967 167.473C458.813 166.781 457.244 166.019 455.26 165.189L449.376 162.697C447.853 162.051 446.4 161.197 445.015 160.136C443.631 159.028 442.5 157.667 441.623 156.051C440.746 154.436 440.308 152.544 440.308 150.375C440.308 147.883 440.977 145.622 442.315 143.591C443.7 141.561 445.592 139.946 447.992 138.746C450.438 137.546 453.23 136.946 456.368 136.946C458.952 136.946 461.536 137.454 464.12 138.469C466.705 139.484 468.966 140.961 470.904 142.899L465.713 149.337C464.236 148.183 462.759 147.306 461.282 146.706C459.806 146.06 458.167 145.737 456.368 145.737C454.614 145.737 453.206 146.106 452.145 146.845C451.13 147.537 450.622 148.529 450.622 149.821C450.622 151.206 451.268 152.244 452.56 152.936C453.899 153.629 455.537 154.367 457.475 155.152L463.29 157.505C466.013 158.613 468.182 160.136 469.797 162.074C471.412 164.012 472.22 166.573 472.22 169.757C472.22 172.249 471.55 174.557 470.212 176.68C468.874 178.802 466.936 180.51 464.397 181.802C461.859 183.094 458.79 183.74 455.191 183.74ZM487.702 183.74C484.564 183.74 482.072 182.748 480.226 180.764C478.38 178.733 477.457 176.264 477.457 173.357C477.457 169.757 478.98 166.942 482.026 164.912C485.072 162.881 489.986 161.52 496.77 160.828C496.678 159.305 496.216 158.105 495.386 157.228C494.601 156.305 493.263 155.844 491.371 155.844C489.94 155.844 488.487 156.121 487.01 156.674C485.533 157.228 483.964 157.99 482.303 158.959L478.634 152.244C480.803 150.906 483.11 149.821 485.556 148.991C488.048 148.16 490.632 147.745 493.309 147.745C497.693 147.745 501.062 149.014 503.416 151.552C505.769 154.09 506.946 157.99 506.946 163.251V182.91H498.639L497.947 179.379H497.67C496.239 180.671 494.694 181.733 493.032 182.564C491.417 183.348 489.64 183.74 487.702 183.74ZM491.163 175.849C492.317 175.849 493.309 175.595 494.14 175.088C495.017 174.534 495.893 173.818 496.77 172.942V166.919C493.171 167.381 490.679 168.119 489.294 169.134C487.91 170.104 487.218 171.257 487.218 172.596C487.218 173.703 487.564 174.534 488.256 175.088C488.994 175.595 489.963 175.849 491.163 175.849ZM517.284 182.91V156.536H512.715V148.991L517.284 148.645V146.776C517.284 144.33 517.699 142.115 518.53 140.13C519.36 138.146 520.699 136.554 522.545 135.354C524.391 134.154 526.86 133.554 529.951 133.554C531.382 133.554 532.697 133.693 533.897 133.969C535.097 134.246 536.066 134.523 536.804 134.8L534.935 142.276C534.336 142.045 533.736 141.884 533.136 141.792C532.536 141.653 531.959 141.584 531.405 141.584C530.159 141.584 529.19 141.976 528.498 142.761C527.806 143.499 527.459 144.745 527.459 146.499V148.575H533.62V156.536H527.459V182.91H517.284ZM553.837 183.74C550.56 183.74 547.607 183.025 544.977 181.594C542.346 180.164 540.269 178.11 538.746 175.434C537.224 172.757 536.462 169.527 536.462 165.743C536.462 162.005 537.224 158.797 538.746 156.121C540.316 153.444 542.346 151.39 544.838 149.96C547.33 148.483 549.937 147.745 552.66 147.745C555.937 147.745 558.636 148.483 560.759 149.96C562.928 151.39 564.543 153.352 565.605 155.844C566.712 158.29 567.266 161.082 567.266 164.22C567.266 165.096 567.22 165.973 567.128 166.85C567.035 167.681 566.943 168.304 566.851 168.719H546.292C546.753 171.211 547.792 173.057 549.407 174.257C551.022 175.411 552.96 175.987 555.221 175.987C557.667 175.987 560.136 175.226 562.628 173.703L566.02 179.864C564.266 181.064 562.305 182.01 560.136 182.702C557.967 183.394 555.867 183.74 553.837 183.74ZM546.223 162.005H558.613C558.613 160.112 558.152 158.566 557.229 157.367C556.352 156.121 554.898 155.498 552.868 155.498C551.299 155.498 549.891 156.051 548.645 157.159C547.399 158.22 546.592 159.836 546.223 162.005ZM586.843 183.74C582.597 183.74 579.552 182.517 577.706 180.072C575.906 177.626 575.006 174.418 575.006 170.45V156.536H570.299V148.991L575.56 148.575L576.737 139.438H585.182V148.575H593.419V156.536H585.182V170.311C585.182 172.249 585.574 173.657 586.358 174.534C587.189 175.364 588.274 175.78 589.612 175.78C590.166 175.78 590.72 175.711 591.273 175.572C591.873 175.434 592.404 175.272 592.865 175.088L594.458 182.494C593.581 182.771 592.496 183.048 591.204 183.325C589.958 183.602 588.504 183.74 586.843 183.74ZM614.271 183.74C610.995 183.74 608.041 183.025 605.411 181.594C602.78 180.164 600.704 178.11 599.181 175.434C597.658 172.757 596.896 169.527 596.896 165.743C596.896 162.005 597.658 158.797 599.181 156.121C600.75 153.444 602.78 151.39 605.272 149.96C607.764 148.483 610.372 147.745 613.095 147.745C616.371 147.745 619.071 148.483 621.194 149.96C623.363 151.39 624.978 153.352 626.039 155.844C627.147 158.29 627.7 161.082 627.7 164.22C627.7 165.096 627.654 165.973 627.562 166.85C627.47 167.681 627.377 168.304 627.285 168.719H606.726C607.188 171.211 608.226 173.057 609.841 174.257C611.456 175.411 613.394 175.987 615.656 175.987C618.102 175.987 620.571 175.226 623.063 173.703L626.454 179.864C624.701 181.064 622.74 182.01 620.571 182.702C618.402 183.394 616.302 183.74 614.271 183.74ZM606.657 162.005H619.048C619.048 160.112 618.586 158.566 617.663 157.367C616.786 156.121 615.333 155.498 613.302 155.498C611.733 155.498 610.326 156.051 609.08 157.159C607.834 158.22 607.026 159.836 606.657 162.005ZM634.732 182.91V148.575H643.039L643.731 152.936H644.008C645.484 151.552 647.1 150.352 648.853 149.337C650.653 148.275 652.707 147.745 655.014 147.745C658.752 147.745 661.452 148.991 663.113 151.483C664.821 153.929 665.674 157.297 665.674 161.589V182.91H655.499V162.904C655.499 160.412 655.153 158.705 654.46 157.782C653.814 156.859 652.753 156.398 651.276 156.398C649.984 156.398 648.876 156.697 647.953 157.297C647.03 157.851 646.015 158.659 644.908 159.72V182.91H634.732ZM684.452 183.74C682.191 183.74 679.86 183.302 677.46 182.425C675.107 181.548 673.053 180.395 671.3 178.964L675.868 172.596C677.437 173.749 678.937 174.649 680.368 175.295C681.845 175.895 683.298 176.195 684.729 176.195C686.252 176.195 687.359 175.941 688.052 175.434C688.744 174.88 689.09 174.165 689.09 173.288C689.09 172.503 688.744 171.857 688.052 171.35C687.405 170.842 686.552 170.38 685.49 169.965C684.429 169.504 683.298 169.042 682.098 168.581C680.714 168.027 679.329 167.335 677.945 166.504C676.607 165.673 675.476 164.612 674.553 163.32C673.63 161.981 673.169 160.366 673.169 158.474C673.169 155.29 674.369 152.706 676.768 150.721C679.214 148.737 682.398 147.745 686.321 147.745C688.951 147.745 691.259 148.206 693.243 149.129C695.274 150.006 697.004 150.998 698.435 152.106L693.866 158.197C692.666 157.274 691.466 156.559 690.267 156.051C689.067 155.544 687.867 155.29 686.667 155.29C684.037 155.29 682.721 156.19 682.721 157.99C682.721 159.097 683.367 159.951 684.66 160.551C685.998 161.105 687.544 161.705 689.298 162.351C690.774 162.858 692.205 163.527 693.589 164.358C695.02 165.143 696.197 166.204 697.12 167.542C698.089 168.834 698.573 170.542 698.573 172.665C698.573 175.757 697.373 178.387 694.974 180.556C692.574 182.679 689.067 183.74 684.452 183.74ZM719.78 183.74C716.873 183.74 714.127 183.048 711.543 181.664C709.005 180.233 706.951 178.179 705.382 175.503C703.813 172.78 703.028 169.527 703.028 165.743C703.028 161.912 703.813 158.659 705.382 155.982C706.951 153.306 709.005 151.275 711.543 149.891C714.127 148.46 716.873 147.745 719.78 147.745C722.688 147.745 725.41 148.46 727.948 149.891C730.487 151.275 732.54 153.306 734.109 155.982C735.678 158.659 736.463 161.912 736.463 165.743C736.463 169.527 735.678 172.78 734.109 175.503C732.54 178.179 730.487 180.233 727.948 181.664C725.41 183.048 722.688 183.74 719.78 183.74ZM719.78 175.503C721.857 175.503 723.426 174.626 724.487 172.872C725.549 171.073 726.079 168.696 726.079 165.743C726.079 162.743 725.549 160.366 724.487 158.613C723.426 156.859 721.857 155.982 719.78 155.982C717.657 155.982 716.065 156.859 715.004 158.613C713.989 160.366 713.481 162.743 713.481 165.743C713.481 168.696 713.989 171.073 715.004 172.872C716.065 174.626 717.657 175.503 719.78 175.503ZM743.433 182.91V148.575H751.739L752.432 154.598H752.708C753.954 152.29 755.454 150.583 757.208 149.475C758.961 148.322 760.715 147.745 762.469 147.745C763.438 147.745 764.245 147.814 764.892 147.952C765.538 148.045 766.091 148.206 766.553 148.437L764.892 157.228C764.292 157.044 763.692 156.905 763.092 156.813C762.538 156.721 761.892 156.674 761.154 156.674C759.861 156.674 758.5 157.159 757.069 158.128C755.685 159.051 754.531 160.666 753.608 162.974V182.91H743.433ZM780.579 183.74C778.318 183.74 775.987 183.302 773.588 182.425C771.234 181.548 769.18 180.395 767.427 178.964L771.995 172.596C773.565 173.749 775.064 174.649 776.495 175.295C777.972 175.895 779.425 176.195 780.856 176.195C782.379 176.195 783.486 175.941 784.179 175.434C784.871 174.88 785.217 174.165 785.217 173.288C785.217 172.503 784.871 171.857 784.179 171.35C783.533 170.842 782.679 170.38 781.617 169.965C780.556 169.504 779.425 169.042 778.225 168.581C776.841 168.027 775.457 167.335 774.072 166.504C772.734 165.673 771.603 164.612 770.68 163.32C769.757 161.981 769.296 160.366 769.296 158.474C769.296 155.29 770.496 152.706 772.895 150.721C775.341 148.737 778.525 147.745 782.448 147.745C785.079 147.745 787.386 148.206 789.37 149.129C791.401 150.006 793.131 150.998 794.562 152.106L789.993 158.197C788.793 157.274 787.594 156.559 786.394 156.051C785.194 155.544 783.994 155.29 782.794 155.29C780.164 155.29 778.848 156.19 778.848 157.99C778.848 159.097 779.495 159.951 780.787 160.551C782.125 161.105 783.671 161.705 785.425 162.351C786.901 162.858 788.332 163.527 789.716 164.358C791.147 165.143 792.324 166.204 793.247 167.542C794.216 168.834 794.7 170.542 794.7 172.665C794.7 175.757 793.501 178.387 791.101 180.556C788.701 182.679 785.194 183.74 780.579 183.74Z" fill="#E7E7E7"/>
<path d="M394.458 245V210.279H399.751L406.42 228.804C406.843 230.004 407.249 231.221 407.637 232.456C408.061 233.656 408.484 234.855 408.907 236.055H409.119C409.543 234.855 409.931 233.656 410.284 232.456C410.672 231.221 411.077 230.004 411.501 228.804L418.064 210.279H423.41V245H419.281V225.893C419.281 224.34 419.352 222.629 419.493 220.759C419.634 218.853 419.758 217.142 419.864 215.625H419.652L416.9 223.511L410.336 241.507H407.425L400.862 223.511L398.11 215.625H397.898C398.004 217.142 398.11 218.853 398.216 220.759C398.357 222.629 398.428 224.34 398.428 225.893V245H394.458ZM435.296 245V210.279H439.689V241.242H454.879V245H435.296ZM486.029 245.635C483.594 245.635 481.336 245.176 479.254 244.259C477.172 243.306 475.373 242.054 473.855 240.501L476.502 237.431C477.737 238.737 479.183 239.795 480.842 240.607C482.536 241.383 484.282 241.771 486.082 241.771C488.375 241.771 490.157 241.26 491.428 240.236C492.698 239.178 493.333 237.802 493.333 236.108C493.333 234.908 493.068 233.956 492.539 233.25C492.045 232.544 491.357 231.944 490.475 231.45C489.628 230.956 488.658 230.462 487.564 229.968L482.588 227.798C481.495 227.34 480.401 226.74 479.307 225.999C478.248 225.258 477.349 224.305 476.608 223.141C475.902 221.976 475.549 220.547 475.549 218.853C475.549 217.089 476.008 215.519 476.925 214.143C477.878 212.731 479.183 211.637 480.842 210.861C482.5 210.05 484.37 209.644 486.452 209.644C488.534 209.644 490.457 210.05 492.221 210.861C493.986 211.637 495.485 212.661 496.72 213.931L494.339 216.789C493.28 215.766 492.098 214.972 490.792 214.407C489.522 213.807 488.075 213.508 486.452 213.508C484.512 213.508 482.941 213.966 481.742 214.884C480.577 215.801 479.995 217.036 479.995 218.589C479.995 219.683 480.277 220.6 480.842 221.341C481.442 222.047 482.183 222.629 483.065 223.088C483.947 223.546 484.847 223.97 485.764 224.358L490.687 226.475C492.027 227.04 493.227 227.728 494.286 228.539C495.38 229.316 496.244 230.286 496.879 231.45C497.514 232.579 497.832 234.009 497.832 235.738C497.832 237.572 497.356 239.248 496.403 240.766C495.45 242.248 494.092 243.43 492.327 244.312C490.563 245.194 488.464 245.635 486.029 245.635ZM512.556 245.635C510.403 245.635 508.604 245 507.157 243.73C505.745 242.424 505.04 240.625 505.04 238.331C505.04 235.508 506.292 233.356 508.798 231.874C511.338 230.356 515.343 229.298 520.812 228.698C520.812 227.604 520.654 226.563 520.336 225.575C520.054 224.587 519.524 223.793 518.748 223.193C518.007 222.558 516.931 222.241 515.52 222.241C514.038 222.241 512.644 222.523 511.338 223.088C510.033 223.652 508.868 224.287 507.845 224.993L506.151 221.976C507.351 221.2 508.815 220.459 510.544 219.753C512.309 219.012 514.214 218.642 516.261 218.642C519.401 218.642 521.677 219.612 523.088 221.553C524.5 223.458 525.205 226.016 525.205 229.227V245H521.606L521.236 241.93H521.077C519.877 242.918 518.554 243.783 517.107 244.524C515.696 245.265 514.179 245.635 512.556 245.635ZM513.826 242.142C515.061 242.142 516.225 241.842 517.319 241.242C518.413 240.642 519.577 239.795 520.812 238.702V231.556C516.543 232.085 513.544 232.879 511.815 233.938C510.121 234.997 509.274 236.355 509.274 238.013C509.274 239.46 509.715 240.519 510.597 241.189C511.479 241.824 512.556 242.142 513.826 242.142ZM536.421 245V222.823H532.928V219.541L536.421 219.277V215.201C536.421 212.59 537.021 210.526 538.221 209.009C539.456 207.456 541.361 206.68 543.937 206.68C544.749 206.68 545.525 206.768 546.266 206.944C547.007 207.086 547.66 207.28 548.224 207.527L547.272 210.861C546.319 210.438 545.349 210.226 544.361 210.226C541.961 210.226 540.761 211.884 540.761 215.201V219.277H546.213V222.823H540.761V245H536.421ZM563.427 245.635C561.133 245.635 559.051 245.106 557.181 244.047C555.311 242.953 553.829 241.401 552.735 239.39C551.641 237.378 551.095 234.979 551.095 232.191C551.095 229.368 551.641 226.951 552.735 224.94C553.864 222.929 555.311 221.376 557.075 220.282C558.84 219.189 560.692 218.642 562.633 218.642C565.915 218.642 568.437 219.735 570.202 221.923C572.001 224.111 572.901 227.04 572.901 230.709C572.901 231.168 572.883 231.627 572.848 232.085C572.848 232.509 572.813 232.879 572.742 233.197H555.382C555.558 235.914 556.405 238.084 557.922 239.707C559.475 241.33 561.486 242.142 563.956 242.142C565.191 242.142 566.32 241.965 567.344 241.613C568.402 241.224 569.408 240.73 570.361 240.131L571.895 242.989C570.802 243.694 569.549 244.312 568.138 244.841C566.761 245.37 565.191 245.635 563.427 245.635ZM555.329 230.074H569.09C569.09 227.463 568.526 225.487 567.397 224.146C566.303 222.77 564.75 222.082 562.739 222.082C560.939 222.082 559.316 222.788 557.869 224.199C556.458 225.575 555.611 227.534 555.329 230.074ZM581.639 245V219.277H585.238L585.609 223.934H585.768C586.65 222.311 587.726 221.023 588.996 220.071C590.267 219.118 591.625 218.642 593.072 218.642C594.095 218.642 595.013 218.818 595.824 219.171L594.977 222.982C594.554 222.841 594.166 222.735 593.813 222.664C593.46 222.594 593.019 222.558 592.49 222.558C591.396 222.558 590.249 222.999 589.049 223.882C587.885 224.764 586.862 226.299 585.979 228.486V245H581.639ZM615.772 245V210.279H635.779V213.984H620.165V225.734H633.397V229.439H620.165V245H615.772ZM653.164 245.635C651.082 245.635 649.124 245.106 647.289 244.047C645.489 242.989 644.025 241.454 642.896 239.443C641.802 237.431 641.255 235.014 641.255 232.191C641.255 229.298 641.802 226.846 642.896 224.834C644.025 222.823 645.489 221.288 647.289 220.229C649.124 219.171 651.082 218.642 653.164 218.642C655.281 218.642 657.239 219.171 659.039 220.229C660.839 221.288 662.285 222.823 663.379 224.834C664.508 226.846 665.073 229.298 665.073 232.191C665.073 235.014 664.508 237.431 663.379 239.443C662.285 241.454 660.839 242.989 659.039 244.047C657.239 245.106 655.281 245.635 653.164 245.635ZM653.164 242.036C655.387 242.036 657.169 241.136 658.51 239.337C659.886 237.502 660.574 235.12 660.574 232.191C660.574 229.227 659.886 226.828 658.51 224.993C657.169 223.158 655.387 222.241 653.164 222.241C650.976 222.241 649.194 223.158 647.818 224.993C646.442 226.828 645.754 229.227 645.754 232.191C645.754 235.12 646.442 237.502 647.818 239.337C649.194 241.136 650.976 242.036 653.164 242.036ZM674.229 245V219.277H677.828L678.199 223.934H678.357C679.24 222.311 680.316 221.023 681.586 220.071C682.856 219.118 684.215 218.642 685.662 218.642C686.685 218.642 687.602 218.818 688.414 219.171L687.567 222.982C687.144 222.841 686.755 222.735 686.403 222.664C686.05 222.594 685.609 222.558 685.079 222.558C683.986 222.558 682.839 222.999 681.639 223.882C680.475 224.764 679.451 226.299 678.569 228.486V245H674.229ZM714.342 225.575L712.701 230.868H723.128L721.488 225.575C720.852 223.635 720.253 221.711 719.688 219.806C719.123 217.865 718.559 215.889 717.994 213.878H717.783C717.253 215.889 716.706 217.865 716.142 219.806C715.577 221.711 714.977 223.635 714.342 225.575ZM703.757 245L715.507 210.279H720.482L732.232 245H727.521L724.24 234.414H711.59L708.255 245H703.757ZM743.715 245.635C742.092 245.635 740.909 245.141 740.168 244.153C739.463 243.13 739.11 241.683 739.11 239.813V207.315H743.45V240.131C743.45 240.801 743.574 241.295 743.821 241.613C744.068 241.895 744.35 242.036 744.667 242.036C744.809 242.036 744.932 242.036 745.038 242.036C745.179 242.001 745.373 241.965 745.62 241.93L746.202 245.212C745.92 245.353 745.585 245.459 745.197 245.529C744.809 245.6 744.315 245.635 743.715 245.635ZM759.587 245.635C757.964 245.635 756.782 245.141 756.041 244.153C755.335 243.13 754.982 241.683 754.982 239.813V207.315H759.322V240.131C759.322 240.801 759.446 241.295 759.693 241.613C759.94 241.895 760.222 242.036 760.54 242.036C760.681 242.036 760.804 242.036 760.91 242.036C761.051 242.001 761.245 241.965 761.492 241.93L762.075 245.212C761.792 245.353 761.457 245.459 761.069 245.529C760.681 245.6 760.187 245.635 759.587 245.635Z" fill="#E3E3E3"/>
<path d="M398.763 159.777L416.939 167.071C417.462 167.28 417.91 167.641 418.226 168.106C418.543 168.572 418.713 169.121 418.717 169.684C418.72 170.247 418.555 170.798 418.243 171.267C417.932 171.736 417.488 172.101 416.967 172.316L391.9 182.694C391.207 182.981 390.427 182.981 389.734 182.694L364.664 172.319C364.144 172.104 363.699 171.738 363.388 171.269C363.076 170.801 362.912 170.25 362.915 169.687C362.918 169.124 363.088 168.575 363.405 168.109C363.721 167.644 364.17 167.283 364.692 167.073L383.188 159.652C384.247 159.228 387.595 160.474 390.816 160.485C394.257 160.496 397.577 159.301 398.763 159.777ZM373.252 169.742L390.816 177.012L408.382 169.742L390.816 162.692L373.252 169.742ZM391.872 140.018L416.939 150.076C417.462 150.286 417.91 150.646 418.226 151.112C418.543 151.577 418.713 152.126 418.717 152.689C418.72 153.252 418.555 153.803 418.243 154.272C417.932 154.741 417.488 155.106 416.967 155.322L391.9 165.7C391.207 165.987 390.427 165.987 389.734 165.7L364.664 155.324C364.144 155.109 363.699 154.744 363.388 154.275C363.076 153.806 362.912 153.255 362.915 152.692C362.918 152.129 363.088 151.58 363.405 151.114C363.721 150.649 364.17 150.288 364.692 150.079L389.759 140.018C390.437 139.745 391.194 139.745 391.872 140.018ZM373.252 152.747L390.816 160.018L408.382 152.747L390.816 145.697L373.252 152.747Z" fill="#E7E7E7"/>
</svg>