Downloads · 30 days
13
20% of all-time downloads
Frinkles/Phi3JPInitial
Phi3JPInitial is a text generation model from Frinkles. Use it when you need the model to write or continue text. It is set up for transformers.
This project is a proof of concept that extends the base vocabulary of the Phi 3 model and then applies supervised fine-tuning to teach it a new language (Japanese). Despite using a very small custom dataset, the impr…
Downloads · 30 days
13
20% of all-time downloads
All-time downloads
66
Public
Parameters
4.1B
8.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors8.2 GB · 100%
From the Hugging Face model README
This project is a proof of concept that extends the base vocabulary of the Phi 3 model and then applies supervised fine-tuning to teach it a new language (Japanese). Despite using a very small custom dataset, the improvement in Japanese language understanding is substantial.
The dataset used for this project was generated with the assistance of ChatGPT-4. It comprises 1,000 entries, carefully curated to cover a diverse range of topics and linguistic structures.
The base vocabulary of the Phi 3 model was extended to include new Japanese tokens. This was a crucial step to enable the model to comprehend and generate Japanese text more effectively.
Supervised fine-tuning was performed on the extended model using the custom dataset. Despite the small dataset size, the model showed significant improvement in understanding and generating Japanese text.
Even with the limited dataset and vocabulary size, the fine-tuned model demonstrated substantial improvements over the base model in terms of Japanese language understanding and generation.