Update README.md
Browse files
README.md
CHANGED
@@ -6,7 +6,7 @@ license: cc-by-sa-4.0
|
|
6 |
|
7 |
<!-- Provide a quick summary of what the model is/does. -->
|
8 |
|
9 |
-
dragon-
|
10 |
|
11 |
DRAGON models are fine-tuned with high-quality custom instruct datasets, designed for production quality use in RAG scenarios.
|
12 |
|
@@ -33,7 +33,7 @@ For test run results (and good indicator of target use cases), please see the fi
|
|
33 |
- **Developed by:** llmware
|
34 |
- **Model type:** StableLM-7B
|
35 |
- **Language(s) (NLP):** English
|
36 |
-
- **License:**
|
37 |
- **Finetuned from model:** StableLM-Base-Alpha-7B-v2
|
38 |
|
39 |
## Uses
|
@@ -69,16 +69,15 @@ Any model can provide inaccurate or incomplete information, and should be used i
|
|
69 |
|
70 |
## How to Get Started with the Model
|
71 |
|
72 |
-
The fastest way to get started with
|
73 |
-
|
74 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM
|
75 |
-
tokenizer = AutoTokenizer.from_pretrained("dragon-stable-lm-7b-v1")
|
76 |
-
model = AutoModelForCausalLM.from_pretrained("dragon-stable-lm-7b-v1")
|
77 |
|
|
|
|
|
|
|
78 |
|
79 |
The BLING model was fine-tuned with a simple "\<human> and \<bot> wrapper", so to get the best results, wrap inference entries as:
|
80 |
|
81 |
-
full_prompt = "\<human>\: " + my_prompt + "\n" + "\<bot>\:"
|
82 |
|
83 |
The BLING model was fine-tuned with closed-context samples, which assume generally that the prompt consists of two sub-parts:
|
84 |
|
@@ -87,7 +86,7 @@ The BLING model was fine-tuned with closed-context samples, which assume general
|
|
87 |
|
88 |
To get the best results, package "my_prompt" as follows:
|
89 |
|
90 |
-
my_prompt = {{text_passage}} + "\n" + {{question/instruction}}
|
91 |
|
92 |
|
93 |
|
|
|
6 |
|
7 |
<!-- Provide a quick summary of what the model is/does. -->
|
8 |
|
9 |
+
dragon-stablelm-7b-v0 part of the dRAGon ("Delivering RAG On ...") model series, RAG-instruct trained on top of a StableLM-Base-Alpha-7B-v2 base model.
|
10 |
|
11 |
DRAGON models are fine-tuned with high-quality custom instruct datasets, designed for production quality use in RAG scenarios.
|
12 |
|
|
|
33 |
- **Developed by:** llmware
|
34 |
- **Model type:** StableLM-7B
|
35 |
- **Language(s) (NLP):** English
|
36 |
+
- **License:** CC-BY-SA-4.0
|
37 |
- **Finetuned from model:** StableLM-Base-Alpha-7B-v2
|
38 |
|
39 |
## Uses
|
|
|
69 |
|
70 |
## How to Get Started with the Model
|
71 |
|
72 |
+
The fastest way to get started with dRAGon is through direct import in transformers:
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
75 |
+
tokenizer = AutoTokenizer.from_pretrained("dragon-stablelm-7b-v0")
|
76 |
+
model = AutoModelForCausalLM.from_pretrained("dragon-stablelm-7b-v0")
|
77 |
|
78 |
The BLING model was fine-tuned with a simple "\<human> and \<bot> wrapper", so to get the best results, wrap inference entries as:
|
79 |
|
80 |
+
full_prompt = "\<human>\: " + my_prompt + "\n" + "\<bot>\:"
|
81 |
|
82 |
The BLING model was fine-tuned with closed-context samples, which assume generally that the prompt consists of two sub-parts:
|
83 |
|
|
|
86 |
|
87 |
To get the best results, package "my_prompt" as follows:
|
88 |
|
89 |
+
my_prompt = {{text_passage}} + "\n" + {{question/instruction}}
|
90 |
|
91 |
|
92 |
|