--- language: - zh license: gemma tags: - text-generation-inference - transformers - unsloth - gemma2 - trl - sft - synthetic data base_model: unsloth/gemma-2-9b-it-bnb-4bit --- This model is fine-tuned from [gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it). It was trained for 3 epochs on a synthetic dataset created from the book *Liaozhai Zhiyi*. The stories in the book were translated by an LLM to modern Chinese and paired with generated writing prompts. *Liaozhai Zhiyi*, also known as *[Strange Tales from a Chinese Studio](https://en.wikipedia.org/wiki/Strange_Tales_from_a_Chinese_Studio)*, is a collection of approximately 500 stories written in the traditional Chinese Zhiguai and Chuanqi styles by Pu Songling. The aim of this fine-tuning attempt is to explore incorporating these characteristics into the storytelling capabilities of a specific model. **Q4_K_M GGUF**: [CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF](https://huggingface.co/CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF) **Prompt Template - gemma** ``` user {input} model {output} ``` Users must adhere to [Gemma Terms of Use](https://ai.google.dev/gemma/terms) when using this model. ## Unsloth Metadata - **Developed by:** CoolSpring - **License:** gemma - **Finetuned from model :** unsloth/gemma-2-9b-it-bnb-4bit This gemma2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library. [](https://github.com/unslothai/unsloth)