Update README.md
Browse files
README.md
CHANGED
@@ -6,6 +6,8 @@ language:
|
|
6 |
- en
|
7 |
library_name: transformers
|
8 |
---
|
|
|
|
|
9 |
# Model Card for Model ID
|
10 |
|
11 |
<!-- Provide a quick summary of what the model is/does. -->
|
@@ -18,36 +20,18 @@ While `dlite-v1-124m` is **not a state-of-the-art model**, we believe that the l
|
|
18 |
is important to showcase, as it continues to demonstrate that creating powerful AI capabilities is much more accessible than previously thought.
|
19 |
## Model Details
|
20 |
|
|
|
21 |
### Model Description
|
22 |
|
23 |
<!-- Provide a longer summary of what this model is. -->
|
24 |
|
25 |
-
|
26 |
-
|
27 |
- **Developed by:** AI Squared, Inc.
|
28 |
-
- **Shared by
|
29 |
- **Model type:** Large Language Model
|
30 |
- **Language(s) (NLP):** EN
|
31 |
- **License:** Apache v2.0
|
32 |
-
- **Finetuned from model
|
33 |
-
|
34 |
-
## Uses
|
35 |
-
|
36 |
-
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
37 |
-
|
38 |
-
### Direct Use
|
39 |
|
40 |
-
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
41 |
-
|
42 |
-
[More Information Needed]
|
43 |
-
|
44 |
-
[More Information Needed]
|
45 |
-
|
46 |
-
### Out-of-Scope Use
|
47 |
-
|
48 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
49 |
-
|
50 |
-
[More Information Needed]
|
51 |
|
52 |
## Bias, Risks, and Limitations
|
53 |
|
@@ -70,6 +54,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
70 |
model = AutoModelForCausalLM.from_pretrained(model_id)
|
71 |
```
|
72 |
|
|
|
73 |
### Create the Prompt Format and Other Variables
|
74 |
|
75 |
```python
|
@@ -85,6 +70,7 @@ END_KEY = '### End'
|
|
85 |
RESPONSE_KEY = '### Response:\n'
|
86 |
```
|
87 |
|
|
|
88 |
### Create a Function to Retrieve a Response
|
89 |
|
90 |
```python
|
|
|
6 |
- en
|
7 |
library_name: transformers
|
8 |
---
|
9 |
+
|
10 |
+
|
11 |
# Model Card for Model ID
|
12 |
|
13 |
<!-- Provide a quick summary of what the model is/does. -->
|
|
|
20 |
is important to showcase, as it continues to demonstrate that creating powerful AI capabilities is much more accessible than previously thought.
|
21 |
## Model Details
|
22 |
|
23 |
+
|
24 |
### Model Description
|
25 |
|
26 |
<!-- Provide a longer summary of what this model is. -->
|
27 |
|
|
|
|
|
28 |
- **Developed by:** AI Squared, Inc.
|
29 |
+
- **Shared by:** AI Squared, Inc.
|
30 |
- **Model type:** Large Language Model
|
31 |
- **Language(s) (NLP):** EN
|
32 |
- **License:** Apache v2.0
|
33 |
+
- **Finetuned from model:** GPT-2
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
## Bias, Risks, and Limitations
|
37 |
|
|
|
54 |
model = AutoModelForCausalLM.from_pretrained(model_id)
|
55 |
```
|
56 |
|
57 |
+
|
58 |
### Create the Prompt Format and Other Variables
|
59 |
|
60 |
```python
|
|
|
70 |
RESPONSE_KEY = '### Response:\n'
|
71 |
```
|
72 |
|
73 |
+
|
74 |
### Create a Function to Retrieve a Response
|
75 |
|
76 |
```python
|