Giter VIP home page Giter VIP logo

gpt4unito's Introduction

DOcuBot

Environment Setup

Prima di eseguire il codice installare le librerie richieste tramite il comando:

pip3 install -r requirements.txt

Creare una copia di "envprova.txt" e rinominarlo in ".env", Inserire i token richiesti, al momento si utilizza solo HUGGINGFACEHUB_API_TOKEN

per ottenere l'API di hugging face andare sul sito > login utente in alto a destra nel menù utente > Settings > Access Tokens creare un uovo token con permesso di lettura

Per avviare il server:

python main.py

Risoluzione problemi Word

in caso di errori dovuti alla lettura di documenti Word:

[nltk_data] Error loading punkt: <urlopen error [SSL: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed:

cercare 'Install Certificates.command' nella barra di ricerca e aprirlo eseguire il comando

Risoluzione problemi Odt

in caso di errori dovuti alla lettura di documenti Odt è necessario installare pandoc Pandoc è un convertitore di documenti universale Mac terminale:

brew install pandoc

Windows terminale oppure tramite zip:

choco install pandoc

Linux

sudo dpkg -i $DEB
ar p $DEB data.tar.gz | tar xvz --strip-components 2 -C $DEST

Modelli sperimentati con successo

  • google/flan-t5-xxl, temperature:0.1, max_new_tokens:512 (il migliore)
  • HuggingFaceH4/zephyr-7b-beta', temperatura:0.7, max_new_tokens:256 (buono)
  • google/flan-t5-large, temperature:0.9, max_new_tokens:250
  • google/flan-ul2, temperature:0.1, max_new_tokens:250
  • tiiuae/falcon-7b-instruct, temperature:0.9, max_new_tokens:2000 (in inglese e prende da internet)
  • EleutherAI/gpt-neox-20b, temperature:0.1, max_new_tokens: 200 (risponde male e troppo testo)

gpt4unito's People

Contributors

sazdg avatar settimogiacomo avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

settimogiacomo

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.