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

BarraHome
/
zephyr-dpo-v2

Text Classification
Transformers
Safetensors
English
Spanish
mistral
text-generation
text-generation-inference
unsloth
trl
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use BarraHome/zephyr-dpo-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use BarraHome/zephyr-dpo-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="BarraHome/zephyr-dpo-v2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("BarraHome/zephyr-dpo-v2")
    model = AutoModelForCausalLM.from_pretrained("BarraHome/zephyr-dpo-v2")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use BarraHome/zephyr-dpo-v2 with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for BarraHome/zephyr-dpo-v2 to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for BarraHome/zephyr-dpo-v2 to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for BarraHome/zephyr-dpo-v2 to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="BarraHome/zephyr-dpo-v2",
        max_seq_length=2048,
    )
zephyr-dpo-v2
14.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
BarraHome's picture
BarraHome
leaderboard-pr-bot's picture
leaderboard-pr-bot
Adding Evaluation Results (#1)
984d76c verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    3.97 kB
    Adding Evaluation Results (#1) about 2 years ago
  • config.json
    673 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • generation_config.json
    111 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • model-00001-of-00003.safetensors
    4.94 GB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model-00002-of-00003.safetensors
    5 GB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model-00003-of-00003.safetensors
    4.54 GB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model.safetensors.index.json
    24 kB
    Upload folder using huggingface_hub over 2 years ago
  • special_tokens_map.json
    624 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer.json
    1.8 MB
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer.model
    493 kB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • tokenizer_config.json
    1.48 kB
    Upload folder using huggingface_hub over 2 years ago