Shoaib Hossain

Results 6 comments of Shoaib Hossain

I've figured out the **solution**. Below is the code for those who just want the solution, not the details: ### Solution Code: ``` # change the padding tokenizer value tokenizer.add_special_tokens({"pad_token":...

> @danielhanchen in colab after finetuning I was having the same issue and created an issue #416 . I've posted a solution [here](https://github.com/unslothai/unsloth/issues/416#issuecomment-2094745798).

> @KillerShoaib Man thanks a lot for fixing, I really appreciate that. Can u explain to me where to add that I am using Google Colab t4 GPU: https://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing as...

> @danielhanchen @KillerShoaib I checked it once again it literally the same ![78415 (1)](https://private-user-images.githubusercontent.com/168166085/328043917-5ae4bd07-0caf-43e4-91b1-bbc2f75703a4.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ5NzYyNDYsIm5iZiI6MTcxNDk3NTk0NiwicGF0aCI6Ii8xNjgxNjYwODUvMzI4MDQzOTE3LTVhZTRiZDA3LTBjYWYtNDNlNC05MWIxLWJiYzJmNzU3MDNhNC5QTkc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUwNlQwNjEyMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNjhkMmMzOGJmNDIzZjlhYjk5NTI2OGVjMzhhOGVhZjY5YTgwNDc5MzllZGQ5MGU0NTJlNzllNjg2NzA1YTI0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.zlOcPQwjxRpp8IYb8t4l0GDTs9-pYG11mzjHV5bD-Mw) Okay, I think you're using your finetuned model which was finetuned on top of old unsloth...

> @KillerShoaib Iam using this colab notebook : https://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing from their github I am using llama3-8b-instruct model : https://huggingface.co/unsloth/llama-3-8b-Instruct I've just downloaded **unsloth/llama-3-8b-Instruct** and verified its pad token and eos...

> @KillerShoaib Its the same stuff dude!! just generates sometimes and goes on loop like this ![image](https://private-user-images.githubusercontent.com/168166085/328281885-c4b72317-e549-4d37-ab0c-ecff3acaa399.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTUxMDA2NDAsIm5iZiI6MTcxNTEwMDM0MCwicGF0aCI6Ii8xNjgxNjYwODUvMzI4MjgxODg1LWM0YjcyMzE3LWU1NDktNGQzNy1hYjBjLWVjZmYzYWNhYTM5OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUwN1QxNjQ1NDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMzUwM2M1MmRhMTM1OWYwOGI4ZWQ3ZjJlYzI4YjFmOTZhYzI0YjllYjc0OTUyYzUwMDE5ZjFkYjJmYTc3ZmY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Zul5MRMLTvcNcrp82vHtMoQLWsrKiL52UhKQNUaHlQ4) till 128 max new tokens > > and if text streaming is true...