Update README.md
Browse files
README.md
CHANGED
@@ -43,7 +43,7 @@ pip install transformers
|
|
43 |
|
44 |
```python
|
45 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
46 |
-
checkpoint = "
|
47 |
|
48 |
device = "cuda" # for GPU usage or "cpu" for CPU usage
|
49 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
@@ -62,7 +62,7 @@ print(tokenizer.decode(outputs[0]))
|
|
62 |
You can also use the TRL CLI to chat with the model from the terminal:
|
63 |
```bash
|
64 |
pip install trl
|
65 |
-
trl chat --model_name_or_path
|
66 |
```
|
67 |
|
68 |
## Evaluation
|
@@ -90,21 +90,7 @@ In this section, we report the evaluation results of SmolLM2. All evaluations ar
|
|
90 |
|
91 |
SmolLM2 models primarily understand and generate content in English. They can produce text on a variety of topics, but the generated content may not always be factually accurate, logically consistent, or free from biases present in the training data. These models should be used as assistive tools rather than definitive sources of information. Users should always verify important information and critically evaluate any generated content.
|
92 |
|
93 |
-
|
94 |
-
|
95 |
-
### Model
|
96 |
-
|
97 |
-
- **Architecture:** Transformer decoder
|
98 |
-
- **Pretraining tokens:** 2T
|
99 |
-
- **Precision:** bfloat16
|
100 |
-
|
101 |
-
### Hardware
|
102 |
-
|
103 |
-
- **GPUs:** 64 H100
|
104 |
-
|
105 |
-
### Software
|
106 |
-
|
107 |
-
- **Training Framework:** [nanotron](https://github.com/huggingface/nanotron/tree/main)
|
108 |
|
109 |
## License
|
110 |
|
|
|
43 |
|
44 |
```python
|
45 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
46 |
+
checkpoint = "AssistantsLab/SmolLM2-135M-humanized"
|
47 |
|
48 |
device = "cuda" # for GPU usage or "cpu" for CPU usage
|
49 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
|
|
62 |
You can also use the TRL CLI to chat with the model from the terminal:
|
63 |
```bash
|
64 |
pip install trl
|
65 |
+
trl chat --model_name_or_path AssistantsLab/SmolLM2-135M-humanized --device cpu
|
66 |
```
|
67 |
|
68 |
## Evaluation
|
|
|
90 |
|
91 |
SmolLM2 models primarily understand and generate content in English. They can produce text on a variety of topics, but the generated content may not always be factually accurate, logically consistent, or free from biases present in the training data. These models should be used as assistive tools rather than definitive sources of information. Users should always verify important information and critically evaluate any generated content.
|
92 |
|
93 |
+
Humanized models display a bigger preference for confident hallucinating in some limited testing. Please keep this in mind in any potential applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
## License
|
96 |
|