Text Generation
Transformers
Safetensors
English
pretrained-from-scratch
causal-lm
gpt
rope
swiglu
grouped-query-attention
Instructions to use Dikshan1234/LLMPretrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dikshan1234/LLMPretrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Dikshan1234/LLMPretrain")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Dikshan1234/LLMPretrain", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Dikshan1234/LLMPretrain with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Dikshan1234/LLMPretrain" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dikshan1234/LLMPretrain", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Dikshan1234/LLMPretrain
- SGLang
How to use Dikshan1234/LLMPretrain with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Dikshan1234/LLMPretrain" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dikshan1234/LLMPretrain", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Dikshan1234/LLMPretrain" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Dikshan1234/LLMPretrain", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Dikshan1234/LLMPretrain with Docker Model Runner:
docker model run hf.co/Dikshan1234/LLMPretrain
Update samples
Browse files- samples/latest.txt +231 -75
samples/latest.txt
CHANGED
|
@@ -1,110 +1,266 @@
|
|
| 1 |
-
===== step
|
| 2 |
|
| 3 |
--- [greedy] 'Once upon a time'
|
| 4 |
-
Once upon a time,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
--- [t=0.8] 'Once upon a time'
|
| 7 |
-
Once upon a time
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
--- [greedy] 'The capital of France is'
|
| 10 |
-
The capital of France is
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
The capital of France is Paris.
|
| 24 |
-
The capital of France is Paris.
|
| 25 |
-
The capital of France is
|
| 26 |
|
| 27 |
--- [t=0.8] 'The capital of France is'
|
| 28 |
-
The capital of France is divided
|
| 29 |
-
|
| 30 |
-
|
|
|
|
| 31 |
|
| 32 |
--- [greedy] 'In 1969, humans first'
|
| 33 |
-
In 1969, humans first began to use fire to
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
--- [t=0.8] 'In 1969, humans first'
|
| 39 |
-
In 1969, humans first
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
In
|
| 43 |
-
In 1972, Pope Paul VI called for the introduction of a universal basic income (UBI).
|
| 44 |
-
In 1974, the United States became the first country to build a nuclear weapon—first on December 2, 1974.
|
| 45 |
-
In 1971, the United Kingdom held a referendum on independence from the United States. The result of the
|
| 46 |
|
| 47 |
--- [greedy] 'The three states of matter are'
|
| 48 |
-
The three states of matter are
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
--- [t=0.8] 'The three states of matter are'
|
| 53 |
-
The three states of matter are
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
--- [greedy] 'def fibonacci(n):'
|
| 59 |
def fibonacci(n):
|
| 60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
--- [t=0.8] 'def fibonacci(n):'
|
| 63 |
-
def fibonacci(n):
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
--- [greedy] 'Photosynthesis is the process by which'
|
| 70 |
-
Photosynthesis is the process by which plants convert
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
|
|
|
| 75 |
|
| 76 |
--- [t=0.8] 'Photosynthesis is the process by which'
|
| 77 |
-
Photosynthesis is the process by which plants
|
| 78 |
-
|
|
|
|
|
|
|
|
|
|
| 79 |
|
| 80 |
--- [greedy] 'Question: Why is the sky blue?\nAnswer:'
|
| 81 |
Question: Why is the sky blue?
|
| 82 |
-
Answer: The sky is
|
| 83 |
-
The
|
| 84 |
-
The
|
| 85 |
-
The
|
| 86 |
-
The
|
| 87 |
-
The
|
| 88 |
-
The
|
| 89 |
-
The
|
| 90 |
|
| 91 |
--- [t=0.8] 'Question: Why is the sky blue?\nAnswer:'
|
| 92 |
Question: Why is the sky blue?
|
| 93 |
-
Answer:
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
The
|
| 98 |
-
|
| 99 |
|
| 100 |
--- [greedy] 'The most important thing to remember is'
|
| 101 |
-
The most important thing to remember is that the information you
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
|
| 107 |
--- [t=0.8] 'The most important thing to remember is'
|
| 108 |
-
The most important thing to remember is that
|
| 109 |
-
|
| 110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===== step 75000 =====
|
| 2 |
|
| 3 |
--- [greedy] 'Once upon a time'
|
| 4 |
+
Once upon a time, the world will be a different place.
|
| 5 |
+
The world will be a different place.
|
| 6 |
+
The world will be a different place.
|
| 7 |
+
The world will be a different place.
|
| 8 |
+
The world will be a different place.
|
| 9 |
+
The world will be a different place.
|
| 10 |
+
The world will be a different place.
|
| 11 |
+
The world will be a different place.
|
| 12 |
+
The world will be a different place.
|
| 13 |
+
The world will be a different place.
|
| 14 |
+
The world will be a different place.
|
| 15 |
+
The world will be a different place.
|
| 16 |
+
The world will be a different place.
|
| 17 |
+
The world
|
| 18 |
|
| 19 |
--- [t=0.8] 'Once upon a time'
|
| 20 |
+
Once upon a time period of thirty-five years beginning October 1, 2021, the Company shall pay
|
| 21 |
+
to the holder, an amount equal to 10% of the net
|
| 22 |
+
revenues derived from the operation of the Company’s water resource and water storage assets for the period from October 1, 2021
|
| 23 |
+
(Commencement of the Operations) to July 31, 2022, $ 4.0 million.
|
| 24 |
+
The Company accrued a liability of $ 3.6 million to
|
| 25 |
+
its affiliate at their estimated fair value as of June
|
| 26 |
+
30, 2021. The Company recorded $ 3.8 million in “General and administrative” expense as
|
| 27 |
|
| 28 |
--- [greedy] 'The capital of France is'
|
| 29 |
+
The capital of France is divided into three parts:
|
| 30 |
+
|
| 31 |
+
•
|
| 32 |
+
|
| 33 |
+
the first part consists of the capital of the country, which is divided into 100 parities, or légions, and is divided into 100,000,000 légions, or mélanges, each with a capital of €1,000,000,000;
|
| 34 |
+
|
| 35 |
+
•
|
| 36 |
+
|
| 37 |
+
the second part consists of the capital of the country, which is divided into 100,000,000 légions, each with a capital of €1,000,000,000; and
|
| 38 |
+
|
| 39 |
+
•
|
| 40 |
+
|
| 41 |
+
the
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
--- [t=0.8] 'The capital of France is'
|
| 44 |
+
The capital of France is divided in four equal parts: a majority of voting shares is required to approve any issuance of shares to the public in excess of 90% of the voting shares issued and outstanding at the time of the issuance or issuance, and 75% of the voting shares issued and outstanding at the time of the issuance. The capital of the United States is divided into common stock, one-tenth of which should be held by United States residents and one-tenth held by non-United States residents.
|
| 45 |
+
The following is a description of the common stock of France and United States together.
|
| 46 |
+
Common Stock
|
| 47 |
+
-
|
| 48 |
|
| 49 |
--- [greedy] 'In 1969, humans first'
|
| 50 |
+
In 1969, humans first began to use fire to clear land. The first fire was used in the Middle East, and the first fire in the United States was used in the early 1900s.
|
| 51 |
+
The first fire in the United States was used in the early 1900s.
|
| 52 |
+
The first fire in the United States was used in the early 1900s.
|
| 53 |
+
The first fire in the United States was used in the early 1900s.
|
| 54 |
+
The first fire in the United States was used in the early 1900s.
|
| 55 |
+
The first fire in the United States was used in the early 1900s.
|
| 56 |
+
The first fire in the
|
| 57 |
|
| 58 |
--- [t=0.8] 'In 1969, humans first'
|
| 59 |
+
In 1969, humans first began to learn to walk on two legs. Many of our ancestors went about their daily activities on two legs.
|
| 60 |
+
It is important to remember that humans evolved these two legs about 100,000 years ago. There is a huge difference between human beings and apes, and we are very different.
|
| 61 |
+
Our two legs were very helpful for the first time, but later on we began to use them to help us walk on two legs.
|
| 62 |
+
In many cases these two legs are not used only for walking but also for running, swimming, climbing and climbing. But, now we are using them only for
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
--- [greedy] 'The three states of matter are'
|
| 65 |
+
The three states of matter are the following:
|
| 66 |
+
|
| 67 |
+
•
|
| 68 |
+
|
| 69 |
+
The state of matter is the state of matter in which the matter is contained.
|
| 70 |
+
|
| 71 |
+
•
|
| 72 |
+
|
| 73 |
+
The state of matter is the state of matter in which the matter is contained.
|
| 74 |
+
|
| 75 |
+
•
|
| 76 |
+
|
| 77 |
+
The state of matter is the state of matter in which the matter is contained.
|
| 78 |
+
|
| 79 |
+
The state of matter is the state of matter in which the matter is contained.
|
| 80 |
+
|
| 81 |
+
The state of matter is the state of matter in which the matter is contained.
|
| 82 |
+
|
| 83 |
+
The state of matter is the state of matter in which the matter is contained.
|
| 84 |
|
| 85 |
--- [t=0.8] 'The three states of matter are'
|
| 86 |
+
The three states of matter are as follows:
|
| 87 |
+
|
| 88 |
+
•
|
| 89 |
+
|
| 90 |
+
The earth is the center of matter.
|
| 91 |
+
|
| 92 |
+
•
|
| 93 |
+
|
| 94 |
+
The universe is the center of matter, and all matter is material.
|
| 95 |
+
|
| 96 |
+
•
|
| 97 |
+
|
| 98 |
+
The most important physical processes happen at the center of the universe.
|
| 99 |
+
|
| 100 |
+
As shown above, every physical process is unique and cannot occur at the center of matter. However, the physical processes can be grouped into two major categories: dark energy and dark matter. As of 2012, total dark energy was estimated to be 6.0 trillion trillionths of a trillion trillionths of a trillion.
|
| 101 |
+
|
| 102 |
+
|
| 103 |
|
| 104 |
--- [greedy] 'def fibonacci(n):'
|
| 105 |
def fibonacci(n):
|
| 106 |
+
|
| 107 |
+
(i)
|
| 108 |
+
|
| 109 |
+
Definitions:
|
| 110 |
+
|
| 111 |
+
(a)
|
| 112 |
+
|
| 113 |
+
Definitions:
|
| 114 |
+
|
| 115 |
+
(i)
|
| 116 |
+
|
| 117 |
+
Definitions:
|
| 118 |
+
|
| 119 |
+
(a)
|
| 120 |
+
|
| 121 |
+
Definitions:
|
| 122 |
+
|
| 123 |
+
(i)
|
| 124 |
+
|
| 125 |
+
Definitions:
|
| 126 |
+
|
| 127 |
+
(a)
|
| 128 |
+
|
| 129 |
+
Definitions:
|
| 130 |
+
|
| 131 |
+
(a)
|
| 132 |
+
|
| 133 |
+
Definitions:
|
| 134 |
+
|
| 135 |
+
(a)
|
| 136 |
+
|
| 137 |
+
Definitions:
|
| 138 |
+
|
| 139 |
+
(a)
|
| 140 |
+
|
| 141 |
+
Definitions:
|
| 142 |
+
|
| 143 |
+
(a)
|
| 144 |
+
|
| 145 |
+
Definitions:
|
| 146 |
+
|
| 147 |
+
(a)
|
| 148 |
+
|
| 149 |
+
Definitions:
|
| 150 |
+
|
| 151 |
+
(a)
|
| 152 |
+
|
| 153 |
+
Definitions:
|
| 154 |
|
| 155 |
--- [t=0.8] 'def fibonacci(n):'
|
| 156 |
+
def fibonacci(n):
|
| 157 |
+
X
|
| 158 |
+
|
| 159 |
+
—
|
| 160 |
+
|
| 161 |
+
—
|
| 162 |
+
|
| 163 |
+
—
|
| 164 |
+
|
| 165 |
+
(1,441,666
|
| 166 |
+
)
|
| 167 |
+
|
| 168 |
+
—
|
| 169 |
+
|
| 170 |
+
—
|
| 171 |
+
|
| 172 |
+
—
|
| 173 |
+
|
| 174 |
+
—
|
| 175 |
+
|
| 176 |
+
(1,441,666
|
| 177 |
+
)
|
| 178 |
+
|
| 179 |
+
—
|
| 180 |
+
|
| 181 |
+
(1,441,666
|
| 182 |
+
)
|
| 183 |
+
|
| 184 |
+
Foreign currency translation adjustment, net of income taxes
|
| 185 |
+
—
|
| 186 |
+
|
| 187 |
+
—
|
| 188 |
+
|
| 189 |
+
—
|
| 190 |
+
|
| 191 |
+
—
|
| 192 |
+
|
| 193 |
+
—
|
| 194 |
+
|
| 195 |
+
—
|
| 196 |
+
|
| 197 |
+
—
|
| 198 |
+
|
| 199 |
+
—
|
| 200 |
+
|
| 201 |
+
(4,251
|
| 202 |
+
)
|
| 203 |
+
|
| 204 |
+
—
|
| 205 |
+
|
| 206 |
+
(4,251
|
| 207 |
+
)
|
| 208 |
+
|
| 209 |
+
Balance at December 31, 2020
|
| 210 |
+
15,
|
| 211 |
|
| 212 |
--- [greedy] 'Photosynthesis is the process by which'
|
| 213 |
+
Photosynthesis is the process by which plants convert sunlight into energy. This process is known as photosynthesis.
|
| 214 |
+
Photosynthesis is the process by which plants convert sunlight into energy. This process is known as photosynthesis.
|
| 215 |
+
Photosynthesis is the process by which plants convert sunlight into energy. This process is known as photosynthesis.
|
| 216 |
+
Photosynthesis is the process by which plants convert sunlight into energy. This process is known as photosynthesis.
|
| 217 |
+
Photosynthesis is the process by which plants convert sunlight into energy. This process is known as photosynthesis.
|
| 218 |
+
Photosynthesis is the process by which plants convert sunlight into energy. This process is known
|
| 219 |
|
| 220 |
--- [t=0.8] 'Photosynthesis is the process by which'
|
| 221 |
+
Photosynthesis is the process by which plants convert sunlight into sugar using chlorophyll in the green light-tolerant photosynthetic chlorophyll.
|
| 222 |
+
Synthetic photosynthesis has an extremely high yield of biomass per unit area, making it a key process influencing future production of biofuels.
|
| 223 |
+
The photosynthetic production of biomass is a major component in the process through which plants can convert energy from sunlight to create biomass that can be converted into biofuels.
|
| 224 |
+
However, due to its high cost and limited availability, synthetic photosynthesis is frequently not used in the production of biofuels.
|
| 225 |
+
A new approach to this issue is found through the use of integrated photos
|
| 226 |
|
| 227 |
--- [greedy] 'Question: Why is the sky blue?\nAnswer:'
|
| 228 |
Question: Why is the sky blue?
|
| 229 |
+
Answer: The sky blue is a result of the blue light that is reflected from the Earth’s surface.
|
| 230 |
+
The blue light is reflected from the Earth’s surface to the sky.
|
| 231 |
+
The blue light is reflected from the Earth’s surface to the sky.
|
| 232 |
+
The blue light is reflected from the Earth’s surface to the sky.
|
| 233 |
+
The blue light is reflected from the Earth’s surface to the sky.
|
| 234 |
+
The blue light is reflected from the Earth’s surface to the sky.
|
| 235 |
+
The blue light is reflected from the Earth’s surface to the sky.
|
| 236 |
+
The blue light
|
| 237 |
|
| 238 |
--- [t=0.8] 'Question: Why is the sky blue?\nAnswer:'
|
| 239 |
Question: Why is the sky blue?
|
| 240 |
+
Answer: Water is blue because of sunlight hitting the Earth and its atmosphere.
|
| 241 |
+
It also reflects blue light, which is reflected back to the Earth.
|
| 242 |
+
But there is a limit for the amount of sunlight reaching the Earth’s surface, because Earth’s atmosphere is opaque to sunlight.
|
| 243 |
+
Because the Earth’s atmosphere is opaque, there is less of a reflection of blue light back to the planet.
|
| 244 |
+
The reason for this is that the Earth’s blue space is a mirror image of the Earth.
|
| 245 |
+
As a result of this, blue space reflects sunlight back to the Earth and then
|
| 246 |
|
| 247 |
--- [greedy] 'The most important thing to remember is'
|
| 248 |
+
The most important thing to remember is that the information you provide is not the only information you need.
|
| 249 |
+
The information you provide is not the only information you need.
|
| 250 |
+
The information you provide is not the only information you need.
|
| 251 |
+
The information you provide is not the only information you need.
|
| 252 |
+
The information you provide is not the only information you need.
|
| 253 |
+
The information you provide is not the only information you need.
|
| 254 |
+
The information you provide is not the only information you need.
|
| 255 |
+
The information you provide is not the only information you need.
|
| 256 |
+
The information you provide is not the only information you need.
|
| 257 |
+
The information
|
| 258 |
|
| 259 |
--- [t=0.8] 'The most important thing to remember is'
|
| 260 |
+
The most important thing to remember is that we need to look at the results in a different way – we may be getting similar results, or different results.
|
| 261 |
+
How to calculate a percentage?
|
| 262 |
+
For the first few steps of calculating a percentage, we will use a calculator called the “Percentage Formula”.
|
| 263 |
+
It allows you to calculate percentages, and then a formula gives you the results.
|
| 264 |
+
For the second part of this, we will have to use the absolute value formula.
|
| 265 |
+
The first part is a few steps, and the calculation is to calculate the value of the fraction.
|
| 266 |
+
The second part is a few steps, and
|