Update README.md
Browse files
README.md
CHANGED
@@ -1,9 +1,12 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
-
license:
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
-
# Haary/haryra-7b-id
|
7 |
<!-- markdownlint-disable MD041 -->
|
8 |
|
9 |
<!-- header start -->
|
@@ -14,7 +17,7 @@ license: llama2
|
|
14 |
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
15 |
<!-- header end -->
|
16 |
|
17 |
-
[Haary/haryra-7b-mistral-id](https://huggingface.co/Haary/haryra-7b-id) is QLoRA quantized version of [Ichsan2895/Merak-7B-v4](https://huggingface.co/Ichsan2895/Merak-7B-v4)
|
18 |
|
19 |
### Install the necessary packages
|
20 |
|
@@ -32,7 +35,7 @@ Requires: Transformers from source - only needed for versions <= v4.34.
|
|
32 |
import torch
|
33 |
from transformers import pipeline
|
34 |
|
35 |
-
pipe = pipeline("text-generation", model="Haary/haryra-7b-id", torch_dtype=torch.bfloat16, device_map="auto")
|
36 |
|
37 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
38 |
messages = [
|
@@ -49,7 +52,7 @@ print(outputs[0]["generated_text"])
|
|
49 |
|
50 |
|
51 |
## Credits
|
52 |
-
[Ichsan2895/Merak-7B-
|
53 |
|
54 |
|
55 |
## image source
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
license: cc-by-sa-4.0
|
4 |
+
language:
|
5 |
+
- id
|
6 |
+
- en
|
7 |
---
|
8 |
|
9 |
+
# Haary/haryra-7b-mistral-id
|
10 |
<!-- markdownlint-disable MD041 -->
|
11 |
|
12 |
<!-- header start -->
|
|
|
17 |
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
18 |
<!-- header end -->
|
19 |
|
20 |
+
[Haary/haryra-7b-mistral-id](https://huggingface.co/Haary/haryra-7b-mistral-id) is QLoRA quantized version of [Ichsan2895/Merak-7B-v4](https://huggingface.co/Ichsan2895/Merak-7B-v4)
|
21 |
|
22 |
### Install the necessary packages
|
23 |
|
|
|
35 |
import torch
|
36 |
from transformers import pipeline
|
37 |
|
38 |
+
pipe = pipeline("text-generation", model="Haary/haryra-7b-mistral-id", torch_dtype=torch.bfloat16, device_map="auto")
|
39 |
|
40 |
# We use the tokenizer's chat template to format each message - see https://huggingface.co/docs/transformers/main/en/chat_templating
|
41 |
messages = [
|
|
|
52 |
|
53 |
|
54 |
## Credits
|
55 |
+
[Ichsan2895/Merak-7B-v4](https://huggingface.co/Ichsan2895/Merak-7B-v4) for base model.
|
56 |
|
57 |
|
58 |
## image source
|