CoolFace
Modelpublic

kevintran0310/Llama-3.2-3B-Darkweb-Classifier

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes10downloads
Model Card

Model Card for Model ID

This model is a fine-tuned version of the meta-llama/Llama-3.1-8B-Instruct model, specialized in classifying textual content from dark web sources into a range of illicit and non-illicit content categories. The model was trained using QLoRA and PEFT for efficient low-resource finetuning.

Model Details

Model Description

This model was developed to identify and classify various dark web content categories, such as Cryptocurrency, DrugsIllegal, PornoChild-pornography, Hosting_Software, and many others. The training prompts follow a few-shot format that helps the LLM understand the classification context clearly.

This is the model card of a ๐Ÿค— transformers model that has been pushed on the Hub. This model card has been automatically generated.

  • โ€”Developed by: [Quoc Khoa Tran]
  • โ€”Funded by [optional]: [Monash University]
  • โ€”Shared by [optional]: [More Information Needed]
  • โ€”Model type: [Causal Language Model (LLM for classification via instruction following)]
  • โ€”Language(s) (NLP): [Multi-languages]
  • โ€”License: [Apache 2.0 (inherited from base model)]
  • โ€”Finetuned from model [optional]: [meta-llama/Llama-3.1-8B-Instruct]

Model Sources [optional]

<!-- Provide the basic links for the model. -->

  • โ€”Repository: [More Information Needed]
  • โ€”Paper [optional]: [More Information Needed]
  • โ€”Demo [optional]: [More Information Needed]

Uses

<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->

Direct Use

This model is designed to be used as a text classification tool to label scraped or user-submitted content from dark web sources into pre-defined categories.

[More Information Needed]

Downstream Use [optional]

Integration into security monitoring systems

Filtering or tagging content for moderation

Academic research on illicit activity classification

[More Information Needed]

Out-of-Scope Use

Real-time moderation of critical systems without human oversight

Classifying general-purpose content outside of dark web contexts

[More Information Needed]

Bias, Risks, and Limitations

The model may incorrectly classify borderline or ambiguous content.

Imbalanced categories in training may bias predictions toward certain classes.

Misuse may lead to false positives in sensitive applications (e.g., legal enforcement).

[More Information Needed]

Recommendations

Always use human review in high-risk scenarios.

Evaluate the model in your own context before deployment.

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.

How to Get Started with the Model

Use the code below to get started with the model.

[More Information Needed]

Training Details

Training Data

The dataset consists of 4,178 samples of scraped text from dark web pages, each labeled with one of 40+ content categories (e.g., HostingFile-sharing, ViolenceWeapons, Social-Network_Blog).

[More Information Needed]

Training Procedure

<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->

Preprocessing [optional]

[More Information Needed]

Training Hyperparameters
  • โ€”Training regime: [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
Speeds, Sizes, Times [optional]

<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->

[More Information Needed]

Evaluation

<!-- This section describes the evaluation protocols and provides the results. -->

Testing Data, Factors & Metrics

Testing Data

<!-- This should link to a Dataset Card if possible. -->

[More Information Needed]

Factors

<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->

[More Information Needed]

Metrics

<!-- These are the evaluation metrics being used, ideally with a description of why. -->

[More Information Needed]

Results

[More Information Needed]

Summary

Model Examination [optional]

<!-- Relevant interpretability work for the model goes here -->

[More Information Needed]

Environmental Impact

<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • โ€”Hardware Type: [More Information Needed]
  • โ€”Hours used: [More Information Needed]
  • โ€”Cloud Provider: [More Information Needed]
  • โ€”Compute Region: [More Information Needed]
  • โ€”Carbon Emitted: [More Information Needed]

Technical Specifications [optional]

Model Architecture and Objective

[More Information Needed]

Compute Infrastructure

[More Information Needed]

Hardware

[More Information Needed]

Software

[More Information Needed]

Citation [optional]

<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->

BibTeX:

[More Information Needed]

APA:

[More Information Needed]

Glossary [optional]

<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->

[More Information Needed]

More Information [optional]

[More Information Needed]

Model Card Authors [optional]

[More Information Needed]

Model Card Contact

[More Information Needed]