I am presently working on a project. So a dear friend of mine is in an accounting firm. I saw a problem that involved too much of human effort. Like the guys would read bank statement, categorize entries in excel file, recheck debit and credit total with the total given in the statement and then enter in their system (quickbooks and excel files). I came up with an idea to use privateGPT after watching some videos to read their bank statements and give the desired output. That way much of the reading and organization time will be finished. So questions are as follows: Has anyone been able to fine tune privateGPT to give tabular or csv or json style output? Any links to article of exact video since I have been getting generic info. How can we save the desired output of private GPT to a csv? I was looking for something like $Python3 privategpt.py -m "What is the closing balance of $1" -i xyz.pdf >> ABC.txt where -i would mean input file and -m would mean prompt. This works only when I have the output fine tuned to the way I want. Does private GPT have model stacking capabilities? I want to expand this to reading scanned bank statements. how to finetune responses of Private GPT. For instance I just want the closing balance or sum of debit and credit transaction, not the extra info. How to remove extra details? Moreover how can we save the responses to txt file? Tried various video tutorials and docs. It did not cover the issue
How to fine tune output of PrivateGPT on CSV or PDF file to get only requisite word or numbers so as to save it in a txt file
706 Views Asked by SAGE KHAN At
1
There are 1 best solutions below
Related Questions in NLP
- command line parameter in word2vec
- Annotator dependencies: UIMA Type Capabilities?
- term frequency over time: how to plot +200 graphs in one plot with Python/pandas/matplotlib?
- Stanford Entity Recognizer (caseless) in Python Nltk
- How to interpret scikit's learn confusion matrix and classification report?
- Detect (predefined) topics in natural text
- Amazon Machine Learning for sentiment analysis
- How to Train an Input File containing lines of text in NLTK Python
- What exactly is the difference between AnalysisEngine and CAS Consumer?
- keywords in NEGATIVE Sentiment using sentiment Analysis(stanfordNLP)
- MaxEnt classifier implementation in java for linguistic features?
- Are word-vector orientations universal?
- Stanford Parser - Factored model and PCFG
- Training a Custom Model using Java Code - Stanford NER
- Topic or Tag suggestion algorithm
Related Questions in LARGE-LANGUAGE-MODEL
- Is it possible to fine tune or use RAG on the CoreML version of Llama2?
- Compare two strings by meaning using LLMs
- Implementation (and working) differences between AutoModelForCausalLMWithValueHead vs AutoModelForCausalLM?
- How do I know the right data format for different LLMs finetuning?
- I am trying to make a product which will reformat the answer using the question and Sql_answer as data
- CUDA OutOfMemoryError but free memory is always half of required memory in error message
- Query with my own data using langchain and pinecone
- Could not find a version that satisfies the requirement python-magic-bin
- Any possibility to increase performance of querying chromadb persisted locally
- Grid based decision making with Llama 2
- Methodology for Tracking Client Details in a Natural Language Bot using Langchain and RAG
- Filter langchain vector database using as_retriever search_kwargs parameter
- Exceeding LLM's maximum context length even using llama_index PromptHelper
- How can I re-train a LLaMA 2 Text Generation model into a Sequence-to-Sequence model?
- translation invariance of Rotary Embedding
Related Questions in NLP-QUESTION-ANSWERING
- How to validate free answers from exam
- Build a model that answers question from dataset using GPT3
- Evaluation metrics for multiple correct answers in QA problem system
- Is there any NLP question answering dataset with multiple answers?
- My checkpoint albert files does not change when training
- how to get short natural answers from internet?
- I am trying to make a product which will reformat the answer using the question and Sql_answer as data
- How to evaluate Retriever in Haystack python using retriever.eval() method
- Simple Transformer Question Answer model error showing input should be list of examples
- Retrieve page from the PDF in PDF-chatbot using Langchain
- LLM Question answer models for yes or no answers
- Map_Reduce prompt with RetrievalQA Chain
- Langchain map_reduce can't load gpt2 tokenizer error
- How to implement Knowledge graph
- What Is this C# Code doing in algorithms?
Related Questions in PRIVATEGPT
- Run localGPT via pipenv instead of conda
- Trouble with PrivateGPT when using 'PGPT_PROFILES=local make run' command
- extra fields not permitted (type=value_error.extra) privateGPT
- extra fields not permitted (type=value_error.extra)
- Time Spatial Component for LangChain and Vector Databases?
- How to fine tune output of PrivateGPT on CSV or PDF file to get only requisite word or numbers so as to save it in a txt file
- Gradio UI is not displaying/working properly, how to fix that?
- Poetry: Poetry install -- with ui (ERROR: Group(s) not found: ui (via --with)
- Poetry is asking for me to install 2 dependancies, and each one deletes the others files
- Previous correct answer instead of creating a new one
- Cannot load persisted db using Chroma / Langchain
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Try this
You can also try
def save_to_text_file(answer): # Specify the file path where you want to save the text file file_path = "answer_output.txt"