Update README.md
#8
by
atahanuz
- opened
README.md
CHANGED
@@ -65,10 +65,10 @@ def get_model_response(instruction):
|
|
65 |
generated_response = result[0]['generated_text']
|
66 |
return generated_response[len(instruction_prompt):]
|
67 |
|
68 |
-
model_response = get_model_response("
|
69 |
print(model_response)
|
70 |
"""
|
71 |
-
|
72 |
"""
|
73 |
```
|
74 |
|
@@ -78,15 +78,15 @@ To use the chat template:
|
|
78 |
chat_generator = pipeline("conversational", model=model, tokenizer=tokenizer, device=device_id, max_new_tokens=256)
|
79 |
|
80 |
messages = [
|
81 |
-
{"role": "user", "content": "
|
82 |
]
|
83 |
|
84 |
chat_outputs = chat_generator(messages)
|
85 |
print(chat_outputs)
|
86 |
"""
|
87 |
Conversation id: 236ffc4a-2a36-4191-92fb-90d6753df1ae
|
88 |
-
user:
|
89 |
-
assistant:
|
90 |
"""
|
91 |
```
|
92 |
|
@@ -129,7 +129,9 @@ Paper coming soon 😊
|
|
129 |
|
130 |
- PEFT 0.9.0
|
131 |
|
132 |
-
### Contact
|
133 |
-
COSMOS AI Research Group, Yildiz Technical University Computer Engineering Department
|
134 |
https://cosmos.yildiz.edu.tr/ <br>
|
135 | |
|
|
|
|
|
65 |
generated_response = result[0]['generated_text']
|
66 |
return generated_response[len(instruction_prompt):]
|
67 |
|
68 |
+
model_response = get_model_response("Türkiye'nin başkenti neresidir?")
|
69 |
print(model_response)
|
70 |
"""
|
71 |
+
Türkiye'nin başkenti Ankara'dır.
|
72 |
"""
|
73 |
```
|
74 |
|
|
|
78 |
chat_generator = pipeline("conversational", model=model, tokenizer=tokenizer, device=device_id, max_new_tokens=256)
|
79 |
|
80 |
messages = [
|
81 |
+
{"role": "user", "content": "Türkiye'nin başkenti neresidir?"}
|
82 |
]
|
83 |
|
84 |
chat_outputs = chat_generator(messages)
|
85 |
print(chat_outputs)
|
86 |
"""
|
87 |
Conversation id: 236ffc4a-2a36-4191-92fb-90d6753df1ae
|
88 |
+
user: Türkiye'nin başkenti neresidir?
|
89 |
+
assistant: Türkiye'nin başkenti Ankara'dır.
|
90 |
"""
|
91 |
```
|
92 |
|
|
|
129 |
|
130 |
- PEFT 0.9.0
|
131 |
|
132 |
+
### Contact
|
133 |
+
COSMOS AI Research Group, Yildiz Technical University Computer Engineering Department <br>
|
134 |
https://cosmos.yildiz.edu.tr/ <br>
|
135 |
+
[email protected] <br>
|
136 |
+
*Feel free to reach out to us to ask any questions about our models or collaborating with us.* 👋
|
137 |
+
|