Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sbintuitions
/
sarashina2-vision-8b

Image-to-Text
Transformers
Safetensors
Japanese
English
sarashina2_vision
text-generation
multimodal
vision-language
llama
qwen2_vl
custom_code
Model card Files Files and versions
xet
Community
2

Instructions to use sbintuitions/sarashina2-vision-8b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sbintuitions/sarashina2-vision-8b 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="sbintuitions/sarashina2-vision-8b", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("sbintuitions/sarashina2-vision-8b", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sarashina2-vision-8b
16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
toshi-456's picture
toshi-456
update modeling_sarashina2_vision.py
021aa10 verified over 1 year ago
  • .gitattributes
    1.57 kB
    update over 1 year ago
  • LICENSE
    1.07 kB
    update over 1 year ago
  • README.md
    5.44 kB
    Update README.md over 1 year ago
  • chat_template.json
    533 Bytes
    update over 1 year ago
  • config.json
    852 Bytes
    update over 1 year ago
  • configuration_sarashina2_vision.py
    2.92 kB
    update over 1 year ago
  • generation_config.json
    111 Bytes
    update over 1 year ago
  • model-00001-of-00002.safetensors
    9.99 GB
    xet
    update over 1 year ago
  • model-00002-of-00002.safetensors
    6 GB
    xet
    update over 1 year ago
  • model.safetensors.index.json
    53.9 kB
    update over 1 year ago
  • modeling_sarashina2_vision.py
    11.5 kB
    update modeling_sarashina2_vision.py over 1 year ago
  • preprocessor_config.json
    680 Bytes
    update over 1 year ago
  • processing_sarashina2_vision.py
    17.1 kB
    update over 1 year ago
  • processor_config.json
    150 Bytes
    update over 1 year ago
  • sample.jpg
    2.51 MB
    xet
    update over 1 year ago
  • special_tokens_map.json
    968 Bytes
    update over 1 year ago
  • tokenizer.json
    6.72 MB
    update over 1 year ago
  • tokenizer.model
    1.83 MB
    xet
    update over 1 year ago
  • tokenizer_config.json
    4.46 kB
    update over 1 year ago