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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

mikewang
/
PVD-160k-Mistral-7b

Image-to-Text
Transformers
Safetensors
mistral
text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use mikewang/PVD-160k-Mistral-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mikewang/PVD-160k-Mistral-7b 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="mikewang/PVD-160k-Mistral-7b")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("mikewang/PVD-160k-Mistral-7b")
    model = AutoModelForCausalLM.from_pretrained("mikewang/PVD-160k-Mistral-7b")
  • Notebooks
  • Google Colab
  • Kaggle
PVD-160k-Mistral-7b
14.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
mikewang's picture
mikewang
nielsr's picture
nielsr HF Staff
Add library name and pipeline tag (#1)
f66bfef verified 12 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.69 kB
    Add library name and pipeline tag (#1) 12 months ago
  • added_tokens.json
    51 Bytes
    upload model about 2 years ago
  • config.json
    566 Bytes
    upload model about 2 years ago
  • generation_config.json
    111 Bytes
    upload model about 2 years ago
  • model.safetensors
    14.5 GB
    xet
    upload model about 2 years ago
  • special_tokens_map.json
    469 Bytes
    upload model about 2 years ago
  • tokenizer.json
    1.8 MB
    upload model about 2 years ago
  • tokenizer.model
    493 kB
    xet
    upload model about 2 years ago
  • tokenizer_config.json
    1.61 kB
    upload model about 2 years ago
  • tokenizer_config.json.bak
    1.34 kB
    upload model about 2 years ago