Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,79 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- HuggingFaceTB/smol-smoltalk
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
base_model:
|
| 8 |
+
- Dront-AI/Dront-200m
|
| 9 |
+
tags:
|
| 10 |
+
- gpt
|
| 11 |
+
- llm
|
| 12 |
+
- lm
|
| 13 |
+
- 200m
|
| 14 |
+
- 0.2b
|
| 15 |
+
- SmolTalk
|
| 16 |
+
- Talk
|
| 17 |
+
- Chat
|
| 18 |
---
|
| 19 |
+
|
| 20 |
+
# Dront-Chat is a simple 200M model trained for dialogue; it supports multiple turns per conversation.
|
| 21 |
+
|
| 22 |
+
# Dialog format : `<system> </system>` `<|user|>` `<|assistant|>` `<|endoftext|>` `<|user|>` `<|assistant|>` `<|endoftext|>`
|
| 23 |
+
|
| 24 |
+
# Trained to loss 1.8 (smol-smoltalk)
|
| 25 |
+
|
| 26 |
+
# Have a System-promt (`<system> </system>`)
|
| 27 |
+
|
| 28 |
+
*see use.py in repo, here a easy chat start in Python.*
|
| 29 |
+
|
| 30 |
+
# Examples chat
|
| 31 |
+
|
| 32 |
+
```text
|
| 33 |
+
Chat 1:
|
| 34 |
+
|
| 35 |
+
System: You are a AI, you can smol talk, you have name DrontAI.
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
You: Hello, what is a python?
|
| 39 |
+
|
| 40 |
+
AI: ython is a programming language.
|
| 41 |
+
Python is a programming language and has many different functions and libraries.
|
| 42 |
+
Here's an example of a simple example:
|
| 43 |
+
'''python
|
| 44 |
+
print(my_list) # Output: [1, 2, 3]
|
| 45 |
+
print(my_list) # Output: [4, 5, 6]
|
| 46 |
+
'''
|
| 47 |
+
This will output: `[5, 4, 7]`.
|
| 48 |
+
Note that this function does not handle any exceptions, so it should be used instead of the original function.
|
| 49 |
+
If you want to implement it manually, you can use a list comprehension:
|
| 50 |
+
'''python
|
| 51 |
+
my_list = [1, 2, 3]
|
| 52 |
+
print(my_list) # Output: [4, 5, 6]
|
| 53 |
+
'''
|
| 54 |
+
|
| 55 |
+
You: Okay, how i can create a varrible in Python?
|
| 56 |
+
|
| 57 |
+
AI: You can use the following code to create a varrible:
|
| 58 |
+
'''python
|
| 59 |
+
various = {
|
| 60 |
+
'a': 1,
|
| 61 |
+
'b': 2,
|
| 62 |
+
'c': 3,
|
| 63 |
+
}
|
| 64 |
+
'''
|
| 65 |
+
This will output: `{'a': 1, 'b': 2, 'd': 3}`.
|
| 66 |
+
|
| 67 |
+
Alternatively, you can use a list comprehension with a conditional statement:
|
| 68 |
+
'''python
|
| 69 |
+
various = {
|
| 70 |
+
'a': 1,
|
| 71 |
+
'b': 2,
|
| 72 |
+
'c': 3,
|
| 73 |
+
}
|
| 74 |
+
'''
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
```
|
| 79 |
+
|