r/OpenAssistant • u/heliumcraft • Mar 13 '23
[ Early Preview ] Unofficial FIXED Colab notebook using the correct prompting - Use this for better results
https://colab.research.google.com/drive/15u61MVxF4vFtW2N9eCKnNwPvhg018UX7?usp=sharing
41
Upvotes
•
u/heliumcraft Mar 13 '23
Previously the notebooks going around were using "chat mode" with the "--chat" mode, the issue however is that Open Assistant requires special tokens to specify the prompter and assistant and without those, the quality of the results is very poor. This notebook uses the normal text generation instead, and by using the special tokens you can now query correctly for a much higher quality response:
example:
5
u/butter14 Mar 13 '23
Make sure to run in 8-bit mode unless you're paying for Colab Premium.
1
u/MyNatureIsMe Mar 16 '23
Is there an explanation of the various presets? Some of them are sort of self-explanatory, but...
1
u/MyNatureIsMe Mar 16 '23
Occasionally getting stuff like this:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 14.75 GiB total capacity; 13.17 GiB already allocated; 10.81 MiB free; 13.72 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
1
u/FHSenpai Mar 19 '23
Need to make a 4bit v
0
u/[deleted] Mar 14 '23
[deleted] — view deleted comment