Update README.md
Browse files
README.md
CHANGED
|
@@ -7,7 +7,7 @@ tags: [llama2, peft, character-chatbot, gradio, 4bit]
|
|
| 7 |
|
| 8 |
# LLM Character-Based Chatbot (LoRA Fine-Tuned)
|
| 9 |
|
| 10 |
-
This model fine-tunes Meta's `LLaMA-2-7b-chat-hf` using PEFT and LoRA to create a **character-based chatbot** that mimics the style and personality of a fictional character. It has been trained on question-answering dataset structured in a conversational format.
|
| 11 |
|
| 12 |
---
|
| 13 |
|
|
@@ -19,14 +19,12 @@ This model fine-tunes Meta's `LLaMA-2-7b-chat-hf` using PEFT and LoRA to create
|
|
| 19 |
- **Language:** English
|
| 20 |
- **Tokenizer:** Same as base model
|
| 21 |
- **Intended Use:** Educational and personal projects
|
| 22 |
-
- **License:** LLaMA 2
|
| 23 |
|
| 24 |
---
|
| 25 |
|
| 26 |
## How to Use
|
| 27 |
|
| 28 |
-
## 🚀 How to Use
|
| 29 |
-
|
| 30 |
```python
|
| 31 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 32 |
from peft import PeftModel
|
|
|
|
| 7 |
|
| 8 |
# LLM Character-Based Chatbot (LoRA Fine-Tuned)
|
| 9 |
|
| 10 |
+
This model fine-tunes Meta's `LLaMA-2-7b-chat-hf` using PEFT and LoRA to create a **character-based chatbot** that mimics the style and personality of a fictional character. It has been trained on question-answering dataset structured in a conversational format.
|
| 11 |
|
| 12 |
---
|
| 13 |
|
|
|
|
| 19 |
- **Language:** English
|
| 20 |
- **Tokenizer:** Same as base model
|
| 21 |
- **Intended Use:** Educational and personal projects
|
| 22 |
+
- **License:** This model is fine-tuned from Meta’s LLaMA-2-7b-chat-hf under the LLaMA 2 Community License and is intended for non-commercial, educational use only.
|
| 23 |
|
| 24 |
---
|
| 25 |
|
| 26 |
## How to Use
|
| 27 |
|
|
|
|
|
|
|
| 28 |
```python
|
| 29 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 30 |
from peft import PeftModel
|