Companion repository for: ChatGPT for Textual Analysis? How to use Generative LLMs in Accounting Research Paper link: SSRN Table of contents 1. Online Appendix SSRN 2. Code examples OpenAI API - zero-shot with ChatGPT/GPT-4 OpenAI API - fine-tuning OpenAI API - ChatGPT/GPT-4 speed optimization Replicate - zero-shot with LlaMa2 70b Vast.AI + Huggingface - zero-shot Runpod.ai + LlaMA-Factory + Deepspeed - fine-tuning Runpod.ai + VLLM -> Fast Inference 3. Paper dataset Not yet available 4. Full paper code Not yet available