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

Chilliwiddit
/
Openi-llama3.1-8B-WeightedLoss-small1

Summarization
PEFT
Safetensors
Transformers
English
lora
Model card Files Files and versions
xet
Community

Instructions to use Chilliwiddit/Openi-llama3.1-8B-WeightedLoss-small1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Chilliwiddit/Openi-llama3.1-8B-WeightedLoss-small1 with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("unsloth/Meta-Llama-3.1-8B-bnb-4bit")
    model = PeftModel.from_pretrained(base_model, "Chilliwiddit/Openi-llama3.1-8B-WeightedLoss-small1")
  • Transformers

    How to use Chilliwiddit/Openi-llama3.1-8B-WeightedLoss-small1 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="Chilliwiddit/Openi-llama3.1-8B-WeightedLoss-small1")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Chilliwiddit/Openi-llama3.1-8B-WeightedLoss-small1", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Openi-llama3.1-8B-WeightedLoss-small1
353 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Chilliwiddit's picture
Chilliwiddit
Update README.md
b2521b9 verified 8 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 8 months ago
  • README.md
    772 Bytes
    Update README.md 8 months ago
  • adapter_config.json
    1.03 kB
    Update adapter_config.json 8 months ago
  • adapter_model.safetensors
    336 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • special_tokens_map.json
    459 Bytes
    Upload folder using huggingface_hub 8 months ago
  • tokenizer.json
    17.2 MB
    xet
    Upload folder using huggingface_hub 8 months ago
  • tokenizer_config.json
    50.6 kB
    Upload folder using huggingface_hub 8 months ago