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

NiCEtmtm
/
llama3_torch

Summarization
Transformers
PyTorch
English
llama
text-generation
unsloth
text-generation-inference
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use NiCEtmtm/llama3_torch with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" 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("summarization", model="NiCEtmtm/llama3_torch")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("NiCEtmtm/llama3_torch")
    model = AutoModelForCausalLM.from_pretrained("NiCEtmtm/llama3_torch")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use NiCEtmtm/llama3_torch 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 NiCEtmtm/llama3_torch 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 NiCEtmtm/llama3_torch to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for NiCEtmtm/llama3_torch to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="NiCEtmtm/llama3_torch",
        max_seq_length=2048,
    )
llama3_torch
5.71 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
NiCEtmtm's picture
NiCEtmtm
Update handler.py
88e7970 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    66 Bytes
    Create README.md almost 2 years ago
  • config.json
    1.2 kB
    Upload 4 files almost 2 years ago
  • handler.py
    1.37 kB
    Update handler.py almost 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (5)

    • "torch.ByteStorage",
    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.HalfStorage"

    What is a pickle import?

    5.7 GB
    xet
    Upload pytorch_model.bin almost 2 years ago
  • requirements.txt
    216 Bytes
    Upload requirements.txt almost 2 years ago
  • special_tokens_map.json
    464 Bytes
    Upload 4 files almost 2 years ago
  • tokenizer.json
    9.09 MB
    Upload 4 files almost 2 years ago
  • tokenizer_config.json
    50.6 kB
    Upload 4 files almost 2 years ago