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

advy
/
Qwen2.5-0.5B-hate-classifier

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

Instructions to use advy/Qwen2.5-0.5B-hate-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use advy/Qwen2.5-0.5B-hate-classifier with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("Qwen/Qwen2.5-0.5B")
    model = PeftModel.from_pretrained(base_model, "advy/Qwen2.5-0.5B-hate-classifier")
  • Transformers

    How to use advy/Qwen2.5-0.5B-hate-classifier with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("advy/Qwen2.5-0.5B-hate-classifier", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Qwen2.5-0.5B-hate-classifier
20.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
advy's picture
advy
End of training
3da810d verified 8 months ago
  • .gitattributes
    1.57 kB
    Training in progress, epoch 1 8 months ago
  • README.md
    1.64 kB
    End of training 8 months ago
  • adapter_config.json
    880 Bytes
    Training in progress, epoch 1 8 months ago
  • adapter_model.safetensors
    4.35 MB
    xet
    Training in progress, epoch 5 8 months ago
  • added_tokens.json
    605 Bytes
    Training in progress, epoch 1 8 months ago
  • merges.txt
    1.67 MB
    Training in progress, epoch 1 8 months ago
  • special_tokens_map.json
    616 Bytes
    Training in progress, epoch 1 8 months ago
  • tokenizer.json
    11.4 MB
    xet
    Training in progress, epoch 1 8 months ago
  • tokenizer_config.json
    7.23 kB
    Training in progress, epoch 1 8 months ago
  • training_args.bin

    Detected Pickle imports (9)

    • "transformers.trainer_utils.SchedulerType",
    • "accelerate.state.PartialState",
    • "torch.device",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.training_args.TrainingArguments"

    How to fix it?

    5.78 kB
    xet
    Training in progress, epoch 1 8 months ago
  • vocab.json
    2.78 MB
    Training in progress, epoch 1 8 months ago