tried using tinyllama because it is the smallest llm on ollama, but it gave stragne results tried llama3.3, but it was too large and took too long found gemma2 took direction well and worked well
Creating folders for data input and data output so that the code can be shared without sharing the actual data. I recieved access to three journals through my institution, but I am sharing the code and documentation for how I processed the information from the journals.
graph TD
A[Start] --> B((Read CSV/Excel File))
B --> C[Initialize Responses List]
C --> D{Loop Through Runs}
D --> E[Run 1]
D --> F[Run 2]
D --> G[Run N]
E --> H{Loop Through Rows}
F --> H
G --> H
H --> I[Append Title and Abstract]
I --> J[Generate User Content]
J --> K[Send to AI Model]
K --> L[Receive Response]
L --> M[Append Response to List]
M --> H
H --> N[Ensure Correct Number of Elements]
N --> O[Create DataFrame]
O --> P[Write to Excel File]
P --> Q[End]
style A fill:#f9f,stroke:#333,stroke-width:4px
style B fill:#bbf,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
style C fill:#afa,stroke:#333,stroke-width:2px
style D fill:#ff9,stroke:#333,stroke-width:2px
style E fill:#f96,stroke:#333,stroke-width:2px
style F fill:#f96,stroke:#333,stroke-width:2px
style G fill:#f96,stroke:#333,stroke-width:2px
style H fill:#9f9,stroke:#333,stroke-width:2px
style I fill:#9cf,stroke:#333,stroke-width:2px
style J fill:#9cf,stroke:#333,stroke-width:2px
style K fill:#9cf,stroke:#333,stroke-width:2px
style L fill:#9cf,stroke:#333,stroke-width:2px
style M fill:#9cf,stroke:#333,stroke-width:2px
style N fill:#9cf,stroke:#333,stroke-width:2px
style O fill:#9cf,stroke:#333,stroke-width:2px
style P fill:#9cf,stroke:#333,stroke-width:2px
style Q fill:#f9f,stroke:#333,stroke-width:4px