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

justshao
/
llama2-test

Text Classification
Transformers
Safetensors
llama
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use justshao/llama2-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use justshao/llama2-test with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="justshao/llama2-test")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("justshao/llama2-test")
    model = AutoModelForSequenceClassification.from_pretrained("justshao/llama2-test", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
llama2-test
13.3 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
justshao's picture
justshao
Upload model
b4f8c2c verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    24 Bytes
    initial commit over 2 years ago
  • adapter_config.json
    720 Bytes
    Upload model over 2 years ago
  • adapter_model.safetensors
    80 MB
    xet
    Upload model over 2 years ago
  • added_tokens.json
    21 Bytes
    Upload tokenizer over 2 years ago
  • config.json
    724 Bytes
    Upload LlamaForSequenceClassification over 2 years ago
  • model-00001-of-00003.safetensors
    4.94 GB
    xet
    Upload LlamaForSequenceClassification over 2 years ago
  • model-00002-of-00003.safetensors
    4.95 GB
    xet
    Upload LlamaForSequenceClassification over 2 years ago
  • model-00003-of-00003.safetensors
    3.33 GB
    xet
    Upload LlamaForSequenceClassification over 2 years ago
  • model.safetensors.index.json
    23.9 kB
    Upload LlamaForSequenceClassification over 2 years ago
  • special_tokens_map.json
    552 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer over 2 years ago
  • tokenizer.model
    500 kB
    xet
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    1.09 kB
    Upload tokenizer over 2 years ago