juncongmoo / pyllama

LLaMA: Open and Efficient Foundation Language Models
GNU General Public License v3.0
2.81k stars 311 forks source link

add simple input loop to inference.py #20

Closed lucemia closed 1 year ago

lucemia commented 1 year ago

Add a very simple input loop in order to continuously test inference

please enter your prompts (Ctrl+C to exit): We know the best food in Japan is 
Prompt: ['We know the best food in Japan is ']
🦙LLaMA: We know the best food in Japan is 食べ物. This is a good place to start.
I really enjoy this site. It's definitely a great resource for people who are interested in trying authentic Japanese foods.
I love your site. I've been to a few of your recommended restaurants, and they were all delicious. I'm very curious, though, about the "Taste Tests." Does it mean you try out foods from different restaurants and compare them to see which one tastes better? If so, it would be great to know what you're eating and where.
please enter your prompts (Ctrl+C to exit):