Skip to content
/ TACLR Public

TACLR: A Scalable and Efficient Retrieval-based Method for Industrial Product Attribute Value Identification

License

Notifications You must be signed in to change notification settings

SuYindu/TACLR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TACLR: A Scalable and Efficient Retrieval-based Method for Industrial Product Attribute Value Identification

Quick Start

Multi-label Classification

accelerate launch \
    --config_file configs/accelerate_config_4gpu.yaml \
    main.py \
    --config configs/roberta_classification_config.yaml

Zero-shot Generation

# Qwen-based zero-shot inference
accelerate launch \
    --config_file configs/accelerate_config_4gpu.yaml \
    main.py \
    --config configs/qwen_zero_shot_config.yaml

# LLaMA-based zero-shot inference
accelerate launch \
    --config_file configs/accelerate_config_4gpu.yaml \
    main.py \
    --config configs/llama_zero_shot_config.yaml

Few-shot Generation

# Qwen-based few-shot learning
accelerate launch \
    --config_file configs/accelerate_config_4gpu.yaml \
    main.py \
    --config configs/qwen_few_shot_config.yaml

# LLaMA-based few-shot learning
accelerate launch \
    --config_file configs/accelerate_config_4gpu.yaml \
    main.py \
    --config configs/llama_few_shot_config.yaml

Fine-tuned Generation

# Qwen fine-tuning
accelerate launch \
    --config_file configs/accelerate_config_4gpu.yaml \
    main.py \
    --config configs/qwen_fine_tune_config.yaml

# LLaMA fine-tuning
accelerate launch \
    --config_file configs/accelerate_config_4gpu.yaml \
    main.py \
    --config configs/llama_fine_tune_config.yaml

About

TACLR: A Scalable and Efficient Retrieval-based Method for Industrial Product Attribute Value Identification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages