Update README.md
Browse files
README.md
CHANGED
@@ -2,4 +2,62 @@
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
|
5 |
+
# Model Card for TinyLlama 1.1B
|
6 |
+
|
7 |
+
A DPO version of TinyLlama
|
8 |
+
|
9 |
+
## Model Information
|
10 |
+
- **Model Name**: TinyLlama 1.1B Chat
|
11 |
+
- **Model Version**: 1.0
|
12 |
+
- **Model Type**: Llama
|
13 |
+
- **Transformers Version**: 4.35.2
|
14 |
+
- **Architecture**: LlamaForCausalLM
|
15 |
+
- **Vocabulary Size**: 32,000
|
16 |
+
- **Hidden Size**: 2,048
|
17 |
+
- **Intermediate Size**: 5,632
|
18 |
+
- **Number of Attention Heads**: 32
|
19 |
+
- **Number of Hidden Layers**: 22
|
20 |
+
- **Number of Key-Value Heads**: 4
|
21 |
+
- **Attention Bias**: False
|
22 |
+
- **Tie Word Embeddings**: False
|
23 |
+
- **Max Position Embeddings**: 2,048
|
24 |
+
- **BOS Token ID**: 1
|
25 |
+
- **EOS Token ID**: 2
|
26 |
+
- **Hidden Activation Function**: silu
|
27 |
+
- **Initializer Range**: 0.02
|
28 |
+
- **RMS Normalization Epsilon**: 1e-05
|
29 |
+
- **Rope Scaling**: Not specified
|
30 |
+
- **Rope Theta**: 10,000.0
|
31 |
+
- **Torch Data Type**: float16
|
32 |
+
- **Use Cache**: True
|
33 |
+
|
34 |
+
## Overview
|
35 |
+
Finetunned based on TinyLlama 1.1B Chat is a language model designed for various natural language processing tasks. It utilizes the Llama architecture with a substantial number of hidden layers, attention heads, and a large vocabulary size. The model is trained to generate text in a causal manner, which means it predicts the next word in a sequence based on the preceding context.
|
36 |
+
|
37 |
+
## Key Features
|
38 |
+
- Large vocabulary size of 32,000 words.
|
39 |
+
- High hidden size (2,048) and intermediate size (5,632) for enhanced modeling capability.
|
40 |
+
- 32 attention heads for capturing complex relationships in text.
|
41 |
+
- 22 hidden layers for deep context understanding.
|
42 |
+
- Utilizes silu (Sigmoid Linear Unit) as the hidden activation function.
|
43 |
+
- Transformer version 4.35.2.
|
44 |
+
- Supports cache for faster text generation.
|
45 |
+
|
46 |
+
## Pretraining
|
47 |
+
The model has undergone pretraining with a pretraining task weight of 1.
|
48 |
+
|
49 |
+
## Additional Information
|
50 |
+
- Attention Bias is disabled in this model.
|
51 |
+
- Word embeddings are not tied.
|
52 |
+
- Max position embeddings support sequences up to 2,048 tokens.
|
53 |
+
- RMS normalization epsilon is set to 1e-05.
|
54 |
+
- Rope scaling and theta are specified as null and 10,000.0, respectively.
|
55 |
+
|
56 |
+
## Disclaimer
|
57 |
+
While this model can generate text, it should be used responsibly and ethically. It may generate inappropriate or biased content, and it is the responsibility of users to filter and moderate the output.
|
58 |
+
|
59 |
+
## Model Author
|
60 |
+
The model is available at TinyLlama/TinyLlama-1.1B-Chat-v1.0 and was created by the model author (not provided in the provided information).
|
61 |
+
|
62 |
+
## License
|
63 |
+
Please refer to the licensing information provided by the model author for usage and redistribution rights.
|