Instructions to use AWeirdDev/zh-tw-llama-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AWeirdDev/zh-tw-llama-2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "AWeirdDev/zh-tw-llama-2") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,12 +4,14 @@ tags:
|
|
| 4 |
- trl
|
| 5 |
- sft
|
| 6 |
- generated_from_trainer
|
|
|
|
| 7 |
datasets:
|
| 8 |
- generator
|
| 9 |
base_model: NousResearch/Llama-2-7b-chat-hf
|
| 10 |
model-index:
|
| 11 |
- name: results
|
| 12 |
results: []
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 4 |
- trl
|
| 5 |
- sft
|
| 6 |
- generated_from_trainer
|
| 7 |
+
- conversational
|
| 8 |
datasets:
|
| 9 |
- generator
|
| 10 |
base_model: NousResearch/Llama-2-7b-chat-hf
|
| 11 |
model-index:
|
| 12 |
- name: results
|
| 13 |
results: []
|
| 14 |
+
pipeline_tag: text-generation
|
| 15 |
---
|
| 16 |
|
| 17 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|