ajzhai / NeRF2Physics

[CVPR 2024] Physical Property Understanding from Language-Embedded Feature Fields
https://ajzhai.github.io/NeRF2Physics/
MIT License
57 stars 2 forks source link

Alternative of Open Ai Key #2

Closed Kaivalya192 closed 3 months ago

Kaivalya192 commented 3 months ago

Hello, impressed by your works !! Can i use ollama or other llm in replacement of gpt ? would it give same accuracy? to work it offline also... Thank you

ajzhai commented 3 months ago

Yes, you can! You just need to replace the GPT calls in gpt_inference.py with calls to your model: https://github.com/ajzhai/NeRF2Physics/blob/6d81c093ed05434f31c0c735fdad1e51355bde86/gpt_inference.py#L64

I believe the accuracy should be similar using other recent LLMs.

Kaivalya192 commented 3 months ago

Thank you