andrijdavid
commited on
Commit
•
7847e03
1
Parent(s):
e14bb7a
Upload folder using huggingface_hub
Browse files- .gitattributes +18 -0
- README.md +237 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q2_K.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_L.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_M.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_S.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_0.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_1.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K_M.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K_S.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_0.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_1.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K_M.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K_S.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q6_K.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-Q8_0.gguf +3 -0
- TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf +3 -0
- config.json +24 -0
- generation_config.json +7 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +35 -0
.gitattributes
CHANGED
@@ -33,3 +33,21 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
48 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K.gguf filter=lfs diff=lfs merge=lfs -text
|
49 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
50 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
51 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
52 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
53 |
+
TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- GGUF
|
7 |
+
datasets:
|
8 |
+
- cerebras/SlimPajama-627B
|
9 |
+
- bigcode/starcoderdata
|
10 |
+
quantized_by: andrijdavid
|
11 |
+
---
|
12 |
+
# TinyLlama-1.1B-intermediate-step-1431k-3T-GGUF
|
13 |
+
- Original model: [TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T)
|
14 |
+
|
15 |
+
<!-- description start -->
|
16 |
+
## Description
|
17 |
+
|
18 |
+
This repo contains GGUF format model files for [TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T).
|
19 |
+
|
20 |
+
<!-- description end -->
|
21 |
+
<!-- README_GGUF.md-about-gguf start -->
|
22 |
+
### About GGUF
|
23 |
+
GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
|
24 |
+
Here is an incomplete list of clients and libraries that are known to support GGUF:
|
25 |
+
* [llama.cpp](https://github.com/ggerganov/llama.cpp). This is the source project for GGUF, providing both a Command Line Interface (CLI) and a server option.
|
26 |
+
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), Known as the most widely used web UI, this project boasts numerous features and powerful extensions, and supports GPU acceleration.
|
27 |
+
* [Ollama](https://github.com/jmorganca/ollama) Ollama is a lightweight and extensible framework designed for building and running language models locally. It features a simple API for creating, managing, and executing models, along with a library of pre-built models for use in various applications
|
28 |
+
* [KoboldCpp](https://github.com/LostRuins/koboldcpp), A comprehensive web UI offering GPU acceleration across all platforms and architectures, particularly renowned for storytelling.
|
29 |
+
* [GPT4All](https://gpt4all.io), This is a free and open source GUI that runs locally, supporting Windows, Linux, and macOS with full GPU acceleration.
|
30 |
+
* [LM Studio](https://lmstudio.ai/) An intuitive and powerful local GUI for Windows and macOS (Silicon), featuring GPU acceleration.
|
31 |
+
* [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui). A notable web UI with a variety of unique features, including a comprehensive model library for easy model selection.
|
32 |
+
* [Faraday.dev](https://faraday.dev/), An attractive, user-friendly character-based chat GUI for Windows and macOS (both Silicon and Intel), also offering GPU acceleration.
|
33 |
+
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), A Python library equipped with GPU acceleration, LangChain support, and an OpenAI-compatible API server.
|
34 |
+
* [candle](https://github.com/huggingface/candle), A Rust-based ML framework focusing on performance, including GPU support, and designed for ease of use.
|
35 |
+
* [ctransformers](https://github.com/marella/ctransformers), A Python library featuring GPU acceleration, LangChain support, and an OpenAI-compatible AI server.
|
36 |
+
* [localGPT](https://github.com/PromtEngineer/localGPT) An open-source initiative enabling private conversations with documents.
|
37 |
+
<!-- README_GGUF.md-about-gguf end -->
|
38 |
+
|
39 |
+
<!-- compatibility_gguf start -->
|
40 |
+
## Explanation of quantisation methods
|
41 |
+
<details>
|
42 |
+
<summary>Click to see details</summary>
|
43 |
+
The new methods available are:
|
44 |
+
|
45 |
+
* GGML_TYPE_Q2_K - "type-1" 2-bit quantization in super-blocks containing 16 blocks, each block having 16 weight. Block scales and mins are quantized with 4 bits. This ends up effectively using 2.5625 bits per weight (bpw)
|
46 |
+
* GGML_TYPE_Q3_K - "type-0" 3-bit quantization in super-blocks containing 16 blocks, each block having 16 weights. Scales are quantized with 6 bits. This end up using 3.4375 bpw.
|
47 |
+
* GGML_TYPE_Q4_K - "type-1" 4-bit quantization in super-blocks containing 8 blocks, each block having 32 weights. Scales and mins are quantized with 6 bits. This ends up using 4.5 bpw.
|
48 |
+
* GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
|
49 |
+
* GGML_TYPE_Q6_K - "type-0" 6-bit quantization. Super-blocks with 16 blocks, each block having 16 weights. Scales are quantized with 8 bits. This ends up using 6.5625 bpw.
|
50 |
+
</details>
|
51 |
+
<!-- compatibility_gguf end -->
|
52 |
+
|
53 |
+
<!-- README_GGUF.md-how-to-download start -->
|
54 |
+
## How to download GGUF files
|
55 |
+
|
56 |
+
**Note for manual downloaders:** You almost never want to clone the entire repo! Multiple different quantisation formats are provided, and most users only want to pick and download a single file.
|
57 |
+
|
58 |
+
The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
|
59 |
+
|
60 |
+
* LM Studio
|
61 |
+
* LoLLMS Web UI
|
62 |
+
* Faraday.dev
|
63 |
+
|
64 |
+
### In `text-generation-webui`
|
65 |
+
|
66 |
+
Under Download Model, you can enter the model repo: andrijdavid/TinyLlama-1.1B-intermediate-step-1431k-3T-GGUF and below it, a specific filename to download, such as: TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf.
|
67 |
+
|
68 |
+
Then click Download.
|
69 |
+
|
70 |
+
### On the command line, including multiple files at once
|
71 |
+
|
72 |
+
I recommend using the `huggingface-hub` Python library:
|
73 |
+
|
74 |
+
```shell
|
75 |
+
pip3 install huggingface-hub
|
76 |
+
```
|
77 |
+
|
78 |
+
Then you can download any individual model file to the current directory, at high speed, with a command like this:
|
79 |
+
|
80 |
+
```shell
|
81 |
+
huggingface-cli download andrijdavid/TinyLlama-1.1B-intermediate-step-1431k-3T-GGUF TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf --local-dir . --local-dir-use-symlinks False
|
82 |
+
```
|
83 |
+
|
84 |
+
<details>
|
85 |
+
<summary>More advanced huggingface-cli download usage (click to read)</summary>
|
86 |
+
|
87 |
+
You can also download multiple files at once with a pattern:
|
88 |
+
|
89 |
+
```shell
|
90 |
+
huggingface-cli download andrijdavid/TinyLlama-1.1B-intermediate-step-1431k-3T-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
91 |
+
```
|
92 |
+
|
93 |
+
For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
|
94 |
+
|
95 |
+
To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
|
96 |
+
|
97 |
+
```shell
|
98 |
+
pip3 install hf_transfer
|
99 |
+
```
|
100 |
+
|
101 |
+
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
|
102 |
+
|
103 |
+
```shell
|
104 |
+
HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download andrijdavid/TinyLlama-1.1B-intermediate-step-1431k-3T-GGUF TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf --local-dir . --local-dir-use-symlinks False
|
105 |
+
```
|
106 |
+
|
107 |
+
Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
|
108 |
+
</details>
|
109 |
+
<!-- README_GGUF.md-how-to-download end -->
|
110 |
+
<!-- README_GGUF.md-how-to-run start -->
|
111 |
+
## Example `llama.cpp` command
|
112 |
+
|
113 |
+
Make sure you are using `llama.cpp` from commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
|
114 |
+
|
115 |
+
```shell
|
116 |
+
./main -ngl 35 -m TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "<PROMPT>"
|
117 |
+
```
|
118 |
+
|
119 |
+
Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
|
120 |
+
|
121 |
+
Change `-c 4096` to the desired sequence length. For extended sequence models - eg 8K, 16K, 32K - the necessary RoPE scaling parameters are read from the GGUF file and set by llama.cpp automatically. Note that longer sequence lengths require much more resources, so you may need to reduce this value.
|
122 |
+
|
123 |
+
If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
|
124 |
+
|
125 |
+
For other parameters and how to use them, please refer to [the llama.cpp documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md)
|
126 |
+
|
127 |
+
## How to run in `text-generation-webui`
|
128 |
+
|
129 |
+
Further instructions can be found in the text-generation-webui documentation, here: [text-generation-webui/docs/04 ‐ Model Tab.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/04%20%E2%80%90%20Model%20Tab.md#llamacpp).
|
130 |
+
|
131 |
+
## How to run from Python code
|
132 |
+
|
133 |
+
You can use GGUF models from Python using the [llama-cpp-python](https://github.com/abetlen/llama-cpp-python) or [ctransformers](https://github.com/marella/ctransformers) libraries. Note that at the time of writing (Nov 27th 2023), ctransformers has not been updated for some time and is not compatible with some recent models. Therefore I recommend you use llama-cpp-python.
|
134 |
+
|
135 |
+
### How to load this model in Python code, using llama-cpp-python
|
136 |
+
|
137 |
+
For full documentation, please see: [llama-cpp-python docs](https://abetlen.github.io/llama-cpp-python/).
|
138 |
+
|
139 |
+
#### First install the package
|
140 |
+
|
141 |
+
Run one of the following commands, according to your system:
|
142 |
+
|
143 |
+
```shell
|
144 |
+
# Base ctransformers with no GPU acceleration
|
145 |
+
pip install llama-cpp-python
|
146 |
+
# With NVidia CUDA acceleration
|
147 |
+
CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
|
148 |
+
# Or with OpenBLAS acceleration
|
149 |
+
CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
|
150 |
+
# Or with CLBLast acceleration
|
151 |
+
CMAKE_ARGS="-DLLAMA_CLBLAST=on" pip install llama-cpp-python
|
152 |
+
# Or with AMD ROCm GPU acceleration (Linux only)
|
153 |
+
CMAKE_ARGS="-DLLAMA_HIPBLAS=on" pip install llama-cpp-python
|
154 |
+
# Or with Metal GPU acceleration for macOS systems only
|
155 |
+
CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python
|
156 |
+
# In windows, to set the variables CMAKE_ARGS in PowerShell, follow this format; eg for NVidia CUDA:
|
157 |
+
$env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on"
|
158 |
+
pip install llama-cpp-python
|
159 |
+
```
|
160 |
+
|
161 |
+
#### Simple llama-cpp-python example code
|
162 |
+
|
163 |
+
```python
|
164 |
+
from llama_cpp import Llama
|
165 |
+
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
166 |
+
llm = Llama(
|
167 |
+
model_path="./TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf", # Download the model file first
|
168 |
+
n_ctx=32768, # The max sequence length to use - note that longer sequence lengths require much more resources
|
169 |
+
n_threads=8, # The number of CPU threads to use, tailor to your system and the resulting performance
|
170 |
+
n_gpu_layers=35 # The number of layers to offload to GPU, if you have GPU acceleration available
|
171 |
+
)
|
172 |
+
# Simple inference example
|
173 |
+
output = llm(
|
174 |
+
"<PROMPT>", # Prompt
|
175 |
+
max_tokens=512, # Generate up to 512 tokens
|
176 |
+
stop=["</s>"], # Example stop token - not necessarily correct for this specific model! Please check before using.
|
177 |
+
echo=True # Whether to echo the prompt
|
178 |
+
)
|
179 |
+
# Chat Completion API
|
180 |
+
llm = Llama(model_path="./TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf", chat_format="llama-2") # Set chat_format according to the model you are using
|
181 |
+
llm.create_chat_completion(
|
182 |
+
messages = [
|
183 |
+
{"role": "system", "content": "You are a story writing assistant."},
|
184 |
+
{
|
185 |
+
"role": "user",
|
186 |
+
"content": "Write a story about llamas."
|
187 |
+
}
|
188 |
+
]
|
189 |
+
)
|
190 |
+
```
|
191 |
+
|
192 |
+
## How to use with LangChain
|
193 |
+
|
194 |
+
Here are guides on using llama-cpp-python and ctransformers with LangChain:
|
195 |
+
|
196 |
+
* [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
|
197 |
+
* [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
|
198 |
+
|
199 |
+
<!-- README_GGUF.md-how-to-run end -->
|
200 |
+
|
201 |
+
<!-- footer end -->
|
202 |
+
|
203 |
+
<!-- original-model-card start -->
|
204 |
+
# Original model card: TinyLlama-1.1B-intermediate-step-1431k-3T
|
205 |
+
|
206 |
+
<div align="center">
|
207 |
+
|
208 |
+
# TinyLlama-1.1B
|
209 |
+
</div>
|
210 |
+
|
211 |
+
https://github.com/jzhang38/TinyLlama
|
212 |
+
|
213 |
+
The TinyLlama project aims to **pretrain** a **1.1B Llama model on 3 trillion tokens**. With some proper optimization, we can achieve this within a span of "just" 90 days using 16 A100-40G GPUs 🚀🚀. The training has started on 2023-09-01.
|
214 |
+
|
215 |
+
<div align="center">
|
216 |
+
<img src="./TinyLlama_logo.png" width="300"/>
|
217 |
+
</div>
|
218 |
+
|
219 |
+
We adopted exactly the same architecture and tokenizer as Llama 2. This means TinyLlama can be plugged and played in many open-source projects built upon Llama. Besides, TinyLlama is compact with only 1.1B parameters. This compactness allows it to cater to a multitude of applications demanding a restricted computation and memory footprint.
|
220 |
+
|
221 |
+
#### This Collection
|
222 |
+
This collection contains all checkpoints after the 1T fix. Branch name indicates the step and number of tokens seen.
|
223 |
+
|
224 |
+
#### Eval
|
225 |
+
|
226 |
+
| Model | Pretrain Tokens | HellaSwag | Obqa | WinoGrande | ARC_c | ARC_e | boolq | piqa | avg |
|
227 |
+
| - | | - | -- | -- | ----- |
|
228 |
+
| Pythia-1.0B | 300B | 47.16 | 31.40 | 53.43 | 27.05 | 48.99 | 60.83 | 69.21 | 48.30 |
|
229 |
+
| TinyLlama-1.1B-intermediate-step-50K-104b | 103B | 43.50 | 29.80 | 53.28 | 24.32 | 44.91 | 59.66 | 67.30 | 46.11 |
|
230 |
+
| TinyLlama-1.1B-intermediate-step-240k-503b | 503B | 49.56 | 31.40 | 55.80 | 26.54 | 48.32 | 56.91 | 69.42 | 48.28 |
|
231 |
+
| TinyLlama-1.1B-intermediate-step-480k-1007B | 1007B | 52.54 | 33.40 | 55.96 | 27.82 | 52.36 | 59.54 | 69.91 | 50.22 |
|
232 |
+
| TinyLlama-1.1B-intermediate-step-715k-1.5T | 1.5T | 53.68 | 35.20 | 58.33 | 29.18 | 51.89 | 59.08 | 71.65 | 51.29 |
|
233 |
+
| TinyLlama-1.1B-intermediate-step-955k-2T | 2T | 54.63 | 33.40 | 56.83 | 28.07 | 54.67 | 63.21 | 70.67 | 51.64 |
|
234 |
+
| TinyLlama-1.1B-intermediate-step-1195k-2.5T | 2.5T | 58.96 | 34.40 | 58.72 | 31.91 | 56.78 | 63.21 | 73.07 | 53.86 |
|
235 |
+
| TinyLlama-1.1B-intermediate-step-1431k-3T | 3T | 59.20 | 36.00 | 59.12 | 30.12 | 55.25 | 57.83 | 73.29 | 52.99 |
|
236 |
+
|
237 |
+
<!-- original-model-card end -->
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bdb49258444fba77054d454f69baf23eb2c646e0d1ca70462ad047f2809da24e
|
3 |
+
size 482142720
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbb0ee0969d832c86f6cf8697f063a700d4e358a879d3eb756ed9abd3555f34b
|
3 |
+
size 549845504
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81f282e578b02092007d9edd65b2954e5ad890deb07257506080025a37080de3
|
3 |
+
size 591526400
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbb0ee0969d832c86f6cf8697f063a700d4e358a879d3eb756ed9abd3555f34b
|
3 |
+
size 549845504
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c875f3b79e92a941a4ae2b5c868e3377c2b471602c8da7592c44af9ea5d6112f
|
3 |
+
size 499341824
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f840f94b45c9823326dc4ca165526032e5b0ccfb81f717a722539a3f1e6b028
|
3 |
+
size 636725760
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_1.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:452b54d03b7acfadce3923a2318d4caf51636541a439dd9b0ccb466ba919bbb6
|
3 |
+
size 701377024
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df37a67ee564abfc407ea5429f43f4d53b81f038fb4a077eacaacfa171a6fab8
|
3 |
+
size 667814400
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df37a67ee564abfc407ea5429f43f4d53b81f038fb4a077eacaacfa171a6fab8
|
3 |
+
size 667814400
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb728044a2a6c56eb5d62e0bcfbf29d2416d318951531f3a8ed3b324207b1dea
|
3 |
+
size 642755072
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe46c4815610bc23931cb9433c42433d7428bb3d2d63f0ea24b5a70a6f9bdc0f
|
3 |
+
size 766028288
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_1.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:683b54f65f700eef14ee5670a78cad22bec36c411c8717d8cd005953016da19b
|
3 |
+
size 830679552
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55e9c23379f685c70035d82053304f8c54f48503f519395dcb2b37f4c4abc4fe
|
3 |
+
size 782043648
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55e9c23379f685c70035d82053304f8c54f48503f519395dcb2b37f4c4abc4fe
|
3 |
+
size 782043648
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36bc5584c04e02804c86c04abda9d65d4184193884ca7a10d5189159d9c3ef9f
|
3 |
+
size 766028288
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b575dbc3bc60778391d88773c1a9b378b1151c7c0f07555cf57458fce1bb2b4
|
3 |
+
size 903412224
|
TinyLlama-1.1B-intermediate-step-1431k-3T-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0d33d3a11e408e5e7c6c828d540dc5512bc572ff657b4a3a7b19b85653d1f9d
|
3 |
+
size 90849280
|
TinyLlama-1.1B-intermediate-step-1431k-3T-f16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b557d85602f42f7a68baad804bd25fd2bc98166443424d197e8b25d2c84d8e71
|
3 |
+
size 2201016800
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 1,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"hidden_act": "silu",
|
8 |
+
"hidden_size": 2048,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 5632,
|
11 |
+
"max_position_embeddings": 2048,
|
12 |
+
"model_type": "llama",
|
13 |
+
"num_attention_heads": 32,
|
14 |
+
"num_hidden_layers": 22,
|
15 |
+
"num_key_value_heads": 4,
|
16 |
+
"pretraining_tp": 1,
|
17 |
+
"rms_norm_eps": 1e-05,
|
18 |
+
"rope_scaling": null,
|
19 |
+
"tie_word_embeddings": false,
|
20 |
+
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.31.0.dev0",
|
22 |
+
"use_cache": true,
|
23 |
+
"vocab_size": 32000
|
24 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"eos_token_id": 2,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"max_length": 2048,
|
6 |
+
"transformers_version": "4.31.0.dev0"
|
7 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"bos_token": {
|
5 |
+
"__type": "AddedToken",
|
6 |
+
"content": "<s>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"clean_up_tokenization_spaces": false,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"legacy": false,
|
22 |
+
"model_max_length": 1000000000000000019884624838656,
|
23 |
+
"pad_token": null,
|
24 |
+
"padding_side": "right",
|
25 |
+
"sp_model_kwargs": {},
|
26 |
+
"tokenizer_class": "LlamaTokenizer",
|
27 |
+
"unk_token": {
|
28 |
+
"__type": "AddedToken",
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false
|
34 |
+
}
|
35 |
+
}
|