pdf-to-table / config /model_config.yml
regraded01's picture
rename: prompt_template_string to template
10c623f
raw
history blame
633 Bytes
system_message: "Your role is to take PDF documents and extract their raw text into a JSON format that can be uploaded into a database. Return the JSON only. For example if you need to extract information about a report written on 2nd February 2011 with an author called Jane Mary then return this only: {'report_written_date': '02/02/2011', 'author_name': 'Jane Mary'} Another example would be a clinical exam passed by a student on the 3rd of July 2022 would return this only: {'result' : 'pass', 'date_of_exam' : '03/07/2022'}"
template: "System: {system_message}\nUser: {user_message}"
model_id: "meta-llama/Llama-2-70b-chat-hf"