--- license: apache-2.0 language: - en library_name: transformers --- # Lemur 🦥 Lemur is a chatbot model based on the [LLaMA](https://arxiv.org/abs/2302.13971v1) model, further fine-tuned using [LoRA](https://arxiv.org/abs/2106.09685) on several openly available datasets ([Alpaca-GPT4](https://huggingface.co/datasets/vicgalle/alpaca-gpt4), [Baize](https://github.com/project-baize/baize-chatbot), [ShareGPT](https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered) and [Vicuna-Dummy-Conversation](https://github.com/lm-sys/FastChat/blob/main/data/dummy_conversation.json)). > **Note**: Lemur is specifically designed and trained for the **exclusive** purpose of our final project for CSE 256 Statistical Natural Lang Processing at UCSD. It is not intended for **any** commercial usage or widespread deployment. Testing and exploration are permitted, but we request that you limit your use to this purpose only. Please respect these guidelines to maintain the integrity of our project and its intended use. > **Warning**: The usage of [ShareGPT](https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered) data might pose copyright issues, which are currently under dispute. If you are considering the use of this model, we strongly advise you to proceed with caution. ## Demo on 🤗 Huggingface Space [https://huggingface.co/spaces/tianyang/lemur-7B](https://huggingface.co/spaces/tianyang/lemur-7B) It is running on a 16GB CPU (free 🤗 Huggingface Spaces), with really slow inferecing speed. (~30s for processing a single question, and ~1s per subsequent token) ## Format ```python MSG = Hi, how are you? prompt = f"""A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions. [Human]: {MSG} [AI]:""" ``` ## Notice Lemur is **specifically** designed and trained for the exclusive purpose of our final project. It is not intended for commercial usage or widespread deployment. Testing and exploration are permitted, but we request that you limit your use to this purpose only. Please respect these guidelines to maintain the integrity of our project and its intended use.