rikllm commited on
Commit
042980a
1 Parent(s): ef28149

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -8
README.md CHANGED
@@ -69,13 +69,13 @@ You are a helpful assistant with access to the following functions. You must use
69
  "type": "function",
70
  "function": {
71
  "name": "TextToImage",
72
- "description": "This function able to creating, drawing, or illustrating an image from a text prompt.",
73
  "parameters": {
74
  "type": "object",
75
  "properties": {
76
  "prompt": {
77
  "type": "string",
78
- "description": "The description of image that user wanto to create."
79
  }
80
  },
81
  "required": [
@@ -88,7 +88,7 @@ You are a helpful assistant with access to the following functions. You must use
88
  """
89
  messages = [
90
  {'role': 'system', 'content': system_prompt},
91
- {'role': "user", 'content': "Help me to generate a picture of Eiffel Tower in the night!"}
92
  ]
93
 
94
  inputs = tokenizer.apply_chat_template(
@@ -111,7 +111,7 @@ print(output)
111
  {
112
  "name": "TextToImage",
113
  "arguments": {
114
- "prompt": "Eiffel Tower in the night"
115
  }
116
  }
117
  ]
@@ -125,12 +125,12 @@ print(output)
125
  * **Developed by**: [Stability AI](https://stability.ai/)
126
  * **Model type**: `StableLM 2 12B Chat` model is an auto-regressive language model based on the transformer decoder architecture.
127
  * **Language(s)**: English
128
- TODO: Check if we want to keep paper link since it's not mentioned in that paper.
129
  * **Paper**: [Stable LM 2 Chat Technical Report](https://drive.google.com/file/d/1JYJHszhS8EFChTbNAf8xmqhKjogWRrQF/view?usp=sharing)
130
  * **Library**: [Alignment Handbook](https://github.com/huggingface/alignment-handbook.git)
131
  * **Finetuned from model**:
132
  * **License**: [StabilityAI Non-Commercial Research Community License](https://huggingface.co/stabilityai/stablelm-2-zephyr-1_6b/blob/main/LICENSE). If you want to use this model for your commercial products or purposes, please contact us [here](https://stability.ai/contact) to learn more.
133
- * **Contact**: For questions and comments about the model, please email `lm@stability.ai`
134
 
135
  ### Training Dataset
136
 
@@ -149,7 +149,7 @@ The dataset is comprised of a mixture of open datasets large-scale datasets avai
149
  - Internal Safety Dataset
150
 
151
  3. Preference Datasets:
152
-
153
 
154
  ## Performance
155
 
@@ -203,4 +203,11 @@ Additionally, as each use case is unique, we recommend running your own suite of
203
  Finally, do not use the models if they are unsuitable for your application, or for any applications that may cause deliberate or unintentional harm to others.
204
 
205
 
206
- ## How to Cite
 
 
 
 
 
 
 
 
69
  "type": "function",
70
  "function": {
71
  "name": "TextToImage",
72
+ "description": "This function is able to create, draw, or illustrate an image from a text prompt.",
73
  "parameters": {
74
  "type": "object",
75
  "properties": {
76
  "prompt": {
77
  "type": "string",
78
+ "description": "The description of image that the user wants to create."
79
  }
80
  },
81
  "required": [
 
88
  """
89
  messages = [
90
  {'role': 'system', 'content': system_prompt},
91
+ {'role': "user", 'content': "Please, generate a picture of the Eiffel Tower at night!"}
92
  ]
93
 
94
  inputs = tokenizer.apply_chat_template(
 
111
  {
112
  "name": "TextToImage",
113
  "arguments": {
114
+ "prompt": "Eiffel Tower at night."
115
  }
116
  }
117
  ]
 
125
  * **Developed by**: [Stability AI](https://stability.ai/)
126
  * **Model type**: `StableLM 2 12B Chat` model is an auto-regressive language model based on the transformer decoder architecture.
127
  * **Language(s)**: English
128
+ TODO: Check if we want to keep paper link since this model is not explictly mentioned in the paper.
129
  * **Paper**: [Stable LM 2 Chat Technical Report](https://drive.google.com/file/d/1JYJHszhS8EFChTbNAf8xmqhKjogWRrQF/view?usp=sharing)
130
  * **Library**: [Alignment Handbook](https://github.com/huggingface/alignment-handbook.git)
131
  * **Finetuned from model**:
132
  * **License**: [StabilityAI Non-Commercial Research Community License](https://huggingface.co/stabilityai/stablelm-2-zephyr-1_6b/blob/main/LICENSE). If you want to use this model for your commercial products or purposes, please contact us [here](https://stability.ai/contact) to learn more.
133
+ * **Contact**: For questions and comments about the model, please email `lm@stability.ai`.
134
 
135
  ### Training Dataset
136
 
 
149
  - Internal Safety Dataset
150
 
151
  3. Preference Datasets:
152
+ - TBD.
153
 
154
  ## Performance
155
 
 
203
  Finally, do not use the models if they are unsuitable for your application, or for any applications that may cause deliberate or unintentional harm to others.
204
 
205
 
206
+ ## How to Cite
207
+
208
+ @article{bellagente2024stable,
209
+ title={Stable LM 2 1.6 B Technical Report},
210
+ author={Bellagente, Marco and Tow, Jonathan and Mahan, Dakota and Phung, Duy and Zhuravinskyi, Maksym and Adithyan, Reshinth and Baicoianu, James and Brooks, Ben and Cooper, Nathan and Datta, Ashish and others},
211
+ journal={arXiv preprint arXiv:2402.17834},
212
+ year={2024}
213
+ }