Git Product home page Git Product logo

shopee's Introduction

References

Workflow

Install the kaggle command line

Local

  • Add new functions to shopee_text_module.py, shopee_image_module.py, shopee_search_module.py
  • Modify main.py in order incorporate new functions if needed
    • Set COMPUTE_CV = True if you want to compute the score on the training set
    • Set TEST_MEMORY_ERROR = True to test your code with the training set x2
    • Set QUICK_TEST = True to test your code with a dataset of 4096 rows
  • Commit and push your changes with git

Push new functions to Kaggle

  • kaggle kernels push -p kaggle_scripts/config/text if your made only changes to shopee_text_module.py.
  • kaggle kernels push -p kaggle_scripts/config/image if your made only changes to shopee_image_module.py.
  • kaggle kernels push -p kaggle_scripts/config/search if your made only changes to shopee_search_module.py.
  • ./upload_utility_scripts.sh if you made changes to 3 modules.
  • You should wait a bit (max 30 seconds) to have your new versions available in Kaggle.

Push your new main.py to Kaggle

  • Edit main.py
    • Set COMPUTE_VC = False
    • Set TEST_MEMORY_ERROR = False
    • Set QUICK_TEST = False
  • Edit kernel-metadata.json
    • Set an appropriate name for id, replace duccao with your username
    • title is the same as id (but having <username>/ removed)
    • Add new datasets to dataset_sources if needed
  • kaggle kernels push

Resources

Ideas

Unsupervisied

  • FAISS index
  • Title clusters using SentenceTransformers

Supervised

  • Study multimodal models
  • Identify suitable loss function(s)

Pre-trained

Fine-tuning

  • SentenceTransformers on pairs of titles from the same label_group

Experiment management

  • MLFlow

EDA

Train set labels

  • [Remarks]
    • /!\ 53% of target have length equal to 51 -> there are 50 duplicates + row itself
  • Baseline scores:
    • [Each row in its own group]
    F1 = 0.4608
    Precision:  1.0000
    Recall:  0.3216
    
    • [Duplicates based on phash]
    F1 = 0.5531
    Precision:  0.9941
    Recall:  0.4222
    
    phash can be used as a first filter (<1% False Positives)

Text

  • [TEXT]
    • [BIG SALE] Timbangan Dapur Digital Kitchen Scale SF-400 Murah
    • [Mizan] The Montessori Toddler
    • [ORIGINAL] MS Glow Paket Wajah
  • Product models, e.g., "Tempered Glass OPPO A37/F1S/A3S/A5S/A7/A1K/A5 2020/A9 2020/A83/A57/A39/A71/F5/F7/F9/F11/F11 PRO"
  • Brands, e.g., Xiaomi in "Xiaomi Redmi Note 9 9s 8 7 10X Pro 5G 4G Camera Lens Tempered Glass Screen Protector"
  • Units, e.g., 50 Sheets in "Bantex Loose Leaf Paper B5 80 gsm 50 Sheets - 26 Holes 8600 00"

shopee's People

Contributors

tienduccao avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.