Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

xtuner
/
llava-phi-3-mini-hf

Image-to-Text
Transformers
Safetensors
llava
image-text-to-text
Model card Files Files and versions
xet
Community

Instructions to use xtuner/llava-phi-3-mini-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use xtuner/llava-phi-3-mini-hf 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="xtuner/llava-phi-3-mini-hf")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForImageTextToText
    
    processor = AutoProcessor.from_pretrained("xtuner/llava-phi-3-mini-hf")
    model = AutoModelForImageTextToText.from_pretrained("xtuner/llava-phi-3-mini-hf")
  • Notebooks
  • Google Colab
  • Kaggle
llava-phi-3-mini-hf
8.3 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 10 commits
LZHgrla's picture
LZHgrla
Update README.md
218fa56 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    5.74 kB
    Update README.md about 2 years ago
  • added_tokens.json
    978 Bytes
    initial commit about 2 years ago
  • config.json
    1.11 kB
    Update config.json about 2 years ago
  • generation_config.json
    140 Bytes
    initial commit about 2 years ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    initial commit about 2 years ago
  • model-00002-of-00002.safetensors
    3.31 GB
    xet
    initial commit about 2 years ago
  • model.safetensors.index.json
    70.1 kB
    initial commit about 2 years ago
  • preprocessor_config.json
    819 Bytes
    initial commit about 2 years ago
  • special_tokens_map.json
    615 Bytes
    initial commit about 2 years ago
  • tokenizer.json
    1.85 MB
    initial commit about 2 years ago
  • tokenizer.model
    500 kB
    xet
    initial commit about 2 years ago
  • tokenizer_config.json
    8.45 kB
    initial commit about 2 years ago