Git Product home page Git Product logo

dacon-hansol-deco-challenge's Introduction

Logo

Hansol Deco Season 2 AI Contest:
Handling questions and answers about wallpaper defects

RAG Approach used to participate in Dacon Hansol Deco Challenge 2024. Please refer to https://dacon.io/competitions/official/236216/overview/description for more information about the competition.

Installation

conda create -n hansolrag-env python=3.9
conda activate hansolrag-env
pip install git+https://github.com/bibekyess/dacon-hansol-deco-challenge.git
git clone https://github.com/bibekyess/dacon-hansol-deco-challenge.git
cd dacon-hansol-deco-challenge

Inference

hansolrag --text "면진장치가 뭐야?"
hansolrag --file hansolrag/data/mini_test.csv --output-file hansolrag/deliverable/mini_test_result.json 
hansolrag --file hansolrag/data/test.csv --output-file hansolrag/deliverable/test_result.json --submission-file hansolrag/deliverable/test_result.csv

Config

Please look at the hansolrag/config/config.yaml and change the config as per your preference.

In the config, you can see there are three generation-model modes: skt/kogpt2-base-v2 is used for quick debugging and testing purposes. The results are not satisfactory using this model.

For the best results using CPU, please download gemma-2b-it-GGUF from https://huggingface.co/google/gemma-2b-it-GGUF and put it under this directory structure hansolrag/model_checkpoints/gemma/gemma-2b-it.gguf.

For the best results with GPU, we are using SOTA OrionStarAI/Orion-14B-Chat-Int4. Just uncomment the respective portion and run.

dacon-hansol-deco-challenge's People

Contributors

bibekyess avatar

Watchers

 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.