Update README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,20 @@
|
|
1 |
---
|
2 |
base_model:
|
|
|
3 |
- NousResearch/Hermes-3-Llama-3.1-8B
|
4 |
tags:
|
5 |
- merge
|
6 |
- mergekit
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
|
9 |
-
#
|
10 |
|
11 |
-
|
|
|
12 |
* [NousResearch/Hermes-3-Llama-3.1-8B](https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-8B)
|
13 |
|
14 |
## 🧩 Configuration
|
@@ -37,7 +43,7 @@ import transformers
|
|
37 |
import torch
|
38 |
|
39 |
model = "AELLM/llama-3.1-swallow-hermes-8b-v0.1"
|
40 |
-
messages = [{"role": "user", "content": "
|
41 |
|
42 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
43 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
|
|
1 |
---
|
2 |
base_model:
|
3 |
+
- tokyotech-llm/Llama-3.1-Swallow-8B-Instruct-v0.1
|
4 |
- NousResearch/Hermes-3-Llama-3.1-8B
|
5 |
tags:
|
6 |
- merge
|
7 |
- mergekit
|
8 |
+
language:
|
9 |
+
- ja
|
10 |
+
- en
|
11 |
+
library_name: transformers
|
12 |
---
|
13 |
|
14 |
+
# Llama 3.1 Swallow Hermes 8B v0.1
|
15 |
|
16 |
+
Llama 3.1 Swallow Hermes 8B v0.1 is a merge of the following models using [Mergekit](https://github.com/arcee-ai/mergekit):
|
17 |
+
* [tokyotech-llm/Llama-3.1-Swallow-8B-Instruct-v0.1](https://huggingface.co/tokyotech-llm/Llama-3.1-Swallow-8B-Instruct-v0.1)
|
18 |
* [NousResearch/Hermes-3-Llama-3.1-8B](https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-8B)
|
19 |
|
20 |
## 🧩 Configuration
|
|
|
43 |
import torch
|
44 |
|
45 |
model = "AELLM/llama-3.1-swallow-hermes-8b-v0.1"
|
46 |
+
messages = [{"role": "user", "content": "あなたはタイムトラベラーのAIアシスタントだ。タイムパラドックスを引き起こすことなく、異なる歴史的時代に溶け込むにはどうすればいいのか?"}]
|
47 |
|
48 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
49 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|