Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

HillZhang
/
untruthful_baichuan2_7b

Feature Extraction
Transformers
PyTorch
English
baichuan
text-generation-inference
English
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use HillZhang/untruthful_baichuan2_7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use HillZhang/untruthful_baichuan2_7b with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="HillZhang/untruthful_baichuan2_7b", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("HillZhang/untruthful_baichuan2_7b", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
untruthful_baichuan2_7b
15 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
HillZhang's picture
HillZhang
init
8876d7a almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    609 Bytes
    init almost 3 years ago
  • config.json
    972 Bytes
    init almost 3 years ago
  • configuration_baichuan.py
    2.38 kB
    init almost 3 years ago
  • generation_config.json
    132 Bytes
    init almost 3 years ago
  • generation_utils.py
    2.97 kB
    init almost 3 years ago
  • modeling_baichuan.py
    32.9 kB
    init almost 3 years ago
  • pytorch_model-00001-of-00002.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.BFloat16Storage",
    • "collections.OrderedDict"

    What is a pickle import?

    9.93 GB
    xet
    init almost 3 years ago
  • pytorch_model-00002-of-00002.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.BFloat16Storage",
    • "collections.OrderedDict"

    What is a pickle import?

    5.08 GB
    xet
    init almost 3 years ago
  • pytorch_model.bin.index.json
    18.7 kB
    init almost 3 years ago
  • quantizer.py
    9.07 kB
    init almost 3 years ago
  • special_tokens_map.json
    548 Bytes
    init almost 3 years ago
  • tokenization_baichuan.py
    9.61 kB
    init almost 3 years ago
  • tokenizer.model
    2 MB
    xet
    init almost 3 years ago
  • tokenizer_config.json
    1 kB
    init almost 3 years ago